joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401910
Capabilities:
Set current directory

Disassembly:
jmp 0x40c2f0
push 0xffffffffffffffff
push 0x49b5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4caff4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
call fcn.004291c7
test byte [0x4cd10c], 1
mov dword [esp + 0x38], 0
jne 0x40c374
or dword [0x4cd10c], 1
call fcn.004281c4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c356
push 0x80004005
call fcn.004017c6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4a3510
mov dword [0x4cd108], eax
call fcn.0045372e
add esp, 4
mov ecx, dword [esp + 0x40]
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00429253
test eax, eax
je 0x40c4a6
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0x18]
call fcn.00428e3a
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], eax
call fcn.004293f2
mov ecx, dword [eax]
mov esi, dword [0x4cd108]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x38], 1
je 0x40c40c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40c3fd
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40c3fd
push eax
call fcn.00401276
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40c3f2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [0x4cd108], ebp
jmp 0x40c40c
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4cd108
call fcn.00401055
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c431
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
call eax
test eax, eax
je 0x40c49b
lea ecx, [esp + 0x18]
call fcn.0042918e
test eax, eax
jne 0x40c49b
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
push 2
lea ecx, [esp + 0x1c]
call eax
test eax, eax
jne 0x40c49b
push 0x4cd108
mov ecx, ebx
call fcn.00401366
mov ecx, dword [0x4cd108]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ecx
call esi
mov ecx, dword [esp + 0x14]
push 0
push ebx
push 0
call fcn.00401910
cmp dword [esp + 0x48], 0
jne 0x40c49b
push 0x4a6ec8
call esi
cmp dword [esp + 0x44], 0
jne 0x40c390
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004291eb
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
Function at 0x4019b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x403340
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403359
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403394
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403390
lea ebx, [ebx]
cmp esi, eax
jae 0x403394
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403380
cmp esi, eax
jb 0x40339a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401a0a
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
jmp 0x405540
push ecx
mov eax, dword [ecx + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x405643
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, dword [esp + 0x1c]
xor eax, eax
xor ecx, ecx
test ebx, ebx
jle 0x405585
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov edx, dword [edx + eax*4]
mov edx, dword [edx - 0xc]
add eax, 1
cmp eax, ebx
lea ecx, [ecx + edx + 2]
jl 0x405570
push ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov esi, ebp
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x4055a8
mov eax, 1
cmp ebx, eax
jle 0x405629
nop
mov ecx, ebp
add ecx, 0xffffffff
mov dl, byte [ecx + 1]
add ecx, 1
test dl, dl
jne 0x4055c5
mov dx, word [0x4a672c]
mov word [ecx], dx
mov dl, byte [0x4a672e]
mov byte [ecx + 2], dl
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + eax*4]
mov edx, ecx
jmp 0x4055f0
mov bl, byte [ecx]
add ecx, 1
test bl, bl
jne 0x4055f0
sub ecx, edx
mov edi, ebp
mov esi, edx
mov edx, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x405604
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add eax, 1
cmp eax, dword [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
jl 0x4055c0
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x406430
Capabilities:
Write file on windows

Disassembly:
jmp 0x406430
push 0xffffffffffffffff
push 0x49afb8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4caff4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.004281c4
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x406471
push 0x80004005
call fcn.004017c6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
push 0x4a6734
push ecx
mov dword [esp + 0x28], ebp
call fcn.00452c0a
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x4064b0
push 0x4be528
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], ebp
call fcn.004517ae
mov edi, dword [esp + 0x2c]
push esi
push 2
add edi, 4
push 1
push edi
call fcn.00452d87
push esi
call fcn.00452855
add esp, 0x14
test eax, eax
je 0x4064e6
push 0x4be528
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 5
call fcn.004517ae
cmp word [edi], bp
mov dword [esp + 0x28], ebp
jb 0x40659f
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 8]
push esi
push 2
add edi, ebp
push 1
push edi
call fcn.00452d87
push esi
call fcn.00452884
add esp, 0x14
test eax, eax
jne 0x4065c9
push esi
push 2
lea ebx, [edi + 2]
push 1
push ebx
call fcn.00452d87
push esi
call fcn.00452884
add esp, 0x14
test eax, eax
jne 0x4065e0
movzx eax, word [ebx]
test ax, ax
jbe 0x406560
push esi
movzx edx, ax
mov eax, dword [edi + 0xc]
push 1
push edx
push eax
call fcn.00452d87
push esi
call fcn.00452884
add esp, 0x14
test eax, eax
jne 0x4065f7
push esi
push 4
push 1
add edi, 8
push edi
call fcn.00452d87
push esi
call fcn.00452884
add esp, 0x14
test eax, eax
jne 0x40660e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add ecx, 4
movzx ecx, word [ecx]
add eax, 1
add ebp, 0x10
cmp eax, ecx
mov dword [esp + 0x28], eax
jle 0x4064f3
push esi
call fcn.004527d9
push esi
call fcn.00452855
add esp, 8
test eax, eax
je 0x406625
push 0x4be528
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 6
call fcn.004517ae
push 0x4be528
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 5
call fcn.004517ae
push 0x4be528
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 5
call fcn.004517ae
push 0x4be528
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], 5
call fcn.004517ae
push 0x4be528
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 5
call fcn.004517ae
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40664d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x40c2f0
Capabilities:
Set current directory

Disassembly:
jmp 0x40c2f0
push 0xffffffffffffffff
push 0x49b5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4caff4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
call fcn.004291c7
test byte [0x4cd10c], 1
mov dword [esp + 0x38], 0
jne 0x40c374
or dword [0x4cd10c], 1
call fcn.004281c4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c356
push 0x80004005
call fcn.004017c6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4a3510
mov dword [0x4cd108], eax
call fcn.0045372e
add esp, 4
mov ecx, dword [esp + 0x40]
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00429253
test eax, eax
je 0x40c4a6
mov ebx, dword [esp + 0x44]
lea ecx, [esp + 0x18]
call fcn.00428e3a
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], eax
call fcn.004293f2
mov ecx, dword [eax]
mov esi, dword [0x4cd108]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x38], 1
je 0x40c40c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40c3fd
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40c3fd
push eax
call fcn.00401276
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40c3f2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [0x4cd108], ebp
jmp 0x40c40c
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4cd108
call fcn.00401055
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c431
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x1c]
call eax
test eax, eax
je 0x40c49b
lea ecx, [esp + 0x18]
call fcn.0042918e
test eax, eax
jne 0x40c49b
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
push 2
lea ecx, [esp + 0x1c]
call eax
test eax, eax
jne 0x40c49b
push 0x4cd108
mov ecx, ebx
call fcn.00401366
mov ecx, dword [0x4cd108]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ecx
call esi
mov ecx, dword [esp + 0x14]
push 0
push ebx
push 0
call fcn.00401910
cmp dword [esp + 0x48], 0
jne 0x40c49b
push 0x4a6ec8
call esi
cmp dword [esp + 0x44], 0
jne 0x40c390
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004291eb
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
Function at 0x40ed80
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
jmp 0x40ed80
sub esp, 0x210
mov eax, dword [0x4caff4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
mov esi, dword [esp + 0x22c]
push edi
xor edi, edi
xor ecx, ecx
mov eax, ecx
cdq
idiv esi
mov byte [esp + ecx + 0x1c], cl
add ecx, 1
cmp ecx, 0x100
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x11b], al
jl 0x40edb1
xor esi, esi
mov al, byte [esp + esi + 0x1c]
movzx ecx, byte [esp + esi + 0x11c]
movzx edx, al
add ecx, edi
add edx, ecx
mov edi, edx
and edi, 0x800000ff
jns 0x40edf6
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x1c]
mov byte [esp + edi + 0x1c], al
mov byte [esp + esi + 0x1c], cl
add esi, 1
cmp esi, 0x100
jl 0x40edd1
mov eax, dword [esp + 0x228]
xor ebx, ebx
test eax, eax
jle 0x40ef12
mov ecx, dword [esp + 0x224]
sub ecx, ebp
mov dword [esp + 0x10], ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
lea esp, [esp]
add esi, 1
and esi, 0x800000ff
jns 0x40ee53
dec esi
or esi, 0xffffff00
inc esi
movzx eax, byte [esp + esi + 0x1c]
add ebx, eax
and ebx, 0x800000ff
jns 0x40ee6a
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x1c]
mov cl, byte [esp + esi + 0x1c]
mov byte [esp + ebx + 0x1c], cl
mov byte [esp + esi + 0x1c], al
movzx edx, byte [esp + ebx + 0x1c]
movzx edi, al
add edi, edx
and edi, 0x800000ff
jns 0x40ee94
dec edi
or edi, 0xffffff00
inc edi
push 0
push 0
push 0x28e
push 0
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40eec1
call dword [sym.imp.USER32.dll_InSendMessage]
test eax, eax
je 0x40eeee
push 0
push 0
push 0x41
push 0
call ebp
jmp 0x40eeee
push 0
push 0
push 0
push 0
push 0xf
push 0x311
push 0x36c
push 0x43
push 0x800000
push str.t6786tgdgfdfgdhgfhgd
push str.csfdghsfghdqf
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx + eax]
xor dl, byte [esp + edi + 0x1c]
add eax, 1
sub dword [esp + 0x14], 1
mov byte [eax - 1], dl
mov dword [esp + 0x10], eax
jne 0x40ee40
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00451541
add esp, 0x210
ret
Function at 0x4167dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00422c3e
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x416807
xor eax, eax
jmp 0x4168ab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x416800
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x416800
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410be2
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x41685c
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x41684b
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.004152ea
push edi
mov ebx, eax
call fcn.00410c0d
test ebx, ebx
pop ecx
je 0x41689e
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.00415b57
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00415c73
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x41b5b1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41b5ea
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041b531
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00413170
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41d500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41d543
call fcn.00422c3e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d543
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d55e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041d0b7
test ebx, ebx
mov esi, eax
je 0x41d55c
test edi, edi
je 0x41d55c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41e702
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x49c5dc
call fcn.00454ebb
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41e727
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41e773
call fcn.004281c4
push eax
lea ecx, [ebp - 0x10]
call fcn.004017da
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041dc96
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040177b
mov eax, esi
call fcn.00454f93
ret 8

Function at 0x42d64b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x42d691
call fcn.00422c3e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42d691
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x42d6d4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x42d6bd
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42d6bd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42d6d1
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x451541
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4caff4]
jne 0x45154b
repz ret
jmp fcn.0045bdfc
Function at 0x473ef7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045b7a3
xor ebx, ebx
cmp dword [0x4cfb48], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x473fcc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x473f37
xor eax, eax
jmp 0x474090
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x473f30
push eax
call fcn.0045b740
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4cfb48], eax
call esi
push eax
call fcn.0045b740
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4cfb4c], eax
call esi
push eax
call fcn.0045b740
mov dword [0x4cfb50], eax
lea eax, [ebp - 8]
push eax
call fcn.004587fe
test eax, eax
pop ecx
pop ecx
je 0x473f9a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00451802
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x473fcc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045b740
cmp eax, ebx
pop ecx
mov dword [0x4cfb58], eax
je 0x473fcc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045b740
pop ecx
mov dword [0x4cfb54], eax
mov eax, dword [0x4cfb54]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x474045
cmp dword [0x4cfb58], esi
je 0x474045
push eax
call fcn.0045b7ac
pop ecx
call eax
cmp eax, ebx
je 0x474012
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4cfb58]
call fcn.0045b7ac
pop ecx
call eax
test eax, eax
je 0x474012
test byte [ebp - 0x18], 1
jne 0x474045
lea eax, [ebp - 0xc]
push eax
call fcn.004588ad
test eax, eax
pop ecx
je 0x47402d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00451802
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x47403c
or dword [ebp + 0x10], 0x200000
jmp 0x474076
or dword [ebp + 0x10], 0x40000
jmp 0x474076
mov eax, dword [0x4cfb4c]
cmp eax, esi
je 0x474076
push eax
call fcn.0045b7ac
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x474076
mov eax, dword [0x4cfb50]
cmp eax, esi
je 0x474076
push dword [ebp - 4]
push eax
call fcn.0045b7ac
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4cfb48]
call fcn.0045b7ac
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47e1eb
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4caff4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0047e063
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00454a40
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47e23a
cmp dword [ebp - 0x1c], 5
jb 0x47e252
jmp 0x47e24e
cmp dword [ebp - 0x10], 1
jne 0x47e252
cmp dword [ebp - 0x1c], 4
ja 0x47e24e
jne 0x47e252
cmp dword [ebp - 0x18], 0
jbe 0x47e252
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4b5a9c
call fcn.0047de20
test eax, eax
jge 0x47e273
mov byte [0x4cd110], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00451541
add ebp, 0x78
leave
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219