joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446be4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446d8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x446d70
mov dl, 1
mov eax, dword [0x40d1b0]
call fcn.00402da4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403afc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x446d5f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004350d8
test al, al
je 0x446d52
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x446da0
lea eax, [ebp - 0x254]
call fcn.004090b4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x446d52
xor eax, eax
push ebp
push 0x446d4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x446dd8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x446d34
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d2c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x446d34
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446d52
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x446c55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040ff3c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446d96
lea eax, [ebp - 0x260]
call fcn.00403afc
ret

Function at 0x447624
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4777d8]
cmp byte [eax + 0x95], 0
jne 0x447695
cmp dword [0x4777f4], 0
jne 0x447656
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4475e0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4777f4], eax
cmp dword [0x4777f0], 0
jne 0x447671
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4777f0], eax
cmp dword [0x4777f8], 0
jne 0x447695
push esp
push 0
push 0
push 0x447584
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4777f8], eax
pop edx
ret
Function at 0x44778c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4477a3
add esp, 0xfffffff0
call fcn.004030d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00413394
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40ceb0]
call fcn.00402da4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40ceb0]
call fcn.00402da4
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x4151ec]
call fcn.0041c7fc
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x447918
mov eax, dword [0x476704]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041cbcc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4492c0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x476704]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a850
test eax, eax
je 0x447896
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a68
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a878
test eax, eax
je 0x4478aa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d2c
mov eax, dword [0x4765cc]
cmp byte [eax], 0
jne 0x4478db
mov eax, ebx
call fcn.00447a04
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44790d
call fcn.0040312c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447c74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4777d8]
cmp dword [eax + 0x24], 0
je 0x447d17
cmp dword [ebx + 0x84], 0
jne 0x447d11
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x447c04
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x447d11
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x447cda
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x447d11
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040e5d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x447ce9
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x448724
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x448759
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403be4
jmp 0x448763
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b50
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x449634
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44966c
mov eax, esi
call fcn.00430e08
test al, al
je 0x44966c
mov eax, dword [ebx + 0x74]
call fcn.00430b0c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44966c
push 0
mov eax, dword [ebx + 0x74]
call fcn.00430b0c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44e788
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x44e811
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x477864
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x44e7fb
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.004094f8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x44e828
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x476900]
mov dl, 1
mov eax, dword [0x44dc2c]
call fcn.00409e30
call fcn.0040352c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e818
lea eax, [ebp - 0x1c]
call fcn.00403afc
ret

Function at 0x44eea4
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0044edc8
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00402fb0
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x44ef08
call fcn.0044e6d0
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x44eefa
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.00402fb0
pop esi
pop ebx
ret

Function at 0x44ef2c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00403f40
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402acc
test ebx, ebx
je 0x44ef77
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x44f054
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44f085
mov ecx, dword [0x4769d4]
mov dl, 1
mov eax, dword [0x44dc2c]
call fcn.00409df4
call fcn.0040352c
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x44f0b2
mov ecx, dword [0x4767f0]
mov dl, 1
mov eax, dword [0x44dc2c]
call fcn.00409df4
call fcn.0040352c
xor eax, eax
push ebp
push 0x44f136
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.00402fb0
cmp byte [ebp + 8], 0
je 0x44f110
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0044efbc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044ee24
jmp 0x44f12c
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0044e9bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f153
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44f318
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0044ec48
xor edx, edx
push ebp
push 0x44f478
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x44f462
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x44f362
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44f36c
call fcn.004035cc
jmp 0x44f47f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ffc4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 4]
mov ebx, eax
test ebx, ebx
jle 0x44f457
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
cmp eax, 0xffffffff
jne 0x44f415
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x44f405
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402fb0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0044f2d0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x44f488]
cmp dl, byte [eax + 0x28]
je 0x44f45e
call fcn.00409cdc
jmp 0x44f45e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0040ffd4
jmp 0x44f45e
cmp eax, ebx
jge 0x44f42e
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ffd4
jmp 0x44f36c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ffc4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040ffe0
cmp ebx, eax
jne 0x44f36c
push ebp
call fcn.0044f2d0
pop ecx
jmp 0x44f45e
push ebp
call fcn.0044f2d0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f47f
mov eax, dword [ebp - 4]
call fcn.0044ec54
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f48c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f5ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044ec48
xor eax, eax
push ebp
push 0x44f591
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44f4dc
call fcn.004035cc
jmp 0x44f598
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44f57b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44f57b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402fb0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x44f57b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004094f8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x44f5c8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x476900]
mov dl, 1
mov eax, dword [0x44dc2c]
call fcn.00409e30
call fcn.0040352c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f598
mov eax, dword [ebp - 4]
call fcn.0044ec54
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f5b5
lea eax, [ebp - 0x28]
call fcn.00403afc
ret
Function at 0x44f614
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f75e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044ec48
xor eax, eax
push ebp
push 0x44f741
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x44f679
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44f679
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x44f72b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44f68c
call fcn.004035cc
jmp 0x44f748
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44f72b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44f72b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.00402fb0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x44f72b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004094f8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x44f778
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x476900]
mov dl, 1
mov eax, dword [0x44dc2c]
call fcn.00409e30
call fcn.0040352c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f748
mov eax, dword [ebp - 4]
call fcn.0044ec54
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f765
lea eax, [ebp - 0x28]
call fcn.00403afc
ret

Function at 0x4510f8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00450d3c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403f40
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x451156
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47681c]
mov dl, 1
mov eax, dword [0x450c34]
call fcn.00409e30
call fcn.0040352c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x451160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403f40
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4511b8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4769fc]
mov dl, 1
mov eax, dword [0x450c34]
call fcn.00409e30
call fcn.0040352c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00450d6c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x453314
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403f40
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45332d
test al, 0x10
jne 0x453331
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4598c0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test bl, bl
je 0x4598dd
test byte [esi + 0x20], 0x10
je 0x4598dd
mov eax, 0x45994c
call fcn.0044d598
jmp 0x45993e
cmp bl, byte [esi + 0x28]
je 0x45993e
test bl, bl
je 0x459916
test byte [esi + 0x20], 0x10
jne 0x45993b
mov cl, 1
mov dl, 1
mov eax, dword [0x459634]
call fcn.004131d4
mov edi, eax
mov dword [esi + 0x48], edi
mov dword [edi + 0x30], esi
mov byte [edi + 0xe], 1
mov eax, edi
call fcn.00413310
mov eax, esi
call fcn.00459970
jmp 0x45993b
test byte [esi + 0x20], 0x10
jne 0x45993b
mov eax, dword [esi + 0x24]
push eax
call sub.winmm.dll_timeKillEvent
push 0
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [esi + 0x48]
call fcn.00402dd4
mov byte [esi + 0x28], bl
pop edi
pop esi
pop ebx
ret

Function at 0x4632a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x46330c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403d2c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004083a4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463313
lea eax, [ebp - 0xc]
call fcn.00403afc
ret

Function at 0x466018
Capabilities:
Set global application hook

Disassembly:
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x465f60
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x475f88], eax
cmp dword [0x475f88], 0
jne 0x46603f
call fcn.00464ea8
ret
Function at 0x4661dc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040412c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x46622b
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404244
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466230
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret

Function at 0x46f2e4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403f30
xor eax, eax
push ebp
push 0x46f42a
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0046f1c4
mov dx, 0x20
mov eax, dword [ebp - 0xc]
call fcn.00454b80
mov edi, eax
test edi, edi
je 0x46f3f9
mov eax, dword [ebp - 4]
call fcn.00403d7c
add eax, 0x20
inc eax
mov dword [ebp - 8], eax
lea ebx, [esi + 0x1096]
mov eax, dword [ebp - 4]
call fcn.00403f40
mov edx, eax
lea eax, [ebx + 0x20]
call fcn.00408a68
mov byte [ebx + 0xd], 0xc
mov byte [ebx + 0xe], 0xff
mov byte [ebx + 0xc], 0xce
mov eax, dword [ebp - 8]
mov dword [ebx + 4], eax
mov eax, edi
call fcn.00454554
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.00403f40
push eax
call sub.kernel32.dll_GetFileAttributesA
and eax, 0xffff
push eax
mov eax, edi
call fcn.00454554
shrd eax, edx, 0x10
shr edx, 0x10
and eax, 0xffff0000
pop edx
or edx, eax
mov dword [ebx + 0x14], edx
mov eax, dword [ebp - 0xc]
call fcn.004084c4
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x2098]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x2098]
mov dword [ebx + 0x1c], eax
inc dword [esi + 0x2098]
mov edx, ebx
mov eax, esi
call fcn.0046ef10
xor ebx, ebx
mov eax, edi
call fcn.00454554
cmp edx, 0
jne 0x46f3e1
cmp eax, 0
jbe 0x46f3f5
jmp 0x46f3e3
jle 0x46f3f5
push ebx
push 1
mov cl, 0xd0
mov edx, edi
mov eax, esi
call fcn.0046f0b0
mov ebx, eax
jmp 0x46f40c
xor ebx, ebx
jmp 0x46f40c
push 0
xor ecx, ecx
mov edx, 0xa2
mov eax, esi
call fcn.0046f16c
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f431
lea eax, [ebp - 0xc]
call fcn.00403afc
lea eax, [ebp - 4]
call fcn.00403afc
ret
Function at 0x470f30
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x470f9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi + 0x8e], 0
mov eax, dword [esi + 0xc]
call fcn.00402dd4
xor eax, eax
mov dword [esi + 0xc], eax
test bl, bl
je 0x470f7e
mov edx, dword [esi + 0x7e]
mov eax, dword [esi + 0x28]
call fcn.00454954
mov eax, dword [esi + 0x7a]
push eax
mov eax, dword [esi + 0x28]
call fcn.00403f40
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x470f8c
mov eax, dword [esi + 0x28]
call fcn.00403f40
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470fa1
ret