joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410df0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
imul ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x410e4b
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x410e33
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp - 8]
call fcn.00460eb0
add dword [edi + 0x1c], esi
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, esi
xor edx, edx
xor ecx, ebp
div dword [ebp + 0xc]
pop edi
pop esi
pop ebx
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret

Function at 0x410e90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x410e9e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x410f5d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
sub edi, 1
jne 0x410eb6
pop edi
test esi, esi
je 0x410f7b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x47dab0]
sub esi, 1
jne 0x410f61
not eax
pop esi
pop ebp
ret
Function at 0x41fc40
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041fdf0
Function at 0x430020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x69c], 0
je 0x43008d
cmp dword [ebp + 8], 0x100
jne 0x43007d
cmp word [ebp + 0xc], 0xd
jne 0x43007d
cmp byte [esi + 0x6a2], 0
je 0x43005e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43007d
cmp byte [esi + 0x6a3], 0
jne 0x43007d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x430076
push 0
push 0
push 0
push str.return
push esi
call fcn.0040a6c0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x69c]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x4387f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0x108]
call eax
mov edi, dword [ebp + 8]
test al, al
jne 0x43882e
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x43882e
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
jne 0x4389e4
mov ecx, esi
call fcn.00431f60
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0x13
jne 0x43885d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x4389f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.0043ac70
pop edi
pop esi
pop ebp
ret 4
cmp eax, 3
jne 0x438879
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x438879
cmp word [edi + 0x14], 0xd
je 0x438849
cmp dword [edi], 0xd
jne 0x4388d6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x4389f6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [esi + 0x6c0]
lea esi, [esi + 0x6c0]
mov ecx, 0x8000
and ax, cx
mov ecx, esi
je 0x4388cb
mov eax, dword [edi + 0x10]
call eax
test al, al
mov ecx, esi
sete al
movzx eax, al
push eax
call dword [edi + 0x18]
pop edi
pop esi
pop ebp
ret 4
push 1
call dword [edi + 0x14]
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x4388f3
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x4388f3
cmp dword [edi], 0xf
je 0x43887e
mov eax, dword [edi]
cmp eax, 0xe
jne 0x438928
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x4389f6
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.itemclick
push esi
call fcn.0040a6c0
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
je 0x4389f6
cmp eax, 0xb
jne 0x43895e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x4389f6
or dword [esi + 0x6cc], 8
mov ecx, esi
call fcn.0043ac70
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xa
jne 0x438987
mov eax, dword [esi + 0x6cc]
test al, 8
je 0x4389f6
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x6cc], eax
call fcn.0043ac70
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x1b
jne 0x4389a8
mov ecx, dword [esi + 0x44]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
push esi
call fcn.0040a6c0
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x14
jne 0x4389d9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x4389d9
mov ecx, dword [esi + 0x44]
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
push esi
call fcn.0040a6c0
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x4389ef
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
ret 4
mov ecx, esi
call fcn.00417290
pop edi
pop esi
pop ebp
ret 4
Function at 0x438de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0x108]
call eax
mov edi, dword [ebp + 8]
test al, al
jne 0x438e1c
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x438e1c
mov ecx, dword [esi + 0x560]
push edi
test ecx, ecx
je 0x438f1b
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
ret 4
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x438e91
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x438e91
cmp dword [edi], 0xf
jne 0x438e91
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x438f22
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [esi + 0x550]
lea esi, [esi + 0x550]
mov ecx, 0x8000
and ax, cx
mov ecx, esi
je 0x438e86
mov eax, dword [edi + 0x10]
call eax
test al, al
mov ecx, esi
sete al
movzx eax, al
push eax
call dword [edi + 0x18]
pop edi
pop esi
pop ebp
ret 4
push 1
call dword [edi + 0x14]
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, 0xd
je 0x438e39
cmp eax, 0xe
jne 0x438ec7
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x438f22
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0
push str.itemclick
push esi
call fcn.0040a6c0
pop edi
pop esi
pop ebp
ret 4
cmp eax, 9
je 0x438f22
cmp eax, 0xb
jne 0x438ef5
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x438f22
or dword [esi + 0x55c], 8
mov ecx, esi
call fcn.0043ac70
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0xa
jne 0x438f1a
mov eax, dword [esi + 0x55c]
test al, 8
je 0x438f22
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x55c], eax
call fcn.0043ac70
pop edi
pop esi
pop ebp
ret 4
push edi
mov ecx, esi
call fcn.00438a00
pop edi
pop esi
pop ebp
ret 4
Function at 0x446aa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x446b29
cmp dword [esi + 0x10], 0
je 0x446b29
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0045f550
mov ebx, esp
test ebx, ebx
je 0x446b29
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.0040bd10
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0040a6c0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00406390
test al, al
je 0x446b29
mov ecx, dword [esi + 0x10]
call fcn.00417cf0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44c820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a38b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x588], 0
cmp dword [edi + 4], 0
jne 0x44c952
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b8b0
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
je 0x44c8f6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x44c8da
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x4c]
call eax
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44c8da
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
jne 0x44c892
jmp 0x44c8f6
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405fa0
push eax
mov ecx, edi
call fcn.0045e180
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004414f0
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405c20
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040c970
lea ecx, [ebp - 0xc8]
mov byte [ebp - 0x31], al
call fcn.0040bba0
cmp byte [ebp - 0x31], 0
je 0x44c994
mov eax, dword [edi + 0x10]
add eax, 0x578
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x578
push eax
push 0
push 0x1002
movups xmm0, xmmword [eax]
push dword [edi + 4]
movups xmmword [edi + 0x1a], xmm0
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret 4
Function at 0x44cf10
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x44cfaa
push 0xff
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004619b0
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xff
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44cfaa
mov eax, dword [eax + 0xc]
push ebx
mov eax, dword [eax]
mov ebx, dword [eax]
mov eax, ebx
shr eax, 8
mov ecx, ebx
movzx edx, al
movzx eax, bl
shl eax, 8
add eax, edx
shr ecx, 0x10
shl eax, 8
movzx ecx, cl
add eax, ecx
shr ebx, 0x18
shl eax, 8
add eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret

Function at 0x44d0f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a44b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x580], 0
cmp dword [edi + 4], 0
jne 0x44d1ca
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
mov dword [ebp - 0x14], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x44d19e
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b8b0
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x28]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40030000
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405fa0
push eax
mov ecx, edi
call fcn.0045e180
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004414f0
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405c20
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040c970
lea ecx, [ebp - 0xb0]
mov byte [ebp - 0x29], al
call fcn.0040bba0
cmp byte [ebp - 0x29], 0
je 0x44d20b
call fcn.0044cf10
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x578], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x578]
push 0
push 0x465
push dword [edi + 4]
call esi
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret 4
Function at 0x44d290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
push esi
push edi
mov edi, ecx
call ebx
mov esi, eax
test esi, esi
je 0x44d2ba
call ebx
cmp eax, dword [edi + 4]
je 0x44d31a
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x44d2a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov esi, eax
cmp dword [ecx + 0x580], 0
jne 0x44d306
add ecx, 0x578
push ecx
push 0
push 0x466
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x580], 1
mov ecx, dword [edi + 0x10]
call fcn.0044d340
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov dword [eax], 1
xor eax, eax
pop ebp
ret 0x10

Function at 0x452de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00439100

Function at 0x452de9
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.virtual_312

Function at 0x454470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x6d0], edx
mov dword [ebx + 0x6d4], 0
mov dword [ebx + 0x6d8], eax
test edx, edx
jne 0x4544d1
call fcn.00454000
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x4544d1
call fcn.00454000
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.00454000
lea ecx, [ebx + 0x10]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebx + 0x6d0]
test ecx, ecx
je 0x4544f1
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
mov ecx, esi
call fcn.00405fa0
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040b900
push 0
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x88
push SysReAllocString
push 0
movups xmmword [ecx], xmm0
push esi
mov ecx, ebx
call fcn.0045e180
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x45453f
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x454533
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x45b0a0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esi, 0xffffffdf
mov edi, eax
cmp esi, 0xd
ja case.0x45b0e5.41
movzx eax, byte [esi + 0x45b14c]
jmp dword [eax*4 + 0x45b144]
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004619b0
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040ba10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45b0ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esi, 0xffffffdf
mov edi, eax
cmp esi, 0xd
ja case.0x45b0e5.41
movzx eax, byte [esi + 0x45b14c]
jmp dword [eax*4 + 0x45b144]
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004619b0
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040ba10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ecfc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45b4d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b1ab
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push esi
push edi
mov eax, dword [0x49a324]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
test eax, eax
je 0x45b613
lea eax, [ebp - 0x1c]
push eax
call fcn.0045a890
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x1c]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000080
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405fa0
push eax
mov ecx, edi
call fcn.0045e180
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45b613
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004414f0
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405c20
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x10]
push 0
movzx ecx, word [eax + 0x796]
movzx eax, word [eax + 0x794]
movzx ecx, cl
shl ecx, 8
movzx eax, al
or ecx, eax
push ecx
push 0x401
push dword [edi + 4]
call esi
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.0045ad50
mov ecx, dword [edi + 0x10]
push eax
add ecx, 0x1c8
mov dword [ebp - 4], 0
call fcn.0040bc50
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bba0
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4