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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x56fcee
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push esi
push ebx
push 0x56fd00
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x1f
jne 0x56fcce
push 1
push 0
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404efc
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x56fd10
call fcn.0040502c
mov eax, dword [ebp - 4]
call fcn.004051e0
push eax
push 0x56fd2c
push 0x56fd00
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
test eax, eax
setg bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56fcf5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d28
ret
Function at 0x5fd65c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x5fd679
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5fd66a
add dl, dl
jne 0x5fd684
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5fd6d0
xor eax, eax
add dl, dl
jne 0x5fd691
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5fd76d
add dl, dl
jne 0x5fd6a0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5fd6ab
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5fd6b6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5fd6c1
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x5fd6cb
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x5fd670
mov eax, 1
add dl, dl
jne 0x5fd6de
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5fd6e9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5fd6d5
sub eax, 2
jne 0x5fd718
mov ecx, 1
add dl, dl
jne 0x5fd6fe
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x5fd709
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5fd6f5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5fd670
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x5fd72f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x5fd73a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5fd726
cmp eax, 0x7d00
jae 0x5fd75d
cmp eax, 0x500
jb 0x5fd758
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5fd670
cmp eax, 0x7f
ja 0x5fd760
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5fd670
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x5fd789
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5fd670
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret 8
Function at 0x4036f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46a020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40378c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40376c
xor eax, eax
push ebp
push 0x403765
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4037a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40376c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x46a020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46a020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4045a0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46c04c], 0
je 0x404601
cmp word [0x46c220], 0xd7b2
jne 0x4045c9
cmp dword [0x46c228], 0
jbe 0x4045c9
mov eax, 0x46c21c
call dword [0x46c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46a758
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404628
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46a02c], 0
jne 0x40461d
push 0
push 0x46a750
push 0x46a758
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405d70
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fa0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405df3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fa0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405df3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fbc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405e7c
xor eax, eax
push ebp
push 0x405e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405bac
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e5a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405fdc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e5a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e7c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyn
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405f96
cmp byte [ebp - 0xd], 0
jne 0x405ec3
cmp byte [ebp - 0x12], 0
je 0x405f96
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlen
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405edc
dec ebx
cmp byte [ebx], 0x2e
je 0x405eeb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405edb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405f96
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405f28
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405f96
cmp byte [ebp - 0xd], 0
je 0x405f96
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405f96
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cd8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40ce62
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004047b8
lea eax, [ebp - 4]
call fcn.00404c34
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404be4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ce4c
mov eax, ebx
call fcn.00402d14
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404be4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce2f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ce74
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce2f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce4c
mov eax, dword [ebp - 0x10]
call fcn.00402d30
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce69
lea eax, [ebp - 4]
call fcn.00404720
ret

Function at 0x41f944
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46f304
cmp dword [edi], 0
jne 0x41f9c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46f300]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46ab90
mov ecx, 2
call fcn.00402f04
mov edx, 0x41f91c
lea eax, [esi + 5]
call fcn.0041f93c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f93c
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 0x41f995
mov dword [0x46f300], 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 0x421ea4
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.00404be4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x421efc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46be54]
mov dl, 1
mov eax, dword [0x4219c8]
call fcn.0040c5f4
call fcn.00404168
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00421ad0
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 0x42312c
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 0x423132
ret
Function at 0x432434
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404bd4
xor eax, eax
push ebp
push 0x432569
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43253c
xor edx, edx
push ebp
push 0x432535
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x432481
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43250a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4324f9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4324c0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404be4
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402f04
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432500
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46ba6c]
mov dl, 1
mov eax, dword [0x407ae0]
call fcn.0040c5b8
call fcn.00404168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432570
lea eax, [ebp - 4]
call fcn.00404720
ret
Function at 0x43e190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46f564], 0
je 0x43e2d9
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46bcb8]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43e2d9
mov eax, dword [0x46f568]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46f564]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43e2a8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46f564]
call fcn.00418a2c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43e2a0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43e2a0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43e2a0
mov eax, dword [ebp - 0x14]
call fcn.00448568
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43e2a0
push ebp
call fcn.0043e14c
pop ecx
test al, al
jne 0x43e2a0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403af0
test al, al
je 0x43e2a0
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403af0
cmp byte [ebp - 1], 0
je 0x43e2a0
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43e2a0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46f568]
call fcn.0043d8bc
inc edi
dec ebx
jne 0x43e1f5
mov eax, dword [0x46f568]
cmp dword [eax + 8], 0
jle 0x43e2c0
mov eax, dword [0x46f568]
call fcn.0043d974
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43e2d9
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043dfb0
pop ecx
test al, al
jne 0x43e2d9
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d8cc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46be44]
cmp byte [eax + 0xc], 0
je 0x44da39
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44da32
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46f574], 0
jne 0x44d920
push 0x44da40
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44da48
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f574], eax
cmp dword [0x46b6fc], 0
jne 0x44da1b
push 0x44da58
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46b6fc], eax
cmp dword [0x46b6fc], 0
je 0x44da1b
push 0x44da64
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f578], eax
push 0x44da74
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f57c], eax
push 0x44da88
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f580], eax
push 0x44daa0
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f584], eax
push 0x44dab8
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f588], eax
push 0x44dacc
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f58c], eax
push 0x44dae4
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f590], eax
push 0x44dafc
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f594], eax
push 0x44db18
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f598], eax
push 0x44db24
mov eax, dword [0x46b6fc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f59c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44da39
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4530a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4530fc]
test si, 4
je 0x4530bd
or bl, 1
test si, 8
je 0x4530c7
or bl, 4
test si, 1
je 0x4530d1
or bl, 8
test si, 2
je 0x4530db
or bl, 0x10
test si, 0x10
je 0x4530e5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4530f4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x453100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45313c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45311a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453129
or bl, 4
test esi, 0x20000000
je 0x453134
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45a80c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a81e
add esp, 0xfffffff0
call fcn.00403c18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e884
mov eax, dword [0x46bad8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45abb0
mov eax, dword [0x46bae4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45abbc
mov eax, ebx
call fcn.0045abc8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416680]
call fcn.004038c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416680]
call fcn.004038c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416680]
call fcn.004038c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416680]
call fcn.004038c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416680]
call fcn.004038c4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x456644
push eax
push 0
push 0
mov eax, dword [0x46bc34]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4223b8]
call fcn.00423cac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4223b8]
call fcn.00423cac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4223b8]
call fcn.00423cac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045aff8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aec8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aec8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aec8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a95b
call fcn.00403c70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ba14
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ba2b
add esp, 0xfffffff0
call fcn.00403c18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e884
mov eax, dword [0x46bc20]
cmp word [eax + 2], 0
jne 0x45ba53
mov eax, dword [0x46bc20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d554
mov eax, dword [0x46bcd4]
cmp word [eax + 2], 0
jne 0x45ba6d
mov eax, dword [0x46bcd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d760
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416680]
call fcn.004038c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416680]
call fcn.004038c4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416680]
call fcn.004038c4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422f68]
call fcn.0042ab40
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45bc24
mov eax, dword [0x46bb40]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042af14
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45de20
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46bb40]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d344
test eax, eax
je 0x45bb74
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094a8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d378
test eax, eax
je 0x45bb88
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov byte [ebx + 0xd4], 0
push ebx
push 0x45d0b4
call fcn.0041fa00
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46ba1c]
cmp byte [eax], 0
jne 0x45bbd9
mov eax, ebx
call fcn.0045bd68
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045dffc
mov eax, ebx
call fcn.0045eb5c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45bc19
call fcn.00403c70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f9e4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40750c]
call fcn.004051bc
xor eax, eax
push ebp
push 0x45fb85
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46b850], 0
jne 0x45fa3f
mov ecx, dword [0x46ba2c]
mov dl, 1
mov eax, dword [0x407ae0]
call fcn.0040c5b8
call fcn.00404168
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403230
mov eax, ebx
call fcn.0040508c
mov dword [ebp - 0x24], eax
mov esi, 0x45fb94
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406150
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.0040509c
test eax, eax
jle 0x45fb28
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45fb14
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404990
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x45faba
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004049a8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45fad0
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004049a8
mov eax, dword [ebp - 0x54]
call fcn.00404be4
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404990
mov eax, dword [ebp - 0x58]
call fcn.00404be4
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x45fb16
xor eax, eax
test al, al
je 0x45fb21
mov ebx, 0x15
jmp 0x45fb2d
mov ebx, 0x10
jmp 0x45fb2d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x46b850]
call fcn.0045f868
mov eax, dword [ebp - 4]
call fcn.0045f868
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fb8c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404744
lea eax, [ebp - 0xc]
mov edx, dword [0x40750c]
call fcn.0040528c
ret