joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e92c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44e964]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e945
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e954
or bl, 4
test esi, 0x20000000
je 0x44e95f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45500c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45501e
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d390
mov eax, dword [0x490b64]
mov dword [eax + 4], ebx
mov dword [eax], 0x4553b0
mov eax, dword [0x490b70]
mov dword [eax + 4], ebx
mov dword [eax], 0x4553bc
mov eax, ebx
call fcn.004553c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415514]
call fcn.00403168
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415514]
call fcn.00403168
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415514]
call fcn.00403168
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415514]
call fcn.00403168
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415514]
call fcn.00403168
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, 0x4517e4
push eax
push 0
push 0
mov eax, dword [0x490cd8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ee04]
call fcn.00420618
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ee04]
call fcn.00420618
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ee04]
call fcn.00420618
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004557e8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4556c4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4556c4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4556c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45515b
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4554a8
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 0x455653
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455634
mov dl, 1
mov eax, dword [0x415930]
call fcn.00403168
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ee8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455623
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.00443418
test al, al
je 0x455616
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, 0x455664
lea eax, [ebp - 0x254]
call fcn.00408ee8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455616
xor eax, eax
push ebp
push 0x45560f
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 0x45569c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4555f8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404158
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 0x4555f8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455616
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455519
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419428
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 0x45565a
lea eax, [ebp - 0x260]
call fcn.00403ee8
ret

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

Disassembly:
push ecx
mov eax, dword [0x491be0]
cmp byte [eax + 0xa5], 0
jne 0x455ff9
cmp dword [0x491bf8], 0
jne 0x455fba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455f44
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x491bf8], eax
cmp dword [0x491bf4], 0
jne 0x455fd5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x491bf4], eax
cmp dword [0x491bfc], 0
jne 0x455ff9
push esp
push 0
push 0
push 0x455ee8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x491bfc], eax
pop edx
ret
Function at 0x4560f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456107
add esp, 0xfffffff0
call fcn.004034bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d390
mov eax, dword [0x490cc4]
cmp word [eax + 2], 0
jne 0x45612f
mov eax, dword [0x490cc4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004577c8
mov eax, dword [0x490d7c]
cmp word [eax + 2], 0
jne 0x456149
mov eax, dword [0x490d7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004579c0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415514]
call fcn.00403168
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415514]
call fcn.00403168
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f984]
call fcn.00427788
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4562d0
mov eax, dword [0x490bd4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427b58
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457f60
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x490bd4]
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.0040c748
test eax, eax
je 0x45623e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c770
test eax, eax
je 0x456252
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404158
mov eax, dword [0x490a84]
cmp byte [eax], 0
jne 0x456286
mov eax, ebx
call fcn.004563f8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045813c
mov eax, ebx
call fcn.00458b00
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4562c6
call fcn.00403514
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456678
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x491be0]
cmp dword [eax + 0x30], 0
je 0x456722
cmp dword [ebx + 0x94], 0
jne 0x45671c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456608
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45671c
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 0x4566e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45671c
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.0041787c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4566f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457284
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4572b9
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.00403fd8
jmp 0x4572c6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458318
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458359
mov eax, esi
call fcn.0043ead8
test al, al
je 0x458359
mov eax, dword [ebx + 0x84]
call fcn.0043e7d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458359
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043e7d4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45a888
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a9a9
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x490de4]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x490de4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45a9c0
call fcn.00408f68
mov eax, dword [ebp - 4]
call fcn.0046d8c4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x490bdc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x490db0]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x45a9dc
call fcn.00408f68
mov eax, dword [ebp - 0x10]
call fcn.0046d8c4
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x45a554
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45a9fc
call fcn.00408f68
mov eax, dword [ebp - 0x24]
call fcn.0046d8c4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45aa14
call fcn.00408f68
mov eax, dword [ebp - 0x28]
call fcn.0046d8c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a9b0
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403f0c
lea eax, [ebp - 0x10]
call fcn.00403ee8
lea eax, [ebp - 4]
call fcn.00403ee8
ret

Function at 0x460b2c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x460b7a
mov edx, dword [ebx + 0x48]
cmp dword [edx + 0x138], 0
je 0x460b7a
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x138]
mov eax, dword [eax + 0x14]
jmp 0x460b8a
mov edx, dword [ebx + 0x48]
mov edx, dword [edx + 0x134]
test edx, edx
je 0x460b8a
mov eax, dword [edx + 0x14]
test eax, eax
je 0x460ba3
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0045ea7c
jmp 0x460be6
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x34]
call fcn.004217b4
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x14]
call fcn.00420fb0
mov esi, eax
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0xa4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
call fcn.00420cd8
mov edx, esp
mov eax, dword [ebx + 0x34]
call fcn.00421500
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.00420cd8
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x46567c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0044e968
mov ebx, eax
mov dx, word [edi + 4]
mov eax, ebp
call fcn.00465528
mov esi, eax
test esi, esi
je 0x4656c9
mov al, byte [0x4656dc]
cmp al, bl
jne 0x4656c9
mov edx, esi
mov eax, ebp
call fcn.004654d0
mov dword [edi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4656d1
mov edx, edi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x468440
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408a78
add esp, 0x3ec
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x469698
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4696d0
jmp 0x46969c
pop edx
pop eax
jge 0x4696d0
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
push 0
mov eax, dword [ebx + 0x128]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x100]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4696ec
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042d0dc
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x128]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x471b50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x471c8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x84], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x471c73
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408a78
mov dl, 1
mov eax, dword [0x45950c]
call fcn.00459564
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov dl, 1
mov eax, dword [0x415c20]
call fcn.00403168
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.004595e0
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x471c70
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, 0x471ca4
call fcn.0045992c
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004041f4
xor eax, eax
push ebp
push 0x471c69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.00419bd4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00471cac
mov eax, dword [ebp - 0xc]
call fcn.004086c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471c70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.00403198
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403198
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471c95
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403f0c
ret
Function at 0x472c88
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414a9c]
call fcn.00404880
xor eax, eax
push ebp
push 0x472dcc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x490060], 0
jne 0x472cdb
mov ecx, dword [0x490a94]
mov dl, 1
mov eax, dword [0x4071a8]
call fcn.0040b9ec
call fcn.00403924
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bac
mov eax, ebx
call fcn.00404750
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x472ddc
lea edi, [ebp - 0x30]
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
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405804
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404760
test eax, eax
jle 0x472d73
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x472d6c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404170
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404158
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040803c
test eax, eax
jne 0x472d6c
mov ebx, 0x15
jmp 0x472d78
mov ebx, 0x10
jmp 0x472d78
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x490060]
call fcn.00472be0
mov eax, dword [ebp - 8]
call fcn.00472be0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040581c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472dd3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f0c
lea eax, [ebp - 0x10]
mov edx, dword [0x414a9c]
call fcn.00404950
ret

Function at 0x47cedc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47cf0a
mov eax, ebx
call fcn.0047d990
cmp dword [ebx + 0x40], 0
je 0x47cf03
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47cf7b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47cf6d
cmp dword [ebx + 8], 0
je 0x47cf2c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47cf3e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47cf6d
cmp dword [ebx + 8], 0
je 0x47cf1f
cmp eax, 3
je 0x47cf51
dec eax
jne 0x47cf1f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47cf1f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47cf1f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47cf99
cmp dword [ebx + 0x14], 0xcc
je 0x47cf99
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047cfa4
pop ebx
ret
Function at 0x412280
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a9b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049d31e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412302
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049a274
mov eax, dword [eax]
push 0x53b230
push eax
call fcn.0048bd74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049d5a9
test bl, bl
je 0x412302
push 0x53b230
lea ecx, [esp + 0xc]
call fcn.0049d939
push 0x53edac
lea ecx, [esp + 0xc]
call fcn.0049d939
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41233e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049d5a9
jmp 0x412409
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4123c2
lea edx, [esp + 0x7c]
push 0x53eda8
push edx
call fcn.0048bd74
add esp, 8
test eax, eax
je 0x4123c2
lea eax, [esp + 0x7c]
push 0x53eda4
push eax
call fcn.0048bd74
add esp, 8
test eax, eax
je 0x4123c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x412352
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049d5a9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x412c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x412c62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc