joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1002aaee
pop dword [ebp - 0x20]
mov eax, 0x50025233
sub eax, 0x3fffa745
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc7cfed0
add dword [ebp - 0x30], 0x41d5467b
mov dword [ebp - 0x2c], 0xe238655a
add dword [ebp - 0x2c], 0x4ffae6eb
mov dword [ebp - 0x28], 0x46c33042
add dword [ebp - 0x28], 0x58913ec
mov dword [ebp - 0x24], 0xbbbba51a
sub dword [ebp - 0x24], 0xbbbba51a
lea eax, [ebp - 0x30]
push eax
mov eax, 0xc8f5a641
add eax, 0x470d19f7
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x3884519
sub dword [ebp - 0x30], 0x8f15dbc3
mov dword [ebp - 0x2c], 0x3088998e
add dword [ebp - 0x2c], 0x10e3c7e7
mov dword [ebp - 0x28], 0xd1c07c4c
add dword [ebp - 0x28], 0x91aef020
mov dword [ebp - 0x24], 0xb25ace5f
sub dword [ebp - 0x24], 0xb25ace5f
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xf742024f
sub eax, 0xe73f4227
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x37ae8
push 0
call eax
mov ecx, 0x15a96639
add ecx, 0xea56e6a2
mov esi, eax
mov edx, 0xe2951cb2
sub edx, 0xd29186b2
add edx, dword [ebp - 0x20]
mov ebx, 0xf25b458d
add ebx, 0xeccc3473
sub dword [ebp - 0x1c], edi
mov edi, dword [edx]
add dword [ebp - 0xc], ebx
sub edi, ebx
mov dword [ebp - 4], 0xfce38d2b
mov dword [esi], edi
xor dword [ebp - 8], 0x5ce2ef77
add esi, 0xeb8fb3a1
sub esi, 0xeb8fb39d
add edx, 0xd5ea324f
add edx, 0x2a15cdb5
loop 0x1002ac10
add eax, 0xde03a156
add eax, 0x21fd84e9
xor ebx, ebx
add ebx, eax
add eax, 0x9ec0b41e
sub eax, 0x9ec0b419
mov ecx, 0x8492080b
add ecx, 0x8b6df7f5
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x402634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
cmp eax, 0xffffffff
je 0x402655
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
pop esi
jne 0x402682
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402682
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x402682
push 4
push eax
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x402689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
imul edx, edx, 0x9e3779b9
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
je 0x4026fe
mov esi, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, ecx
sub dword [ebp - 4], 0x61c88647
add ebx, eax
lea eax, [ebx + edi]
mov edi, eax
mov ebx, eax
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, eax
add ebx, ecx
cmp dword [ebp - 4], edx
lea ecx, [ebx + edi]
jne 0x4026ac
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
leave
ret

Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

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

Disassembly:
pushal
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4017e0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push ebp
push edi
mov eax, esi
add ecx, 0xa0
mov ebp, 4
mov edi, 4
lea esp, [esp]
mov dl, byte [ecx]
xor byte [eax], dl
inc ecx
inc eax
sub edi, 1
jne 0x401800
sub ebp, 1
jne 0x4017f4
mov bl, 9
movzx ecx, byte [esi + 9]
movzx edx, byte [esi + 5]
mov al, byte [esi + 0xd]
mov byte [esi + 0xd], cl
movzx ecx, byte [esi + 1]
mov byte [esi + 9], dl
movzx edx, byte [esi + 0xa]
mov byte [esi + 1], al
mov al, byte [esi + 2]
mov byte [esi + 5], cl
movzx ecx, byte [esi + 0xe]
mov byte [esi + 2], dl
movzx edx, byte [esi + 7]
mov byte [esi + 0xa], al
mov al, byte [esi + 6]
mov byte [esi + 0xe], al
mov al, byte [esi + 3]
mov byte [esi + 6], cl
movzx ecx, byte [esi + 0xb]
mov byte [esi + 3], dl
movzx edx, byte [esi + 0xf]
mov byte [esi + 7], cl
mov byte [esi + 0xb], dl
mov byte [esi + 0xf], al
mov edi, esi
mov ebp, 4
lea esp, [esp]
mov eax, edi
mov ecx, 4
jmp 0x401880
movzx edx, byte [eax]
mov dl, byte [edx + 0x566330]
mov byte [eax], dl
add eax, 4
sub ecx, 1
jne 0x401880
inc edi
sub ebp, 1
jne 0x401870
movzx ecx, bl
shl ecx, 4
add ecx, dword [esp + 0x10]
mov eax, esi
mov ebp, 4
lea ebx, [ebx]
mov edi, 4
mov dl, byte [ecx]
xor byte [eax], dl
inc ecx
inc eax
sub edi, 1
jne 0x4018b5
sub ebp, 1
jne 0x4018b0
test bl, bl
je 0x4018d7
mov eax, esi
call fcn.00401420
dec bl
jmp 0x401812
pop edi
pop ebp
pop ebx
ret

Function at 0x4018e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x589c08]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push esi
mov dword [esp + 8], eax
mov esi, edx
test ecx, ecx
jbe 0x401960
dec ecx
push ebx
shr ecx, 4
push ebp
inc ecx
push edi
lea edi, [eax + 0xb0]
mov dword [esp + 0x10], ecx
jmp 0x401915
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ebp, dword [esi]
mov ebx, dword [esi + 4]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.004017e0
add esp, 4
mov eax, edi
mov ecx, 0x10
mov dl, byte [eax]
xor byte [esi], dl
inc eax
inc esi
sub ecx, 1
jne 0x401938
sub dword [esp + 0x10], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [edi], ebp
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jne 0x401911
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.00511ff3
add esp, 0x1c
ret

Function at 0x401d30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0040e9ed
Function at 0x401d70
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 0x401d89
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401dc4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401dc0
lea ebx, [ebx]
cmp esi, eax
jae 0x401dc4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401db0
cmp esi, eax
jb 0x401dca
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40a406
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40a44e
call fcn.00442a6f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40a44e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a491
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40a47a
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 0x40a47a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40a48e
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 0x40dbc2
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x52d446
call fcn.00513742
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40dbe7
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40dc2d
lea ecx, [ebp - 0x10]
call fcn.004021e0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040d37a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021c0
mov eax, esi
call fcn.0051381a
ret 8

Function at 0x40e956
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00442a6f
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40e98f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0040e5a2
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x40e9ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40ea11
cmp dword [edi + 0x54], 0
jne 0x40ea11
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00442a6f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040e9ae
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x417a28
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x417a6f
call fcn.00442a6f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x417a6f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x417a8b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004175a0
mov esi, eax
test edi, edi
je 0x417a89
test ebx, ebx
je 0x417a89
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4282fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x428316
call fcn.0040f83b
call fcn.00442a6f
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x428336
xor eax, eax
jmp 0x428451
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42832f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42832f
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406ed2
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x428311
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x428393
mov ecx, edi
call fcn.00420e1c
jmp 0x428398
call fcn.00420d06
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x4283aa
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x4283c5
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x42843d
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x428414
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x428407
test eax, eax
jbe 0x428407
push eax
mov ecx, 0x585f34
call fcn.004b86c2
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x4283de
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x42843d
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.00406f0c
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43163b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x58e158], 0
mov dword [ebp - 4], ecx
jne 0x431651
xor eax, eax
jmp 0x43168b
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x431661
call fcn.00442a6f
mov esi, dword [eax + 0xc]
push edi
push dword [0x58dc10]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x431687
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x43168f
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4316ad
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x431689
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0043155d
mov esi, eax
jmp 0x43169f
Function at 0x432fa8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x52d479
call fcn.00513775
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0041ece3
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041e4f0
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00419586
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0041955f
cmp eax, ebx
jne 0x43303f
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00409f13
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0040c22b
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041ec3b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041ed37
xor eax, eax
call fcn.0051381a
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004195ac
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x58e074
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0040bb9c
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.00430be3
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00432442
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0042f3ee
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.004195ac
call fcn.00407a7e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x433002
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4330f1
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00409f13
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x43300f
lea ecx, [ebp - 0x20]
call fcn.0041eeba
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x433113
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00409f13
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0040c22b
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041ec3b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041ed37
xor eax, eax
inc eax
jmp 0x433037
Function at 0x43f965
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x43faa6
push esi
push edi
push 0x54c994
call fcn.004420a9
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x43f9f5
mov esi, dword [ebx + 0x168]
jmp 0x43f9e1
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43f9e1
push edi
call fcn.00414748
push eax
push 0x587c30
call fcn.004420c7
pop ecx
pop ecx
test eax, eax
je 0x43f9e1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x43f9e1
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x43f9a1
lea ecx, [ebx + 0x164]
call fcn.0040a3a4
jmp 0x43faa4
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x43faa4
jmp 0x43fa0b
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.00443a7a
mov esi, dword [eax]
test esi, esi
jne 0x43fa24
xor ebx, ebx
jmp 0x43fa27
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43fa9a
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43fa9a
test edi, edi
je 0x43fa6c
push esi
push 0x587c30
call fcn.004420c7
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x54b870
call fcn.004420c7
pop ecx
pop ecx
test eax, eax
je 0x43fa9a
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.0043eeb7
test eax, eax
jne 0x43fa9a
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043ee87
cmp dword [ebp - 8], 0
jne 0x43fa08
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x448da5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00442c67
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x448e60
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0044892d
jmp 0x448e75
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret
Function at 0x46e846
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x589c08]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x46e87f
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x46e8a6
cmp dword [0x58d280], 0
jne 0x46e8a6
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x46e899
push 0x12
call esi
test bx, ax
je 0x46e89d
mov eax, edi
jmp 0x46e915
push edi
call fcn.00516ba3
pop ecx
jmp 0x46e915
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00513960
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x46e8cf
call fcn.0040f83b
call fcn.00411083
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00511ff3
leave
ret 4