joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443af4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x443b06
add esp, 0xfffffff0
call fcn.00404974
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ff70
mov eax, dword [0x4958c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x443e98
mov eax, dword [0x4958d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x443ea4
mov eax, ebx
call fcn.00443eb0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00404620
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00404620
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00404620
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00404620
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00404620
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, 0x43f560
push eax
push 0
push 0
mov eax, dword [0x495a80]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422d58]
call fcn.004244d4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422d58]
call fcn.004244d4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422d58]
call fcn.004244d4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004442e0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4441b0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4441b0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4441b0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x443c43
call fcn.004049cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x443f94
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 0x44413f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x444120
mov dl, 1
mov eax, dword [0x41783c]
call fcn.00404620
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405530
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44410f
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.0045d9e0
test al, al
je 0x444102
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, 0x444150
lea eax, [ebp - 0x254]
call fcn.0040af20
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x444102
xor eax, eax
push ebp
push 0x4440fb
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 0x444188
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4440e4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004057a0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4440e4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004057a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444102
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x444005
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b60c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444146
lea eax, [ebp - 0x260]
call fcn.00405530
ret

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

Disassembly:
push ecx
mov eax, dword [0x49ac1c]
cmp byte [eax + 0xad], 0
jne 0x444b29
cmp dword [0x49ac38], 0
jne 0x444aea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x444a74
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49ac38], eax
cmp dword [0x49ac34], 0
jne 0x444b05
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49ac34], eax
cmp dword [0x49ac3c], 0
jne 0x444b29
push esp
push 0
push 0
push 0x444a18
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49ac3c], eax
pop edx
ret
Function at 0x444cfc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x444d13
add esp, 0xfffffff0
call fcn.00404974
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ff70
mov eax, dword [0x495a60]
cmp word [eax + 2], 0
jne 0x444d3b
mov eax, dword [0x495a60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00446740
mov eax, dword [0x495b40]
cmp word [eax + 2], 0
jne 0x444d55
mov eax, dword [0x495b40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044694c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417418]
call fcn.00404620
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00404620
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417418]
call fcn.00404620
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 [0x423790]
call fcn.0042ae74
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x444f0c
mov eax, dword [0x495954]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b248
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x447010
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x495954]
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.0040ea40
test eax, eax
je 0x444e5c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a8c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ea74
test eax, eax
je 0x444e70
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.004057a0
mov byte [ebx + 0xd4], 0
push ebx
push 0x446424
call fcn.004210ec
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4957e8]
cmp byte [eax], 0
jne 0x444ec1
mov eax, ebx
call fcn.00445050
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.004471e8
mov eax, ebx
call fcn.00447d4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444f01
call fcn.004049cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4452d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x44536f
cmp dword [ebx + 0x94], 0
jne 0x445369
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x445258
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x445369
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 0x44532f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x445369
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004198b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44533e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x445588
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49ac1c]
cmp dword [eax + 0x30], 0
je 0x4456e5
test bl, bl
jne 0x445636
cmp dword [esi + 0x9c], 0
jne 0x44562b
mov eax, esi
call fcn.00447bc8
push eax
push 0x4454b4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4455fc
mov eax, dword [0x49ac1c]
call fcn.004481b8
test al, al
je 0x4455fc
mov eax, dword [0x49ac40]
call fcn.00406774
mov edi, eax
cmp edi, 0
jl 0x4455fc
push 0
mov eax, dword [0x49ac40]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4455e6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x44562b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004198b4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x44560b
inc dword [esi + 0x9c]
jmp 0x4456e5
cmp dword [esi + 0x9c], 0
jle 0x4456e5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4456e5
cmp dword [esi + 0x44], 0
je 0x445691
mov eax, dword [0x49ac1c]
call fcn.004481b8
test al, al
je 0x445691
mov eax, dword [0x49ac40]
call fcn.00406774
mov edi, eax
cmp edi, 0
jl 0x445691
push 5
mov eax, dword [0x49ac40]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x44567b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4456c0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004198b4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4456a0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x49ac40
mov ecx, 1
mov edx, dword [0x445494]
call fcn.00406928
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x446178
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4461e2
mov eax, ebx
call fcn.004481b8
test al, al
jne 0x4461e2
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405620
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4461cf
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4461ef
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405584
jmp 0x4461ef
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405584
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4473cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44743a
mov eax, esi
call fcn.004588a0
test al, al
je 0x44743a
mov eax, dword [ebx + 0x84]
call fcn.00458594
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44743a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x44742e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458594
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00450750
jmp 0x44743a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00447208
pop esi
pop ebx
ret
Function at 0x44dfe8
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 [0x49aca8], 0
je 0x44e131
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x495b10]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44e131
mov eax, dword [0x49acac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x49aca8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44e100
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x49aca8]
call fcn.004198b4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44e0f8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44e0f8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44e0f8
mov eax, dword [ebp - 0x14]
call fcn.00458594
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e0f8
push ebp
call fcn.0044dfa4
pop ecx
test al, al
jne 0x44e0f8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0040484c
test al, al
je 0x44e0f8
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.0040484c
cmp byte [ebp - 1], 0
je 0x44e0f8
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e0f8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x49acac]
call fcn.0044d714
inc edi
dec ebx
jne 0x44e04d
mov eax, dword [0x49acac]
cmp dword [eax + 8], 0
jle 0x44e118
mov eax, dword [0x49acac]
call fcn.0044d7cc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44e131
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044de08
pop ecx
test al, al
jne 0x44e131
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 0x455490
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040773c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00450370
test ebx, ebx
jne 0x4554e3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004553cc
mov ebx, eax
test ebx, ebx
je 0x4555ce
cmp esi, ebx
je 0x45550c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x455521
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x455559
add eax, 0xffffff5f
sub eax, 2
jb 0x455571
dec eax
sub eax, 2
jb 0x455585
dec eax
sub eax, 2
jb 0x45557b
jmp 0x45558f
add eax, 0xfffffdff
sub eax, 2
jb 0x455571
dec eax
sub eax, 2
jb 0x455585
dec eax
sub eax, 2
jb 0x45557b
jmp 0x45558f
mov byte [esp + 0x120], 0
jmp 0x455597
mov byte [esp + 0x120], 2
jmp 0x455597
mov byte [esp + 0x120], 1
jmp 0x455597
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0043bc2c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00451ae8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4555d0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x45d684
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x495d2c]
cmp byte [eax + 0xc], 0
je 0x45d7f1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d7ea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49acb8], 0
jne 0x45d6d8
push 0x45d7f8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45d800
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acb8], eax
cmp dword [0x49377c], 0
jne 0x45d7d3
push 0x45d810
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49377c], eax
cmp dword [0x49377c], 0
je 0x45d7d3
push 0x45d81c
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acbc], eax
push 0x45d82c
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acc0], eax
push 0x45d840
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acc4], eax
push 0x45d858
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acc8], eax
push 0x45d870
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49accc], eax
push 0x45d884
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acd0], eax
push 0x45d89c
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acd4], eax
push 0x45d8b4
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acd8], eax
push 0x45d8d0
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acdc], eax
push 0x45d8dc
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49ace0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d7f1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f580
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
call fcn.0040a274
test al, al
je 0x45f6be
lea eax, [ebp - 0x68]
call fcn.0045eacc
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call fcn.004059dc
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x45f6a7
xor eax, eax
push ebp
push 0x45f6a0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45f689
xor eax, eax
push ebp
push 0x45f682
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45f66b
xor eax, eax
push ebp
push 0x45f664
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
call fcn.0045eaf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f66b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f689
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f6a7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x68]
call fcn.0045eb84
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x78]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4603d4
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
cmp byte [ebx + 0x30], 0
jne 0x460454
movzx eax, word [ebx + 0x3e]
push eax
movzx eax, byte [ebx + 0x44]
mov eax, dword [eax*4 + 0x493948]
push eax
movzx eax, byte [ebx + 0x3c]
mov eax, dword [eax*4 + 0x4938e8]
push eax
call sub.wsock32.dll_socket
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov esi, eax
mov dword [ebx + 0x40], esi
inc esi
setne al
mov byte [ebx + 0x30], al
test al, al
je 0x460454
cmp byte [ebx + 0x31], 1
jne 0x46043f
mov dword [esp], 1
push esp
push 0x8004667e
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_ioctlsocket
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, ebx
mov si, 0xffef
call fcn.0040484c
pop edx
pop esi
pop ebx
ret
Function at 0x460654
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.00405530
test ebx, ebx
je 0x4606f2
movzx eax, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x460691
mov eax, ebx
call fcn.004059dc
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x4606fe
mov eax, esi
mov edx, ebx
call fcn.00405584
jmp 0x4606fe
mov eax, ebx
call fcn.004059dc
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4606fe
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
movzx eax, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
movzx eax, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
movzx eax, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
movzx eax, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x460710
call fcn.0040afa0
jmp 0x4606fe
mov eax, esi
mov edx, 0x460724
call fcn.00405584
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x460768
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00405530
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
jne 0x4607a5
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004057a0
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x46196c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
movzx eax, bl
cmp eax, 0x5b
jge 0x4619a8
cmp eax, 0x2e
jge 0x461990
sub eax, 0x23
je 0x4619f6
sub eax, 2
je 0x4619d7
sub eax, 6
je 0x4619d7
jmp 0x461a11
add eax, 0xffffffd2
sub eax, 0xc
jb 0x4619d7
sub eax, 5
je 0x4619d7
dec eax
je 0x4619f6
dec eax
sub eax, 0x1a
jb 0x4619d7
jmp 0x461a11
cmp eax, 0xa3
jg 0x4619c6
je 0x4619d7
add eax, 0xffffffa5
sub eax, 4
jb 0x4619f6
dec eax
je 0x4619f6
add eax, 0xffffffe5
sub eax, 4
jb 0x4619f6
jmp 0x461a11
sub eax, 0xa7
je 0x4619d7
sub eax, 9
je 0x4619d7
sub eax, 5
jne 0x461a11
mov dl, 1
mov al, 0x10
call fcn.00461918
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.0046194c
xor edx, edx
mov al, 0x10
call fcn.00461918
pop ebx
ret
mov al, 1
call fcn.00461934
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.0046194c
xor eax, eax
call fcn.00461934
pop ebx
ret
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.0046194c
pop ebx
ret

Function at 0x465804
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x465819
or edx, 0x200
test eax, 0x20000000
je 0x46584c
test eax, 0x40000000
je 0x465838
test eax, 0x80000000
je 0x465833
or edx, 0x40
jmp 0x465873
or edx, 0x20
jmp 0x465873
test eax, 0x80000000
je 0x465847
or edx, 0x80
jmp 0x465873
or edx, 0x10
jmp 0x465873
test eax, 0x40000000
je 0x465864
test eax, 0x80000000
je 0x46585f
or edx, 4
jmp 0x465873
or edx, 2
jmp 0x465873
test eax, 0x80000000
je 0x465870
or edx, 8
jmp 0x465873
or edx, 1
mov eax, edx
pop ebp
ret 4