joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x45468c
push ebx
mov ebx, dword [ebp + 8]
call fcn.0044938c
mov dword [ebp - 8], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00424cfb
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
lea eax, [ebp + 0xc]
call fcn.0042517e
test eax, eax
je 0x407508
push 1
push 0
push 0
cmp dword [ebp + 0xc], 0
je 0x4074ac
mov edx, dword [ebp + 0xc]
jmp 0x4074b1
mov edx, 0x4554c0
push edx
push str.open
mov eax, dword [ebx + 0x204]
push eax
call sub.SHELL32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x4074e8
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 8]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x407526
mov al, 1
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 8]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x407526
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 8]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40752c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x4546b0
call fcn.0044938c
mov dword [ebp - 8], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00424cfb
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
lea eax, [ebp + 0xc]
call fcn.0042517e
test eax, eax
je 0x4075c2
mov edx, dword [ebp + 0x10]
push edx
cmp dword [ebp + 0xc], 0
je 0x407572
mov ecx, dword [ebp + 0xc]
jmp 0x407577
mov ecx, 0x4554c1
push ecx
call sub.KERNEL32.dll_WinExec
cmp eax, 0x20
ja 0x4075a2
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 8]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4075e0
mov al, 1
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 8]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x4075e0
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 8]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x407fb8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov eax, 0x454c5c
push ebx
push esi
lea esi, [ebp - 0x48]
call fcn.0044938c
mov eax, 0x4396a0
mov dl, 1
call fcn.00439754
mov word [esi + 0x10], 8
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
inc dword [esi + 0x1c]
mov eax, ebx
mov word [esi + 0x10], 0x14
mov word [esi + 0x10], 0x20
mov dword [ebp - 8], edx
mov edx, 0x80000001
inc dword [esi + 0x1c]
mov word [esi + 0x10], 0x14
call fcn.00444c9c
mov word [esi + 0x10], 0x2c
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionexplorerShell_Folders
lea eax, [ebp - 0xc]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00424f24
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00439930
cmp al, 1
jne 0x4080aa
mov word [esi + 0x10], 0x38
mov edx, 0x455633
lea eax, [ebp - 0x10]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x14]
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, ebx
inc dword [esi + 0x1c]
call fcn.00439afc
lea edx, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00424f24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00424f24
jmp 0x408148
mov edx, 0x80000002
mov eax, ebx
call fcn.00444c9c
mov word [esi + 0x10], 0x44
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionexplorerUser_Shell_Folders
lea eax, [ebp - 0x18]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00424f24
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00439930
mov word [esi + 0x10], 0x50
mov edx, str.Personal
lea eax, [ebp - 0x1c]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, ebx
inc dword [esi + 0x1c]
call fcn.00439afc
lea edx, [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00424f24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00424f24
mov eax, ebx
call fcn.004397bc
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0
je 0x408171
mov word [esi + 0x10], 0x68
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x5c
mov word [esi + 0x10], 0x74
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.00424f53
mov eax, dword [ebp + 8]
mov edx, 2
mov word [esi + 0x10], 0x80
push eax
lea eax, [ebp - 8]
dec dword [esi + 0x1c]
call fcn.00424f24
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00424f24
pop eax
mov word [esi + 0x10], 0x74
inc dword [esi + 0x1c]
mov edx, dword [esi]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
mov eax, 0x454f84
push ebx
push esi
push edi
lea esi, [ebp - 0x40]
mov edi, dword [ebp + 0xc]
call fcn.0044938c
mov eax, 0x4396a0
mov dl, 1
call fcn.00439754
mov word [esi + 0x10], 8
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
inc dword [esi + 0x1c]
lea eax, [ebp - 0x4c]
mov word [esi + 0x10], 0x14
mov word [esi + 0x10], 0x20
mov dword [ebp - 8], edx
inc dword [esi + 0x1c]
xor ecx, ecx
mov word [esi + 0x10], 0x14
mov dword [ebp - 0x48], 0x104
mov dword [ebp - 0x4c], ecx
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x408637
mov byte [ebp - 0x150], 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x150]
push ecx
lea eax, [ebp - 0x44]
push eax
push 0
push str.Version
mov edx, dword [ebp - 0x4c]
push edx
call sub.ADVAPI32.dll_RegQueryValueExA
lea ecx, [ebp - 0x150]
push ecx
call fcn.0044d11c
pop ecx
mov dword [edi + 0x1e8], eax
jmp 0x408641
mov dword [edi + 0x1e8], 3
mov eax, dword [ebp - 0x4c]
push eax
call sub.ADVAPI32.dll_RegCloseKey
mov edx, 0x80000002
mov eax, ebx
call fcn.00444c9c
mov word [esi + 0x10], 0x2c
mov edx, str.SOFTWAREMicrosoftInternet_ExplorerMain
lea eax, [ebp - 0xc]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00424f24
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00439930
test al, al
je 0x4086f5
mov word [esi + 0x10], 0x38
mov edx, str.Search_Page
lea eax, [ebp - 0x10]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x14]
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, ebx
inc dword [esi + 0x1c]
call fcn.00439afc
lea edx, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00424f24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00424f24
mov eax, ebx
call fcn.004397bc
jmp 0x408726
mov word [esi + 0x10], 0x44
mov edx, str.www.yahoo.com
lea eax, [ebp - 0x18]
call fcn.00424cc4
inc dword [esi + 0x1c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00424f53
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00424f24
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], 0
je 0x408748
mov word [esi + 0x10], 0x5c
mov edx, 3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x50
mov word [esi + 0x10], 0x68
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.00424f53
mov eax, dword [ebp + 8]
mov edx, 2
mov word [esi + 0x10], 0x74
push eax
lea eax, [ebp - 8]
dec dword [esi + 0x1c]
call fcn.00424f24
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00424f24
pop eax
mov word [esi + 0x10], 0x68
inc dword [esi + 0x1c]
mov edx, dword [esi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c384
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [0x456a64]
mov dword [ebp - 0x10], eax
mov eax, dword [0x456a68]
mov dword [ebp - 0xc], eax
mov ax, word [0x456a6c]
mov word [ebp - 8], ax
mov dword [ebp - 4], 2
mov dl, byte [ebp - 4]
add dl, 0x61
mov byte [ebp - 0x10], dl
lea ecx, [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_GetDriveTypeA
cmp eax, 5
jne 0x40c3ca
mov eax, dword [ebp - 4]
jmp 0x40c3d6
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jl 0x40c3ae
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x40c3da
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [0x456a6e]
mov dword [ebp - 0x10], eax
mov eax, dword [0x456a72]
mov dword [ebp - 0xc], eax
mov ax, word [0x456a76]
mov word [ebp - 8], ax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x1a
jge 0x40c42e
mov cl, byte [ebp - 4]
add cl, 0x61
mov byte [ebp - 0x10], cl
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.dll_GetDriveTypeA
cmp eax, 5
jne 0x40c425
mov eax, dword [ebp - 4]
jmp 0x40c431
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jl 0x40c409
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x40c4ab
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
xor eax, eax
mov al, byte [ebp + 8]
push eax
call sub.USER32.dll_MapVirtualKeyA
mov byte [ebp - 1], al
push 0
xor edx, edx
mov dl, byte [ebp + 0xc]
or edx, 2
push edx
mov cl, byte [ebp - 1]
push ecx
mov al, byte [ebp + 8]
push eax
call sub.USER32.dll_keybd_event
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

Function at 0x40c4dd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push str.rundll32.exe_shell32.dll_Control_RunDLL
lea eax, [ebp - 0x108]
push eax
call fcn.00444e60
add esp, 8
cmp dword [ebp + 8], 0
je 0x40c539
push 0x456b44
lea edx, [ebp - 0x108]
push edx
call fcn.00444dd8
add esp, 8
push dword [ebp + 8]
lea ecx, [ebp - 0x108]
push ecx
call fcn.00444dd8
add esp, 8
push 5
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.dll_WinExec
mov dword [ebp - 4], eax
jmp 0x40c54a
push 5
lea edx, [ebp - 0x108]
push edx
call sub.KERNEL32.dll_WinExec
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1f
jbe 0x40c557
mov eax, 1
jmp 0x40c559
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x428d30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45b9d8
cmp dword [edi], 0
jne 0x428dac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x45b9d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45775c
mov ecx, 2
call fcn.0044026c
mov edx, 0x428d08
lea eax, [esi + 5]
call fcn.00428d28
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428d28
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x428d81
mov dword [0x45b9d4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x428eb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x428f00]
test si, 4
je 0x428ec4
or bl, 1
test si, 8
je 0x428ece
or bl, 4
test si, 1
je 0x428ed8
or bl, 8
test si, 2
je 0x428ee2
or bl, 0x10
test si, 0x10
je 0x428eec
or bl, 0x20
push 0x12
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x428efb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x428f04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x428f3c]
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x428f1d
or bl, 1
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x428f2c
or bl, 4
test esi, 0x20000000
je 0x428f37
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x42ca40
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42cbe7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x40ec74
call fcn.004405a4
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00440b94
push 0
call sub.USER32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x42cbbd
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.00423a18
test al, al
je 0x42cbb0
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x42cbf8
lea eax, [ebp - 0x254]
call fcn.004432d8
push eax
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x42cbb0
xor eax, eax
push ebp
push 0x42cba9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x42cc30
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
jne 0x42cb92
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00440cf0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x2c]
jne 0x42cb92
mov eax, dword [ebp - 4]
add eax, 0x28
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00440cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cbb0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x42cab3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov byte [eax + 0x15], 0
mov dl, 1
call fcn.0041102c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cbee
lea eax, [ebp - 0x260]
call fcn.00440b94
ret

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

Disassembly:
push ecx
mov eax, dword [0x45b9b0]
cmp byte [eax + 0x80], 0
jne 0x42cdca
cmp dword [0x45b9dc], 0
jne 0x42cda6
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x42cd30
push eax
push 3
call sub.USER32.dll_SetWindowsHookExA
mov dword [0x45b9dc], eax
cmp dword [0x45b9e0], 0
jne 0x42cdca
push esp
push 0
push 0
push 0x42cce0
push 0x3e8
push 0
call sub.KERNEL32.dll_CreateThread
mov dword [0x45b9e0], eax
pop edx
ret
Function at 0x42cdcc
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x45b9dc], 0
je 0x42cde0
mov eax, dword [0x45b9dc]
push eax
call sub.USER32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x45b9dc], eax
cmp dword [0x45b9e0], 0
je 0x42cdfd
push 0
mov eax, dword [0x45b9e0]
push eax
call sub.KERNEL32.dll_TerminateThread
xor eax, eax
mov dword [0x45b9e0], eax
ret

Function at 0x42ce9c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42ceb3
add esp, 0xfffffff0
call fcn.00440740
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004146fc
mov dl, 1
mov eax, 0x40e938
call fcn.004405a4
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x40e938
call fcn.004405a4
mov dword [ebx + 0x84], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov byte [ebx + 0x7e], 0
mov dl, 1
mov eax, 0x42f450
call fcn.00434370
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x42d000
mov eax, dword [0x45ba9c]
push eax
call sub.USER32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043470c
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42e388
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45ba9c]
push eax
call sub.KERNEL32.dll_GetModuleFileNameA
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.0044449c
test eax, eax
je 0x42cf94
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00442d3c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004444c4
test eax, eax
je 0x42cfa8
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00440cf0
cmp byte [0x45bac0], 0
jne 0x42cfd8
mov eax, ebx
call fcn.0042d098
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42cff7
call fcn.00440788
pop dword fs:[0]
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42da9c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7f], 0
je 0x42dace
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.USER32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00440c74
jmp 0x42dad8
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00440c28
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42e560
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x42e598
mov eax, esi
call fcn.00421cac
test al, al
je 0x42e598
mov eax, dword [ebx + 0x60]
call fcn.00421b14
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x42e598
push 0
mov eax, dword [ebx + 0x60]
call fcn.00421b14
push eax
call sub.USER32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x42f514
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42f51a
ret
Function at 0x435108
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00440b94
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x435169
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x435169
cmp byte [ebp - 0x102], 0
je 0x435169
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00440cf0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436388
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x436409
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x4363ba
add word [ebp - 6], 0x2000
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x4363cc
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4363d8
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00436260
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4363fd
push ebp
mov eax, dword [ebp - 4]
call fcn.004362fc
pop ecx
mov ebx, eax
cmp bl, 2
je 0x4363d8
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x439b88
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.004396fc
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.00440ecc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.dll_RegSetValueExA
test eax, eax
je 0x439be5
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, 0xf0bc
mov dl, 1
mov eax, 0x43964c
call fcn.00443eac
call fcn.00440ab4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x439bf0
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.00440ecc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x439c47
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, 0xf0bd
mov dl, 1
mov eax, 0x43964c
call fcn.00443eac
call fcn.00440ab4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043972c
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 0x440318
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x440347
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00440c74
jmp 0x440365
call sub.KERNEL32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004402ac
mov edi, eax
test ebx, ebx
je 0x440365
cmp dword [esi], 0
je 0x440365
dec ebx
jmp 0x44034e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x44351c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x443555
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00440c74
jmp 0x44355e
mov eax, ebx
mov edx, esi
call fcn.00440c28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x443568
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x443589
mov al, byte [esp]
jmp 0x44358b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x44a00c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0xff
mov eax, dword [ebp + 8]
push eax
push 0x45c1bc
call fcn.0044b3c8
add esp, 0xc
lea edx, [ebp - 8]
push 0
push 0
push 0
push edx
push 0x45c1bc
call fcn.0044a260
add esp, 0x14
push 0x459cd8
lea ecx, [ebp - 8]
push ecx
call fcn.00444dd8
add esp, 8
mov byte [0x45c1bc], 0
push 0
push 0
push 0
push 0
push 0
push 0xff
push 0x45c1bc
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.dll_GetVolumeInformationA
test eax, eax
je 0x44a07f
mov eax, 0x45c1bc
jmp 0x44a081
xor eax, eax
pop ecx
pop ecx
pop ebp
ret