joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fd240
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x519170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004f217b
mov eax, dword [0x6297e0]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004f20ad
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004fdd30
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4fd2e7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4fd2de
cmp al, 0xff
je 0x4fd2de
dec al
mov byte [ecx], al
jmp 0x4fd2e7
push ecx
call fcn.0050701c
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4fd318
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4fd30f
cmp al, 0xff
je 0x4fd30f
dec al
mov byte [ecx], al
jmp 0x4fd318
push ecx
call fcn.0050701c
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x50967a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5096b2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0050770d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005076e5
jmp 0x5096be
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x50ad6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x50adad
call fcn.00511266
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x50adad
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x50ada4
xor eax, eax
jmp 0x50adb5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0050adbb
pop edi
pop esi
pop ebx
ret 4
Function at 0x4018f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4439e6
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x456580]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
mov eax, dword [0x456580]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
push 0
push 0x66
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.004138f6
lea eax, [esi + 0x78]
mov dword [esp + 0x220], 0
push eax
mov dword [esi], vtable.CAutorunDlg.0
call fcn.00409810
lea ecx, [esi + 0x100]
push ecx
mov byte [esp + 0x224], 1
call fcn.00408b50
lea edx, [esi + 0xbc4]
push edx
mov byte [esp + 0x224], 2
call fcn.004085a0
mov byte [esp + 0x220], 3
mov edx, dword [0x449b90]
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [0x449b8c]
stosw word es:[edi], ax
mov eax, dword [0x449b88]
mov dword [esp + 0x14], eax
mov eax, dword [0x449b94]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x449b98]
mov dword [esp + 0x1c], edx
mov edx, dword [0x449b9c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.00414236
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4019e4
push 0x80004005
call fcn.004016c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
xor eax, eax
mov byte [esp + 0x220], 4
mov ecx, 0x100
mov edi, 0x45aa70
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x200
push 0x45aa70
push eax
push 0x449d0c
push str.ICON
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x45aa70
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401a32
sub eax, edx
sar eax, 1
push eax
push 0x45aa70
lea ecx, [esp + 0x14]
call fcn.00401340
mov edi, dword [esp + 0xc]
push 0x10
push 0x30
push 0x30
push 1
push edi
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
mov dword [esi + 0x74], eax
jne 0x401a88
call fcn.00416088
call fcn.00416088
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0x74], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x220], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0042c343
add esp, 0x21c
ret
Function at 0x408480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
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 0x408499
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4084d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4084d0
lea ebx, [ebx]
cmp esi, eax
jae 0x4084d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4084c0
cmp esi, eax
jb 0x4084da
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 0x40caf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x442b68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x456580]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CBitmap.0
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
push eax
call fcn.00419e46
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call ebx
push eax
call fcn.00419e46
mov ecx, eax
call fcn.00417216
lea ebx, [esi + 0x64]
mov ecx, ebx
call fcn.004174f8
test edi, edi
jne 0x40cb7a
xor eax, eax
jmp 0x40cb7d
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.00417494
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x14]
call fcn.0041775b
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x68]
push eax
push ecx
call fcn.004177e0
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
push 0xcc0020
push edx
push ebx
push edi
sub eax, edx
mov edx, dword [esi + 0x68]
push eax
sub ecx, ebx
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x10]
call fcn.004177ae
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.004177ae
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x28
ret
Function at 0x40d420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442ae0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push edi
mov eax, dword [0x456580]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], vtable.CFont.0
mov byte [esp + 0x24], 1
mov eax, dword [edi + 0x90]
push eax
push 0x20
mov ecx, dword [edi + 0xa4]
push edx
push edx
push edx
push edx
push edx
push edx
push edx
push 0x320
push edx
push edx
push edx
push ecx
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
lea ecx, [esp + 0x14]
call fcn.0041775b
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0x8c]
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
push 1
mov ecx, esi
call fcn.00416df7
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [esi]
push 0x10
add edi, 0x94
push edi
push eax
mov eax, dword [edx + 0x68]
push ebp
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push ebx
mov ecx, esi
call eax
lea ecx, [esp + 0x10]
call fcn.004177ae
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.004177ae
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d51f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x40e220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [ebx + 0x78]
lea ebp, [ebx + 0x74]
push edi
xor edi, edi
cmp esi, dword [ebp + 8]
mov dword [esp + 0x24], edi
jbe 0x40e241
call fcn.0042cef1
mov eax, dword [ebx + 0xcc]
mov ebx, dword [eax + 0x88]
mov eax, dword [ebx + 0x1c]
test eax, eax
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
jle 0x40e33b
add ebx, 0x24
mov dword [esp + 0x18], eax
jmp 0x40e270
mov edi, dword [ebp + 8]
cmp dword [ebp + 4], edi
jbe 0x40e27d
call fcn.0042cef1
cmp ebp, ebp
je 0x40e286
call fcn.0042cef1
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x40e329
cmp eax, dword [ebp + 8]
mov edi, ebp
mov esi, eax
jb 0x40e2a0
call fcn.0042cef1
add dword [esp + 0x2c], 4
test edi, edi
jne 0x40e2ae
call fcn.0042cef1
cmp esi, dword [edi + 8]
jb 0x40e2b8
call fcn.0042cef1
mov ecx, dword [esi]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0041632d
mov edx, dword [esp + 0x1c]
push 4
push 0
mov esi, eax
mov eax, dword [esp + 0x2c]
push 0
push eax
push 0
push 0
mov ecx, esi
mov dword [esi + 0x88], edx
call fcn.00416684
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebx - 4]
push ecx
push edx
push esi
call fcn.0040c4f0
push 5
mov ecx, esi
call fcn.00416475
mov edi, dword [esi + 0x60]
xor eax, eax
cmp edi, eax
je 0x40e325
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x40e321
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x24], eax
add ebx, 0x10
sub dword [esp + 0x18], 1
jne 0x40e270
mov edi, dword [esp + 0x24]
mov esi, dword [esi + 0x60]
xor eax, eax
cmp esi, eax
je 0x40e361
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
push edx
push eax
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x40e35d
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [edx], edi
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
add esp, 0x20
ret 0xc

Function at 0x411180
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x410
mov eax, dword [0x456580]
xor eax, esp
mov dword [esp + 0x40c], eax
push 0
push 0
push 0
lea eax, [esp + 0x18]
push 0x44bba4
push eax
call fcn.0042cf90
add esp, 0x14
push esi
push 0xff
lea ecx, [esp + 0x214]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push str.MESSAGEBOX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x218]
push 0x44bba4
push eax
call fcn.0042d151
movzx ecx, byte [esp + 0x14]
xor eax, eax
mov ah, byte [esp + 0x18]
add esp, 0x14
mov al, byte [esp + 8]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0042c343
add esp, 0x410
ret
Function at 0x411220
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x404
mov eax, dword [0x456580]
xor eax, esp
mov dword [esp + 0x400], eax
push ebp
mov ebp, dword [esp + 0x40c]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push str.RECT__d__d__d__d_
push eax
call fcn.0042cf90
add esp, 0x18
push edi
push 0xff
lea ecx, [esp + 0x20c]
push ecx
lea edx, [esp + 0x10]
push edx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esi + 0xc]
push eax
lea ecx, [esi + 8]
push ecx
lea edx, [esi + 4]
push edx
push esi
lea eax, [esp + 0x214]
push str.RECT__d__d__d__d_
push eax
call fcn.0042d151
mov ecx, dword [esp + 0x41c]
add esp, 0x18
pop ebp
xor ecx, esp
call fcn.0042c343
add esp, 0x404
ret 4

Function at 0x4112b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x404
mov eax, dword [0x456580]
xor eax, esp
mov dword [esp + 0x400], eax
push ebp
mov ebp, dword [esp + 0x40c]
push 0
push 0
lea eax, [esp + 0xc]
push str.POINT__d__d_
push eax
call fcn.0042cf90
add esp, 0x10
push edi
push 0xff
lea ecx, [esp + 0x20c]
push ecx
lea edx, [esp + 0x10]
push edx
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esi + 4]
push eax
push esi
lea ecx, [esp + 0x20c]
push str.POINT__d__d_
push ecx
call fcn.0042d151
mov ecx, dword [esp + 0x414]
add esp, 0x10
pop ebp
xor ecx, esp
call fcn.0042c343
add esp, 0x404
ret 4

Function at 0x412c4a
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 0x412c90
call fcn.00416088
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x412c90
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x412cd3
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 0x412cbc
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 0x412cbc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x412cd0
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 0x41c9cc
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 0x41ca0f
call fcn.00416088
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ca0f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41ca2a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041c586
test ebx, ebx
mov esi, eax
je 0x41ca28
test edi, edi
je 0x41ca28
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42c343
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456580]
jne 0x42c34d
repz ret
jmp fcn.00431b24
Function at 0x439aa2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043146e
xor ebx, ebx
cmp dword [0x45a760], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x439b77
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x439ae2
xor eax, eax
jmp 0x439c3b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x439adb
push eax
call fcn.0043140b
mov dword [esp], 0x4480bc
push edi
mov dword [0x45a760], eax
call esi
push eax
call fcn.0043140b
mov dword [esp], 0x4480a8
push edi
mov dword [0x45a764], eax
call esi
push eax
call fcn.0043140b
mov dword [0x45a768], eax
lea eax, [ebp - 8]
push eax
call fcn.0042c736
test eax, eax
pop ecx
pop ecx
je 0x439b45
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042cdd1
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x439b77
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043140b
cmp eax, ebx
pop ecx
mov dword [0x45a770], eax
je 0x439b77
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043140b
pop ecx
mov dword [0x45a76c], eax
mov eax, dword [0x45a76c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x439bf0
cmp dword [0x45a770], esi
je 0x439bf0
push eax
call fcn.00431477
pop ecx
call eax
cmp eax, ebx
je 0x439bbd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x45a770]
call fcn.00431477
pop ecx
call eax
test eax, eax
je 0x439bbd
test byte [ebp - 0x18], 1
jne 0x439bf0
lea eax, [ebp - 0xc]
push eax
call fcn.0042c76d
test eax, eax
pop ecx
je 0x439bd8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042cdd1
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x439be7
or dword [ebp + 0x10], 0x200000
jmp 0x439c21
or dword [ebp + 0x10], 0x40000
jmp 0x439c21
mov eax, dword [0x45a764]
cmp eax, esi
je 0x439c21
push eax
call fcn.00431477
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x439c21
mov eax, dword [0x45a768]
cmp eax, esi
je 0x439c21
push dword [ebp - 4]
push eax
call fcn.00431477
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 [0x45a760]
call fcn.00431477
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4412dc
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x456580]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00441271
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.0042da20
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 0x44132b
cmp dword [ebp - 0x1c], 5
jb 0x441343
jmp 0x44133f
cmp dword [ebp - 0x10], 1
jne 0x441343
cmp dword [ebp - 0x1c], 4
ja 0x44133f
jne 0x441343
cmp dword [ebp - 0x18], 0
jbe 0x441343
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x449a78
call fcn.00441162
test eax, eax
jge 0x441364
mov byte [0x45b438], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042c343
add ebp, 0x78
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x49d300
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x525683
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00515dea
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x1c67288
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x1c671d0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [fcn.00528134]
push eax
mov ecx, edi
call fcn.0051b55c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0051caf7
test eax, eax
je 0x49d41c
mov ecx, dword [esp + 0x3c]
call fcn.0051b589
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.005286ec]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x49d3e0
push edi
mov ecx, esi
call fcn.00518b50
mov ecx, esi
call fcn.0049d5c0
cmp dword [esp + 0x38], 1
jne 0x49d415
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00518cba
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x49f600
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x49f633
push esi
call fcn.004ad910
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x49f62c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x49f6b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49f6a2
mov eax, dword [esi + 8]
test eax, eax
je 0x49f657
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x49f69e
cmp eax, 2
je 0x49f6a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49f64a
cmp eax, 3
je 0x49f67d
cmp eax, 1
jne 0x49f64a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x49f64a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x49f64a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0049f6e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x49f6c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0049f6e0
add esp, 4
pop esi
ret