joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405593
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402ec1
and dword [ebp - 4], 0
cmp dword [0x45f3f4], 0
mov ebx, eax
jne 0x405644
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4056f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4056f5
push eax
call fcn.00402e4f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45f3f4], eax
call esi
push eax
call fcn.00402e4f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45f3f8], eax
call esi
push eax
call fcn.00402e4f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45f3fc], eax
call esi
push eax
call fcn.00402e4f
pop ecx
mov dword [0x45f404], eax
test eax, eax
je 0x405644
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e4f
pop ecx
mov dword [0x45f400], eax
mov eax, dword [0x45f400]
cmp eax, ebx
je 0x40569c
cmp dword [0x45f404], ebx
je 0x40569c
push eax
call fcn.00402eca
push dword [0x45f404]
mov esi, eax
call fcn.00402eca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40569c
test edi, edi
je 0x40569c
call esi
test eax, eax
je 0x405693
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405693
test byte [ebp - 0xc], 1
jne 0x40569c
or dword [ebp + 0x10], 0x200000
jmp 0x4056d5
mov eax, dword [0x45f3f8]
cmp eax, ebx
je 0x4056d5
push eax
call fcn.00402eca
pop ecx
test eax, eax
je 0x4056d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4056d5
mov eax, dword [0x45f3fc]
cmp eax, ebx
je 0x4056d5
push eax
call fcn.00402eca
pop ecx
test eax, eax
je 0x4056d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f3f4]
call fcn.00402eca
pop ecx
test eax, eax
je 0x4056f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4056f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x41e306
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c268
push 0x42c260
push str.FlsAlloc
push 0x1e
call fcn.0041e1a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e33a
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
jmp 0x41e340
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41e384
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c278
push 0x42c270
push str.FlsGetValue
push 0x20
call fcn.0041e1a4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e3bb
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x4209ab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4209ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4209ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4209ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4209ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4209ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433160
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x13870b87
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x404d0a9d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x4f392e
Capabilities:
Packed with generic packer

Disassembly:
pushal
stc
popal
xor esi, 0x61f96000
add ebx, esi
pop esi
add ebx, 4
xor ebx, dword [esp]
xor dword [esp], ebx
xor ebx, dword [esp]
pop esp
push dword [ebp - 0x14]
mov eax, dword [esp]
push edi
mov edi, esp
add edi, 4
add edi, 4
push edi
push dword [esp + 4]
mov edi, dword [esp]
add esp, 4
pop dword [esp]
pop esp
push edi
push esi
push eax
mov eax, 0x3b72cbbb
or eax, 0x7fb7a2ba
push edx
mov edx, 0x1cfe73ce
shr edx, 3
sub edx, 0x3fbf7c63
sub edx, 0x1f7ed7f6
shr edx, 8
sub edx, 0x88b55408
add eax, edx
pop edx
shr eax, 3
not eax
add eax, 0x77fde826
add eax, 0xe0f3e7bb
mov esi, eax
pop eax
mov dword [esp + 4], esi
pop esi
mov dword [esp], edx
push ecx
push dword [esp]
mov edx, dword [esp]
add esp, 4
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
push dword [esp]
mov edx, dword [esp]
add esp, 4
push eax
mov eax, esp
add eax, 4
add eax, 4
push eax
push dword [esp + 4]
pop eax
pop dword [esp]
pop esp
jmp 0x4f7a1c
push eax
push ebp
push ebx
mov ebx, 0x7dddb6c1
Function at 0x4027da
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push 0
push 0x400000
call fcn.004015ac
mov dword [0x414040], eax
cmp dword [0x414014], 0
jne 0x403e75
push eax
call dword [sym.imp.MSVCR110_CLR0400.dll_exit]
push esi
mov esi, ecx
call dword [sym.imp.ole32.dll_CoReleaseServerProcess]
test eax, eax
jne 0x401692
mov dword [esi + 4], 1
pop esi
ret
call 0x40171c
push 0x14
push 0x402908
call fcn.00402010
and dword [ebp - 0x20], 0
call sub.MSVCR110_CLR0400.dll___crtGetShowWindowMode
movzx ebx, ax
and dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
xor edi, edi
mov esi, 0x414148
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x403dd8
xor esi, esi
inc esi
cmp dword [0x41414c], esi
je 0x403dea
cmp dword [0x41414c], 0
jne 0x402931
mov dword [0x41414c], esi
push 0x402904
push 0x4028f0
call 0x531000
pop ecx
pop ecx
test eax, eax
jne 0x403df7
cmp dword [0x41414c], esi
jne 0x402879
push 0x4028ec
push 0x4028cc
call sub.MSVCR110_CLR0400.dll__initterm
pop ecx
pop ecx
mov dword [0x41414c], 2
test edi, edi
jne 0x402886
xor eax, eax
mov ecx, 0x414148
xchg dword [ecx], eax
cmp dword [0x414158], 0
jne 0x403e08
mov eax, dword [sym.imp.MSVCR110_CLR0400.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
jbe 0x402924
cmp cl, 0x22
je 0x403e2c
movzx eax, cl
push eax
call dword [sym.imp.MSVCR110_CLR0400.dll__ismbblead]
pop ecx
test eax, eax
jne 0x403e3d
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x4028a0
test cl, cl
je 0x40293c
test edi, edi
je 0x40293c
jmp 0x4028a7
mov dword [0x414268], esi
jmp 0x402856
mov al, byte [esi]
test al, al
je 0x401657
cmp al, 0x20
ja 0x401657
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40293c
cmp eax, edx
jne 0x40280b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40281e
push 0x1f
call sub.MSVCR110_CLR0400.dll__amsg_exit
pop ecx
jmp 0x402856
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403e90
push 0x414158
call fcn.0040f0a8
pop ecx
test eax, eax
je 0x402893
push 0
push 2
push 0
call dword [0x414158]
jmp 0x402893
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
jmp 0x4028b0
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x4028c3
cmp dword [0x414268], 0
jne 0x403e89
call dword [sym.imp.MSVCR110_CLR0400.dll__cexit]
mov eax, dword [0x414040]
mov dword [ebp - 4], 0xfffffffe
call fcn.004017d6
ret
Function at 0x40cb2f
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40cb50
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40cb48
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40cb3d
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
shr edx, 5
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
and ecx, 0x1f
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10

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
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2fd068e4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x64115e7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
mov dword ds:[0x15b20e9d], eax
or byte [edi + 0x73], cl
sub al, cl
imul esi, dword [ebp - 0x55], 0x30
pop ds
inc eax
push 0x4b
div byte [ebx]
pop esp
les ebx, [ebp + 0xdbc29da]
mov cl, 0xc0
leave
push 0x2d
ret
ret
mov eax, dword [0xd82d]
aaa
clc
cdq
sub eax, 0x99f837d8
pop edi
xor ch, byte [ecx]
mov al, byte [0xc86af0ce]
je 0x414a95
into
invalid
sal byte [edx - 0x67283325], 0xf6
xchg esi, eax
out dx, al
loope 0x414a68
sub byte [eax], ch
pop esp
xor dl, byte [edx + 0x2870fecc]
jo 0x414b16
push edx
imul ecx, eax, 0x37d762f6
loope 0x414acb
jae 0x414b2a
loope 0x414ac2
nop
fdivr dword [esi + 0x73]
sub byte [eax], ah
iretd
enter 0xffffffffffffcd1e, 0xffffffffffffffd7
aaa
loope 0x414b4f
sub al, cl
push ds
xor ch, byte [eax]
enter 0x321e, 0x28
enter 0x321e, 0x28
dec ebx
out dx, eax
int3
push ds
mov bl, 0xef
leave
push ds
xor ch, byte [eax]
dec ecx
invalid
Function at 0x402f0e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc4
mov eax, 0x47ee55
call fcn.004622df
xor esi, esi
mov dword [ebp - 4], esi
push 0xf
pop edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.0040165e
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], edi
call fcn.0040165e
push dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040213c
push dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp - 0x14], 0x10
mov edi, eax
mov eax, dword [ebp - 0x28]
jae 0x402f84
lea eax, [ebp - 0x28]
push 1
push 0x40
push 0x20
push eax
lea ecx, [ebp - 0xd0]
call fcn.00402d9e
push edi
push ebx
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00402e68
lea ecx, [ebp - 0xd0]
call fcn.00402b60
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.00402c52
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.004018b1
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018b1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00401264
call fcn.00462362
ret

Function at 0x403d43
Capabilities:
Encode data using xor

Disassembly:
push 0x48
mov eax, 0x47ef26
call fcn.004622df
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
lea eax, [ebp + 0xc]
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00403b8c
pop ecx
pop ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004036bd
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x18], edi
jbe 0x403dad
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403390
mov cl, byte [0x4b229d]
xor byte [eax], cl
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403390
movzx eax, byte [eax]
push eax
mov ecx, esi
call fcn.00403784
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x403d82
push dword [esi]
lea ecx, [ebp - 0x48]
call fcn.00402393
mov edi, dword [ebp + 0x28]
dec edi
mov byte [ebp - 4], 3
test edi, edi
jle 0x403dff
push dword [ebp + 0x2c]
lea eax, [ebp - 0x48]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.00401f4f
lea eax, [ebp - 0x4c]
push eax
call fcn.00403d43
add esp, 0x28
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004039d8
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00401264
inc edi
cmp dword [ebp + 0x2c], edi
jne 0x403e30
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp + 0x2c]
mov ecx, esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00403892
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004039d8
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401264
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.004018b1
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004018b1
push 0
push ebx
lea ecx, [ebp + 0xc]
call fcn.004018b1
mov eax, esi
call fcn.00462362
ret
Function at 0x404ac4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x404ad6
call fcn.00431281
mov ecx, esi
pop esi
jmp fcn.004444c9

Function at 0x404bd5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
mov esi, dword [ebp + 0x90]
push edi
push esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404c65
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.00461bc0
mov esi, dword [sym.imp.USER32.dll_GetKeyboardState]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
je 0x404c42
test byte [ebp - 0x6a], 0x80
jne 0x404c42
push ebx
push 1
push ebx
push 0x12
call edi
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 0x7c]
push eax
call esi
test eax, eax
je 0x404c7a
test byte [ebp - 0x6a], 0x80
jne 0x404c7a
push ebx
push 3
push ebx
push 0x12
call edi
jmp 0x404c7a
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [ebp + 0x84]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462267
add ebp, 0x88
leave
ret 4

Function at 0x404f72
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x404fd1
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x404fd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x10], ebx
je 0x404fe5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.00462267
leave
ret
Function at 0x40aa1b
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x487d4f
call fcn.00462276
and dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004036bd
and dword [ebp - 4], 0
xor esi, esi
inc esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
test eax, eax
je 0x40abae
mov ecx, 0x140c
cmp eax, ecx
jg 0x40ab16
je 0x40aab4
mov ecx, 0x816
cmp eax, ecx
jg 0x40aac8
je 0x40aabe
mov ecx, 0x416
cmp eax, ecx
jg 0x40aa9c
je 0x40aabe
sub eax, 0x407
je 0x40aaf6
sub eax, 3
je 0x40aba0
dec eax
dec eax
je 0x40aab4
sub eax, 5
jne 0x40ab99
push 0x48c8b8
jmp 0x40aba5
sub eax, 0x807
je 0x40aaf6
sub eax, 3
je 0x40aba0
dec eax
dec eax
jne 0x40ab99
push 0x48c8b4
jmp 0x40aba5
push 0x48c8b0
jmp 0x40aba5
mov ecx, 0x100a
cmp eax, ecx
jg 0x40ab00
je 0x40aba0
sub eax, 0xc07
je 0x40aaf6
sub eax, 3
je 0x40aba0
dec eax
dec eax
je 0x40aab4
sub eax, 0x3fb
jne 0x40ab99
push 0x48c8ac
jmp 0x40aba5
sub eax, 0x100c
je 0x40aab4
sub eax, 0x3fb
je 0x40aaf6
sub eax, 3
jmp 0x40ab97
mov ecx, 0x380a
cmp eax, ecx
jg 0x40ab5d
je 0x40aba0
mov ecx, 0x280a
cmp eax, ecx
jg 0x40ab48
je 0x40aba0
cmp eax, 0x180a
je 0x40aba0
cmp eax, 0x1c0a
je 0x40aba0
cmp eax, 0x200a
je 0x40aba0
cmp eax, 0x240a
jmp 0x40ab97
cmp eax, 0x2c0a
je 0x40aba0
cmp eax, 0x300a
je 0x40aba0
cmp eax, 0x340a
jmp 0x40ab97
mov ecx, 0x4c0a
cmp eax, ecx
jg 0x40ab84
je 0x40aba0
cmp eax, 0x3c0a
je 0x40aba0
cmp eax, 0x400a
je 0x40aba0
cmp eax, 0x440a
je 0x40aba0
cmp eax, 0x480a
jmp 0x40ab97
cmp eax, 0x500a
je 0x40aba0
cmp eax, 0x540a
je 0x40aba0
cmp eax, 0x580a
je 0x40aba0
push 0x48c8a8
jmp 0x40aba5
push 0x48c8a4
mov ecx, edi
call fcn.00403a25
jmp 0x40abd4
lea eax, [ebp - 0x14]
push 0x95
push eax
call fcn.00426c9a
pop ecx
pop ecx
push eax
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.004039d8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
mov eax, edi
call fcn.0046234e
ret 4