joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4de50a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [esi]
call dword [eax + 0x280]
mov ebx, dword [ebp + 8]
cmp al, bl
je 0x4de650
mov ecx, dword [esi + 0x6e0]
mov eax, ecx
or ecx, 2
and eax, 0xfffffffd
test bl, bl
cmove ecx, eax
mov dword [esi + 0x6e0], ecx
mov ecx, dword [esi + 0xff8]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x4de650
mov esi, dword [ecx + 0x830]
push edi
mov edi, esi
neg edi
lea eax, [esi - 0x808]
sbb edi, edi
and edi, eax
je 0x4de64f
mov eax, dword [ecx + 0x834]
test eax, eax
je 0x4de64f
mov ecx, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ecx + 0xffc]
sub ecx, edx
je 0x4de630
sub ecx, 1
je 0x4de624
sub ecx, 1
je 0x4de5a5
sub ecx, 1
jne 0x4de64f
test bl, bl
je 0x4de5f8
cmp dword [edi + 0x818], edx
je 0x4de5ca
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4de5ca
test esi, esi
mov eax, 0x808
cmove esi, eax
jmp 0x4de5d7
lea esi, [edi + 0x808]
mov ecx, esi
call fcn.004e0f25
push ebx
mov ebx, dword [ebp + 8]
mov ecx, esi
push dword [ebx + 0x834]
call fcn.004e0f77
mov eax, dword [ebx + 0x834]
xor ecx, ecx
mov dword [edi + 0xad0], eax
jmp 0x4de60f
push edx
lea esi, [edi + 0x808]
push eax
mov ecx, esi
call fcn.004e0f77
xor ecx, ecx
mov dword [edi + 0xad0], ecx
mov eax, dword [edi + 0x808]
push ecx
push ecx
push ecx
push str.selectchanged
mov ecx, esi
call dword [eax + 8]
jmp 0x4de627
mov byte [eax + 1], bl
mov ecx, edi
call fcn.00470647
jmp 0x4de64f
lea ecx, [eax + 0x114]
test ecx, ecx
je 0x4de64b
cmp dword [ecx + 4], edx
jle 0x4de64b
mov ecx, edi
mov byte [eax + 2], bl
call fcn.004706e7
jmp 0x4de64f
mov byte [eax + 2], 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4deb4d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x184]
mov edx, dword [ebp + 8]
test al, al
jne 0x4deb8e
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x4deb8e
mov ecx, dword [esi + 0xa0]
push edx
test ecx, ecx
je 0x4decb8
mov eax, dword [ecx]
call dword [eax + 0x1c4]
jmp 0x4decbf
mov edi, dword [esi + 0x830]
lea eax, [edi - 0x808]
neg edi
sbb edi, edi
and edi, eax
je 0x4decb7
xor ebx, ebx
cmp dword [esi + 0x834], ebx
je 0x4decb7
cmp dword [edx], 0xd
jne 0x4dec34
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x4decbf
cmp dword [edi + 0x818], ebx
je 0x4debe0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4debeb
lea ecx, [edi + 0x808]
call fcn.004e0f25
mov ecx, dword [esi + 0x830]
push 1
push dword [esi + 0x834]
call fcn.004e0f77
mov ecx, dword [esi + 0x830]
mov eax, dword [esi + 0x834]
push ebx
mov dword [ecx + 0x2c8], eax
mov ecx, dword [esi + 0x830]
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [edi + 0x808]
mov eax, dword [ecx]
push ebx
push ebx
push str.selectchanged
call dword [eax + 8]
jmp 0x4decbf
cmp dword [edx], 0x13
jne 0x4dec79
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x4decbf
mov ecx, dword [esi + 0x834]
push 1
cmp byte [ecx + 2], bl
sete al
mov byte [ecx + 2], al
mov ecx, dword [esi + 0x830]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x9c]
push ebx
push ebx
push esi
push str.dbclick
push edi
call fcn.00483447
jmp 0x4decbf
cmp dword [edx], 0xb
jne 0x4deca1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x4decbf
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
mov ecx, esi
call fcn.00470647
jmp 0x4decbf
cmp dword [edx], 0xa
jne 0x4decb7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x4decbf
push ebx
jmp 0x4dec8e
push edx
mov ecx, esi
call fcn.0047a2ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4dfe42
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edx, dword [ebx + 4]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x2c], eax
test edx, edx
jne 0x4dfecb
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004dff11
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0x10]
sub esp, 0x10
mov eax, 0x40000009
cmp dword [ebx + 0x2c], 1
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
lea edx, [eax - 9]
push 0
cmovne eax, edx
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, ebx
push dword [eax + 0xa8]
call fcn.0047e0b0
mov ecx, dword [ebx + 0x10]
push 1
mov eax, dword [ecx]
push dword [ecx + 0x840]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0048412a
push dword [eax + 4]
push 0x30
push dword [ebx + 4]
call dword [0x53e4ec]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
lea eax, [ecx + 0x830]
mov esi, eax
lea edi, [ebx + 0x1a]
push eax
push 0
push 0x1002
movsd dword es:[edi], dword [esi]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebx + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x53e4ec]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [0x53e5e0]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
leave
ret 8
Function at 0x4f0c50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b479
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebx + 4], 7
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], vtable.EDA_RECT.0
movups xmmword [ebx + 0x20], xmm0
mov byte [ebx + 0x40], 0
movups xmmword [ebx + 0x30], xmm0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x50], vtable.EDA_RECT.0
movups xmmword [ebx + 0x58], xmm0
mov byte [ebx + 0x78], 0
movups xmmword [ebx + 0x68], xmm0
mov dword [ebx + 0x80], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.MODULE.0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov byte [ebx + 0x94], 1
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
mov byte [ebx + 0xa4], 1
mov byte [ebp - 4], 2
lea edi, [ebx + 0xc0]
movups xmmword [ebx + 0xa8], xmm0
mov dword [ebp + 8], edi
push 0x40
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x20
mov dword [edi + 0x10], 0x20
call fcn.005008e0
push 0x40
mov esi, eax
push 0
push esi
call fcn.00504db0
xor eax, eax
mov word [esi], ax
mov dword [edi + 4], esi
xorps xmm0, xmm0
mov byte [ebx + 0xe0], al
movsd qword [ebx + 0xd8], xmm0
mov dword [ebx + 0xe8], vtable.EDA_RECT.0
movups xmmword [ebx + 0xf0], xmm0
mov byte [ebx + 0x110], al
movups xmmword [ebx + 0x100], xmm0
push 0xe8
mov byte [ebp - 4], 4
call fcn.0050058b
mov esi, eax
mov dword [ebp + 8], esi
push 0xe8
push 0
push esi
mov byte [ebp - 4], 5
call fcn.00504db0
add esp, 0x20
mov ecx, esi
push ebx
call fcn.004fa960
mov dword [esi], vtable.CPCB_TEXTE_MODULE.0
mov byte [esi + 0xe0], 1
mov byte [ebp - 4], 4
push 0xe8
mov dword [ebx + 0xb8], esi
call fcn.0050058b
mov esi, eax
mov dword [ebp + 8], esi
mov byte [ebp - 4], 6
push 0xe8
push 0
push esi
call fcn.00504db0
add esp, 0x10
mov ecx, esi
push ebx
call fcn.004fa960
mov dword [esi], vtable.CPCB_TEXTE_MODULE.0
mov eax, ebx
mov byte [esi + 0xe0], 1
mov dword [ebx + 0xbc], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f67f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
je 0x4f6873
xor eax, eax
test edx, edx
je 0x4f6873
cmp edx, 0x40
jb 0x4f6868
movsx ecx, bl
push edi
mov edi, edx
and edi, 0xffffffc0
movd xmm0, ecx
lea ecx, [esi + 0x20]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
movups xmm0, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
add eax, 0x40
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
pxor xmm0, xmm2
movups xmmword [ecx - 0x50], xmm0
movups xmm0, xmmword [ecx - 0x40]
pxor xmm0, xmm2
movups xmmword [ecx - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x30]
pxor xmm0, xmm2
movups xmmword [ecx - 0x30], xmm0
cmp eax, edi
jb 0x4f6826
pop edi
cmp eax, edx
jae 0x4f6873
xor byte [eax + esi], bl
lea ecx, [eax + esi]
inc eax
cmp eax, edx
jb 0x4f6868
pop esi
pop ebx
pop ebp
ret

Function at 0x4fa960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c1fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [edi + 4], 6
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], vtable.EDA_RECT.0
movups xmmword [edi + 0x20], xmm0
mov byte [edi + 0x40], 0
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x48], 0
mov dword [edi + 0x50], vtable.EDA_RECT.0
movups xmmword [edi + 0x58], xmm0
mov byte [edi + 0x78], 0
movups xmmword [edi + 0x68], xmm0
mov dword [edi + 0x80], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.CPCB_TEXTE.0
push 0x40
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0x20
mov dword [edi + 0x94], 0x20
call fcn.005008e0
push 0x40
mov esi, eax
push 0
push esi
call fcn.00504db0
xor eax, eax
add esp, 0x10
mov word [esi], ax
mov dword [edi + 0x88], esi
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movups xmmword [edi + 0x98], xmm0
push str.Microsoft_YaHei
lea ecx, [edi + 0xb8]
movups xmmword [edi + 0xa8], xmm0
call fcn.0040a580
xorps xmm0, xmm0
mov dword [edi + 0xc8], 1
movsd qword [edi + 0xd0], xmm0
mov eax, edi
mov byte [edi + 0xd8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4fb180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c25d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], vtable.EDA_RECT.0
movups xmmword [edi + 0x20], xmm0
mov byte [edi + 0x40], 0
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x48], 0
mov dword [edi + 0x50], vtable.EDA_RECT.0
movups xmmword [edi + 0x58], xmm0
mov byte [edi + 0x78], 0
movups xmmword [edi + 0x68], xmm0
mov dword [edi + 0x80], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.BOARD_CONNECTED_ITEM.0
mov dword [edi + 0x88], 0
push 0x40
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0x20
mov dword [edi + 0x98], 0x20
call fcn.005008e0
push 0x40
mov esi, eax
push 0
push esi
call fcn.00504db0
add esp, 0x10
xor eax, eax
mov word [esi], ax
mov eax, edi
mov dword [edi + 0x8c], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x502da2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x502daf
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00502db5

Function at 0x51a9ae
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0051a824

Function at 0x5237f4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00523471

Function at 0x596c80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x596d8c
test eax, eax
je 0x596d8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x5b1ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x596d73
lea edi, [eax + 4]
jmp 0x596cd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x596cec
mov dword [ebp - 4], 2
jmp 0x596d0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x596d03
mov dword [ebp - 4], 1
jmp 0x596d0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x596d83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x596d46
mov byte [ecx], 0x3d
jmp 0x596d52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x596d5d
mov byte [ecx], 0x3d
jmp 0x596d63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x596cd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x912207
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
xchg dword [esp], edi
jmp fcn.00429d01
lea edi, [edi + 0x32d062f8]
jmp 0x717d8a
push 0x374e25ac
call fcn.00918b32
xchg dword [esp], edi
push edi
bswap edi
mov edi, 0x44cb81
jmp 0x914522
mov edi, dword [edi + 0x344e36]
jmp 0x906fa9
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4018ed
Capabilities:
Encode data using base64 via winapi
Get common file path
Initialize winsock library

Disassembly:
push ebx
push ecx
push edx
enter 0x4d4, 0
lea eax, [ebp - 0x2cc]
push eax
push 2
call dword [sym.imp.WS2_32.DLL_WSAStartup]
push 0x104
lea eax, [ebp - 0x4d4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0x7f00
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x1c], 6
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.DLL_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.DLL_LoadCursorA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.DLL_RegisterClassA]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.DLL_LoadAcceleratorsA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x13c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x10]
lea ebx, [eax - 0x47]
call dword [sym.imp.WS2_32.DLL_WSACleanup]
mov eax, dword [ebp - 4]
add eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x401c44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edx, dword [0x403050]
or dl, 1
imul edx, eax
mov edi, dword [0x403050]
mov ebx, eax
sub edi, edx
mov eax, 0x403054
mov edx, edi
call fcn.00401b81
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402d2c
push edx
sub edi, fcn.004024f7
push edi
xor eax, eax
push fcn.004024f7
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401cbc
mov eax, fcn.004024f7
mov ebx, esi
mov edx, edi
call fcn.00401b81
mov edx, 0x1be00
mov eax, 0x403054
mov ebx, esi
call fcn.00401343
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x45c5b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x43f015
lea edi, [esi - 0x3e015]
push edi
or ebp, 0xffffffff
jmp 0x45c5d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45c5d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c5c8
mov eax, 1
add ebx, ebx
jne 0x45c5eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45c5fc
jne 0x45c61b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c61b
dec eax
add ebx, ebx
jne 0x45c608
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45c5e0
add ebx, ebx
jne 0x45c617
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45c66d
xor ecx, ecx
sub eax, 3
jb 0x45c633
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45c6a2
sar eax, 1
mov ebp, eax
jmp 0x45c63e
add ebx, ebx
jne 0x45c63e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c60c
inc ecx
add ebx, ebx
jne 0x45c64c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c60c
add ebx, ebx
jne 0x45c659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45c64e
jne 0x45c66a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45c64e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45c68c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45c67e
jmp 0x45c5ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45c68c
add edi, ecx
jmp 0x45c5ce
pop esi
mov edi, esi
mov ecx, 0xaca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45c6aa
cmp byte [edi], 7
jne 0x45c6aa
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 0x45c6af
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45c727
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x62490]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62530]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45c6dc
mov ecx, edi
jns 0x45c70b
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 + 0x62534]
or eax, eax
je 0x45c721
mov dword [ebx], eax
add ebx, 4
jmp 0x45c6f9
call dword [esi + 0x62544]
mov ebp, dword [esi + 0x62538]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x45c75b
sub esp, 0xffffff80
jmp 0x412a92
Function at 0x40c278
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00405440
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40c313
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4126a4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x40c313
cmp eax, 1
je 0x40c334
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40c313
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x40c2e0
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x40c30f
xor eax, eax
inc eax
jmp 0x40c353
cmp edi, eax
jae 0x40c317
xor eax, eax
jmp 0x40c353
cmp eax, esi
jae 0x40c31e
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4126a4]
jmp 0x40c337
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401906
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401915
pop dword [ebp - 0x38]
mov eax, 0xe91781eb
sub eax, 0xe8d768d6
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x38baa
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x632ef2b2
sub ecx, 0x632ead26
mov ebx, eax
mov edx, 0x417800
add edx, dword [ebp - 0x38]
mov edi, 0xba864c19
sub edi, 0xbbc89b56
mov dword [ebp - 0x14], 0x761c22a4
mov esi, dword [edx]
xor dword [ebp - 0x1c], 0xaa662cb8
xor esi, edi
xor dword [ebp - 0x30], esi
mov dword [ebx], esi
add dword [ebp - 0x28], ebx
add ebx, 0xacf1ef78
sub ebx, 0xacf1ef74
add edx, 4
loop 0x401969
add eax, 0x10903
xor ebx, ebx
add ebx, eax
add eax, 0x21de4348
sub eax, 0x21de4343
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x401d25
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x412320]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1ac]
push ebx
push esi
mov esi, dword [ebp + 0x1b0]
push 0x104
lea ecx, [ebp - 0x68]
push ecx
push 0xffffffffffffffff
push eax
xor ebx, ebx
push ebx
push 0xfde9
mov dword [ebp - 0x6c], 0xfffffffd
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x401e01
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x78], eax
cmp eax, ebx
je 0x401e01
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
push ebx
call edi
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x70], eax
cmp eax, ebx
je 0x401e00
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x68]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401df3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x40e484
push dword [ebp - 0x70]
mov dword [ebp - 0x74], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401df3
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx ecx, word [eax + 8]
mov dword [esi + 4], ecx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx eax, word [eax + 0xc]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x70]
push ebx
call edi
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
pop edi
mov ecx, dword [ebp + 0x1a0]
mov eax, dword [ebp - 0x6c]
pop esi
xor ecx, ebp
pop ebx
call fcn.004024bc
add ebp, 0x1a4
leave
ret

Function at 0x4024bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412320]
jne 0x4024c6
repz ret
jmp fcn.00403ae7