joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448fd0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x364]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 6
push 4
lea ecx, [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x449032
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00435db0
add esp, 8
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
mov edx, dword [ebp - 8]
push edx
call fcn.00444030
add esp, 0xc
jmp 0x449043
push str.TCP_NODELAY_set_n
mov eax, dword [ebp - 8]
push eax
call fcn.00444030
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x4491a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
jne 0x4491a6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c8], 0
je 0x449272
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x449272
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
push 0x449280
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0x34]
push ecx
call fcn.00469ea0
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x449219
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c8], 0
or eax, 0xffffffff
jmp 0x44927a
cmp dword [ebp + 0xc], 0
je 0x449227
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x154]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x17c], 0
je 0x44924f
mov edx, 1
test edx, edx
je 0x44924d
or eax, 0xffffffff
jmp 0x44927a
jmp 0x449270
push 2
push 1
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x154]
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x449270
or eax, 0xffffffff
jmp 0x44927a
jmp 0x449277
or eax, 0xffffffff
jmp 0x44927a
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x44b460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call fcn.0057cbd2
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44b48b
cmp dword [ebp - 4], 0xffffffff
jne 0x44b48f
xor eax, eax
jmp 0x44b492
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45a4d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
jne 0x45a4e3
mov ecx, 2
mov word [ebp - 0x19c], cx
lea edx, [ebp - 0x198]
push edx
movzx eax, word [ebp - 0x19c]
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x45a536
mov ecx, dword [ebp - 0x1a0]
push ecx
push str.WSAStartup_failed___d_
mov edx, dword [ebp + 8]
push edx
call fcn.004440d0
add esp, 0xc
mov eax, 2
jmp 0x45a5a2
call dword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, word [ebp - 0x198]
and eax, 0xff
movzx ecx, al
movzx edx, word [ebp - 0x19c]
and edx, 0xff
movzx eax, dl
cmp ecx, eax
jne 0x45a588
movzx ecx, word [ebp - 0x198]
shr ecx, 8
and ecx, 0xff
movzx edx, cl
movzx eax, word [ebp - 0x19c]
shr eax, 8
and eax, 0xff
movzx ecx, al
cmp edx, ecx
je 0x45a5a0
push str.insufficient_winsock_version_to_support_telnet
mov edx, dword [ebp + 8]
push edx
call fcn.004440d0
add esp, 8
mov eax, 2
jmp 0x45a5a2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret

Function at 0x45a860
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov byte [ebp - 8], 0xff
mov dl, byte [ebp + 0xc]
mov byte [ebp - 7], dl
mov al, byte [ebp + 0x10]
mov byte [ebp - 6], al
push 0
push 3
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x154]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x45a8bd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
push str.Sending_data_failed___d_
mov edx, dword [ebp - 0xc]
push edx
call fcn.004440d0
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.SENT
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0045a8e0
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x45fbb0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x45fbed
push str.Couldnt_set_desired_mode
mov edx, dword [ebp - 4]
push edx
call fcn.004440d0
add esp, 8
mov eax, 0x11
jmp 0x45fc68
cmp dword [ebp + 0xc], 0xc8
je 0x45fc0b
mov eax, dword [ebp + 0xc]
push eax
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
mov ecx, dword [ebp - 4]
push ecx
call fcn.00444030
add esp, 0xc
cmp dword [ebp + 0x10], 0x13
jne 0x45fc22
mov edx, dword [ebp + 8]
push edx
call fcn.0045dc20
add esp, 4
mov dword [ebp - 8], eax
jmp 0x45fc65
cmp dword [ebp + 0x10], 0x14
jne 0x45fc39
mov eax, dword [ebp + 8]
push eax
call fcn.0045fc70
add esp, 4
mov dword [ebp - 8], eax
jmp 0x45fc65
cmp dword [ebp + 0x10], 0x15
jne 0x45fc50
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045fe40
add esp, 4
mov dword [ebp - 8], eax
jmp 0x45fc65
cmp dword [ebp + 0x10], 0x16
jne 0x45fc65
mov edx, dword [ebp + 8]
push edx
call fcn.0045fe70
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4606f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x158]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x460754
mov dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_accept]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004492b0
add esp, 8
cmp dword [ebp - 4], 0xffffffff
jne 0x460785
push str.Error_accept__ing_server_connect
mov eax, dword [ebp - 0x10]
push eax
call fcn.004440d0
add esp, 8
mov eax, 0x1e
jmp 0x46081d
push str.Connection_accepted_from_server_n
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00444030
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x158], eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.00472ac0
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x168], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1b0], 0
je 0x46081b
mov dword [ebp - 0x28], 0
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1b4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1b0]
call edx
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46081b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004492b0
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x158], 0xffffffff
mov eax, 0x2a
jmp 0x46081d
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret
Function at 0x469230
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.00444d80
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0058acec
add esp, 0xc
pop ebp
ret

Function at 0x469900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
sub ecx, 0x61
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x19
ja case.default.0x46991d
mov edx, dword [ebp - 4]
jmp dword [edx*4 + 0x469994]
mov al, 0x41
jmp 0x46998f
mov al, 0x42
jmp 0x46998f
mov al, 0x43
jmp 0x46998f
mov al, 0x44
jmp 0x46998f
mov al, 0x45
jmp 0x46998f
mov al, 0x46
jmp 0x46998f
mov al, 0x47
jmp 0x46998f
mov al, 0x48
jmp 0x46998f
mov al, 0x49
jmp 0x46998f
mov al, 0x4a
jmp 0x46998f
mov al, 0x4b
jmp 0x46998f
mov al, 0x4c
jmp 0x46998f
mov al, 0x4d
jmp 0x46998f
mov al, 0x4e
jmp 0x46998f
mov al, 0x4f
jmp 0x46998f
mov al, 0x50
jmp 0x46998f
mov al, 0x51
jmp 0x46998f
mov al, 0x52
jmp 0x46998f
mov al, 0x53
jmp 0x46998f
mov al, 0x54
jmp 0x46998f
mov al, 0x55
jmp 0x46998f
mov al, 0x56
jmp 0x46998f
mov al, 0x57
jmp 0x46998f
mov al, 0x58
jmp 0x46998f
mov al, 0x59
jmp 0x46998f
mov al, 0x5a
jmp 0x46998f
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x471060
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00581b89
add esp, 4
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x110], 0
cmp dword [ebp - 0x114], 0
je 0x4710ae
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
movsx eax, byte [ebp - 0x110]
test eax, eax
je 0x4710d1
lea ecx, [ebp - 0x110]
push ecx
call dword [0x6252f0]
add esp, 4
mov dword [ebp - 0x118], eax
jmp 0x4710db
mov dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret

Function at 0x475c80
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov byte [eax - 1], 0
cmp dword [ebp - 8], 0
je 0x475cb2
mov eax, dword [ebp - 8]
jmp 0x475cd1
push 0x2e
mov ecx, dword [ebp + 8]
push ecx
call fcn.0057e7b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x475ccf
mov edx, dword [ebp - 4]
mov byte [edx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x475d30
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 8
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x475d67
xor eax, eax
jmp 0x475e20
push 0x14
push 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.0057e200
add esp, 0xc
mov byte [ebp - 0x20], 8
mov byte [ebp - 0x1f], 2
mov dword [ebp - 0x1c], 0x6601
mov dword [ebp - 0x18], 8
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00475e30
add esp, 8
push 8
lea ecx, [ebp - 0x14]
push ecx
call fcn.0047add0
add esp, 8
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x14
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x475dd7
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x475e20
push 8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0057de50
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret
Function at 0x475ff0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push eax
call fcn.0057e4d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
call dword [0x6252e4]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x476027
mov eax, 0x1b
jmp 0x4760ef
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00476100
add esp, 0xc
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x476050
mov eax, dword [ebp - 8]
jmp 0x4760ef
push 0xf0000000
push 1
push 0
push 0
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4760cd
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x8002
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4760c1
mov dword [ebp - 0x18], 0x10
push 0
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 2
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 5
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x10
push ecx
call fcn.0057e200
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call dword [0x6252e8]
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4765e0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xf0000000
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x476618
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop ebp
ret
Function at 0x4793f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
cmp dword [ecx + 4], 2
sete dl
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x479442
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x47941f
xor eax, eax
jmp 0x4794c8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call ecx
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x479491
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
jne 0x479475
push 0x5cfddc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
call fcn.0057ae47
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
jne 0x479475
or eax, 0xffffffff
jmp 0x4794c8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.0057b163
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4794c5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x4794b9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call fcn.0057b511
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x47de72
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5b8d74
call fcn.005828b6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x47de97
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x47dedd
lea ecx, [ebp - 0x10]
call fcn.004092d0
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.0047c2d9
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.004013d0
mov eax, esi
call fcn.0058298e
ret 8
Function at 0x48082d
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 0x480875
call fcn.0047cd11
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x480875
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4808b8
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 0x4808a1
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 0x4808a1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4808b5
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 0x4820aa
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.0047cd11
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 0x4820e3
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.00481cf6
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 0x482141
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 0x482165
cmp dword [edi + 0x54], 0
jne 0x482165
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0047cd11
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.00482102
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 0x48c524
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 0x48c56b
call fcn.0047cd11
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48c56b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x48c587
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048c09c
mov esi, eax
test edi, edi
je 0x48c585
test ebx, ebx
je 0x48c585
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x49c87e
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 [0x629af0]
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 0x49c8b7
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x49c8de
cmp dword [0x62ec48], 0
jne 0x49c8de
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x49c8d1
push 0x12
call esi
test bx, ax
je 0x49c8d5
mov eax, edi
jmp 0x49c94d
push edi
call fcn.00581f8c
pop ecx
jmp 0x49c94d
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0057e200
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x49c907
call fcn.0047c28e
call fcn.0048108e
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.0057976c
leave
ret 4
Function at 0x4ac87b
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 0x4ac895
call fcn.0047c28e
call fcn.0047cd11
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4ac8b5
xor eax, eax
jmp 0x4ac9d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4ac8ae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4ac8ae
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.0047bb48
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x4ac890
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 0x4ac912
mov ecx, edi
call fcn.004a5361
jmp 0x4ac917
call fcn.004a524b
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x4ac929
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x4ac944
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x4ac9bc
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x4ac993
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 0x4ac986
test eax, eax
jbe 0x4ac986
push eax
mov ecx, 0x626994
call fcn.004d6181
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 0x4ac95d
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 0x4ac9bc
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0047bb77
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