joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424178
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004c5abc
xor eax, eax
push ebp
push 0x424281
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x424263
mov eax, dword [ebp - 4]
call fcn.004888e8
test eax, eax
je 0x424263
mov edx, 0x424298
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x424219
mov eax, dword [ebp - 4]
call fcn.004888e8
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call sym.Project1.exe__Shellctrls_TShellFolder_PathName_qqrv
mov eax, dword [ebp - 0x14]
call fcn.004b4068
test al, al
jne 0x424263
mov eax, dword [ebp - 4]
call fcn.004888e8
xor edx, edx
call fcn.004861e4
mov eax, dword [ebp - 4]
call fcn.004888e8
call fcn.004870b0
lea eax, [ebp - 0x10]
call fcn.004b8ee4
jmp 0x424263
mov edx, 0x4242a8
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x42423e
mov eax, dword [ebp - 4]
call fcn.004888e8
mov edx, eax
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellTreeView_Refresh_qqrp18Comctrls_TTreeNode
jmp 0x424263
mov edx, 0x4242b8
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x424263
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call fcn.004c5acc
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424288
lea eax, [ebp - 0x14]
call fcn.004c561c
lea eax, [ebp - 8]
call fcn.004c561c
ret
Function at 0x4242c0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
xor ebx, ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004c5abc
xor eax, eax
push ebp
push 0x4243e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4243f8
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x424332
mov eax, dword [ebp - 4]
call fcn.004888e8
test eax, eax
je 0x424332
mov eax, dword [ebp - 4]
call fcn.004888e8
call fcn.00486f9c
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
jmp 0x4243bc
mov edx, 0x424408
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x4243bc
lea eax, [ebp - 0x111]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x111]
call fcn.004b45d8
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
add eax, 0x368
call fcn.004c5670
mov eax, dword [ebp - 4]
call fcn.004888e8
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x120]
call sym.Project1.exe__Shellctrls_TShellFolder_PathName_qqrv
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x11c]
call fcn.004b4210
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x111]
call fcn.004b4478
lea eax, [ebp - 0x111]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4243e9
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.004c5640
lea eax, [ebp - 8]
call fcn.004c561c
ret
Function at 0x424634
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4247aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e1f14]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x1a], ax
mov eax, dword [0x4e1f14]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0045f968
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0048787c
xor eax, eax
push ebp
push 0x42478d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4246f6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.004c73d4
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.00422310
push eax
mov eax, dword [0x4e1f10]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4246ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004c5164
jmp 0x424794
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424739
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0048745c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellTreeView_InitNode_qqrp18Comctrls_TTreeNodep11_ITEMIDLISTt1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x424711
push 0
mov edx, 0x424410
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00487014
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424794
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004878c8
mov eax, dword [0x4e1f14]
mov eax, dword [eax]
mov dx, word [ebp - 0x1a]
call fcn.0045f968
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4247b1
lea eax, [ebp - 0x10]
call fcn.004c73d4
ret
Function at 0x424a18
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x424b48
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x424a64
mov eax, dword [ebp - 8]
call fcn.00486f50
test eax, eax
jg 0x424b2d
mov eax, dword [ebp - 4]
cmp word [eax + 0x312], 0
je 0x424a8a
lea eax, [ebp - 9]
push eax
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x314]
call dword [ebx + 0x310]
cmp byte [ebp - 9], 0
je 0x424b18
mov eax, dword [ebp - 0x10]
call sym.Project1.exe__Shellctrls_TShellFolder_IsFolder_qqrv
test al, al
je 0x424ac5
mov eax, dword [ebp - 8]
call fcn.00486808
test al, al
je 0x424ac5
mov eax, dword [ebp - 8]
call fcn.00486c04
test eax, eax
jne 0x424ac5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellTreeView_PopulateNode_qqrp18Comctrls_TTreeNode
jmp 0x424b18
mov eax, dword [ebp - 0x10]
call sym.Project1.exe__Shellctrls_TShellFolder_IsFolder_qqrv
test al, al
jne 0x424b18
push 0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call sym.Project1.exe__Shellctrls_TShellFolder_PathName_qqrv
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004b4210
mov eax, dword [ebp - 0x14]
call fcn.004c5acc
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call sym.Project1.exe__Shellctrls_TShellFolder_PathName_qqrv
mov eax, dword [ebp - 0x1c]
call fcn.004c5acc
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00477050
push eax
call sub.SHELL32.DLL_ShellExecuteA
mov eax, dword [ebp - 8]
call fcn.00486c04
test eax, eax
setg dl
mov eax, dword [ebp - 8]
call fcn.00486870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424b4f
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004c5640
ret
Function at 0x425c50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
test dl, dl
je 0x425c65
add esp, 0xfffffff0
call fcn.004c4c50
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049b188
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2b0], edx
push 0x4001
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x425d2c
call sub.SHELL32.DLL_SHGetFileInfoA
mov edx, dword [ebp - 4]
mov dword [edx + 0x298], eax
mov eax, dword [ebp - 4]
add eax, 0x29c
push eax
mov eax, dword [ebp - 4]
add eax, 0x2a0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x298]
push eax
call sub.COMCTL32.DLL_ImageList_GetIconSize
mov eax, dword [ebp - 4]
mov byte [eax + 0x2be], 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049b4a0
mov eax, dword [ebp - 4]
mov dl, byte [0x425d30]
mov byte [eax + 0x2bc], dl
mov eax, dword [ebp - 4]
add eax, 0x2ac
mov edx, 0x425d3c
call fcn.004c5670
mov eax, dword [ebp - 4]
mov byte [eax + 0x2bd], 1
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x425d24
call fcn.004c4ca8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x426628
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
mov edx, dword [eax]
call dword [edx + 0x20]
xor eax, eax
push ebp
push 0x4266ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2b0]
xor edx, edx
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellComboBox_AddItems_qqrip23Shellctrls_TShellFolder
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ac]
mov edx, 0x4266e0
call fcn.004c5a18
jne 0x4266ae
lea eax, [ebp - 8]
push eax
push 0x11
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellComboBox_IndexFromID_qqrp11_ITEMIDLIST
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4266ae
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellComboBox_GetFolder_qqri
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellComboBox_AddItems_qqrip23Shellctrls_TShellFolder
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4266d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x284]
mov edx, dword [eax]
call dword [edx + 0x24]
ret
Function at 0x426f84
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
test dl, dl
je 0x426f99
add esp, 0xfffffff0
call fcn.004c4c50
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048f074
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x380], edx
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0048fee0
mov eax, dword [ebp - 4]
mov byte [eax + 0x387], 1
mov eax, dword [ebp - 4]
mov dl, byte [0x4270b8]
mov byte [eax + 0x389], dl
mov eax, dword [ebp - 4]
mov byte [eax + 0x384], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x386], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x385], 0
mov dl, 1
mov eax, dword [0x4a4374]
call fcn.004c48bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3a0], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3a4], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x388], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x3b8], 0
push 0x4001
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x4270bc
call sub.SHELL32.DLL_SHGetFileInfoA
mov edx, dword [ebp - 4]
mov dword [edx + 0x390], eax
push 0x4000
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x4270bc
call sub.SHELL32.DLL_SHGetFileInfoA
mov edx, dword [ebp - 4]
mov dword [edx + 0x38c], eax
mov eax, dword [ebp - 4]
add eax, 0x37c
mov edx, 0x4270c8
call fcn.004c5670
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049033c
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4270af
call fcn.004c4ca8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x427194
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004c5abc
xor eax, eax
push ebp
push 0x427226
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x427210
mov edx, 0x42723c
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
jne 0x4271e1
mov edx, 0x42724c
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x4271eb
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellListView_Refresh_qqrv
jmp 0x427210
mov edx, 0x42725c
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x427210
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
call fcn.004c5acc
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42722d
lea eax, [ebp - 8]
call fcn.004c561c
ret
Function at 0x427264
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
xor ebx, ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004c5abc
xor eax, eax
push ebp
push 0x427385
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x42739c
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x4272c5
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellListView_EditText_qqrv
mov eax, dword [ebp - 0xc]
mov byte [eax], 1
jmp 0x42735f
mov edx, 0x4273ac
mov eax, dword [ebp - 8]
call fcn.004b393c
test al, al
je 0x42735f
lea eax, [ebp - 0x111]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x111]
call fcn.004b45d8
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
add eax, 0x3bc
call fcn.004c5670
mov eax, dword [ebp - 4]
call fcn.00491d3c
call fcn.0048e498
mov edx, eax
mov eax, dword [ebp - 4]
call sym.Project1.exe__Shellctrls_TCustomShellListView_GetFolder_qqri
lea edx, [ebp - 0x120]
call sym.Project1.exe__Shellctrls_TShellFolder_PathName_qqrv
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x11c]
call fcn.004b4210
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x111]
call fcn.004b4478
lea eax, [ebp - 0x111]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42738c
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.004c5640
lea eax, [ebp - 8]
call fcn.004c561c
ret

Function at 0x42d1f0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42d13c
call sub.USER32.DLL_EnumWindows
ret

Function at 0x42d314
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42d391
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042cd60
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42d339
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042c9b8
cmp dword [ebp - 4], 0
je 0x42d37b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004c5acc
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d398
lea eax, [ebp - 4]
call fcn.004c561c
ret

Function at 0x43c4d0
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.004c561c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c51f
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004c5884
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442454
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4426b4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4424b7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00441f1c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.004b7b10
cmp al, 1
jne 0x4424b7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00442234
test al, al
je 0x442643
cmp dword [ebp - 8], 0
jge 0x4424d5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00441f1c
mov eax, dword [ebp - 0x210]
call fcn.004c58d4
cmp ebx, eax
jge 0x44251f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00441f1c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4e2198]
and eax, 0xff
bt dword [edx], eax
jae 0x44251f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x442533
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00442430
cmp ebx, dword [ebp - 8]
je 0x442635
lea eax, [ebp - 0x108]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x44255f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004c4ae8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dcfb0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.USER32.DLL_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x442622
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004c4ae8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dcfb0]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.00477050
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004c4ae8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dcfb0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00477050
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442629
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x442696
cmp dword [ebp - 8], 0
jge 0x44264e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00441f1c
mov eax, dword [ebp - 0x218]
call fcn.004c58d4
cmp eax, dword [ebp - 8]
jg 0x442688
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00441f1c
mov eax, dword [ebp - 0x21c]
call fcn.004c58d4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00442430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4426bb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004c5640
ret
Function at 0x44cf88
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 0x44cf8e
ret

Function at 0x44fa20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x44fa71
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x44fa58
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x44fa48
jmp 0x44fa71
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x44fa59
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4587ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45883c]
test si, 4
je 0x458800
or bl, 1
test si, 8
je 0x45880a
or bl, 4
test si, 1
je 0x458814
or bl, 8
test si, 2
je 0x45881e
or bl, 0x10
test si, 0x10
je 0x458828
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x458837
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458878]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x458859
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x458868
or bl, 4
test esi, 0x20000000
je 0x458873
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45f1d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f1e6
add esp, 0xfffffff0
call fcn.004c4c50
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004af290
mov eax, dword [0x4e20c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f578
mov eax, dword [0x4e20c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f584
mov eax, ebx
call fcn.0045f590
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4a4374]
call fcn.004c48bc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4a4374]
call fcn.004c48bc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4a4374]
call fcn.004c48bc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4a4374]
call fcn.004c48bc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4a4374]
call fcn.004c48bc
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, 0x45ba58
push eax
push 0
push 0
mov eax, dword [0x4e20b0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44c3bc]
call fcn.0044dad0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44c3bc]
call fcn.0044dad0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44c3bc]
call fcn.0044dad0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045f9f8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f8d4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f8d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f8d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f323
call fcn.004c4ca8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret