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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43c078
mov eax, esi
call fcn.00451db8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43c078
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43c078
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43c1b7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43c0b8
cmp eax, 0x108
ja 0x43c0b8
mov eax, esi
call fcn.00451db8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43c1ae
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43c1b7
jmp 0x43c1ae
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43c197
cmp eax, 0x20a
ja 0x43c197
test byte [esi + 0x50], 0x80
jne 0x43c0ea
sub eax, 0x203
je 0x43c0e7
sub eax, 3
je 0x43c0e7
sub eax, 3
jne 0x43c0ea
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43c0fe
dec eax
je 0x43c113
dec eax
je 0x43c130
dec eax
je 0x43c113
jmp 0x43c137
mov ecx, ebx
mov eax, dword [0x46e1dc]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b5f4
jmp 0x43c1ae
cmp byte [esi + 0x5d], 1
jne 0x43c129
mov eax, esi
mov si, 0xffed
call fcn.004033b4
jmp 0x43c1b7
or word [esi + 0x54], 1
jmp 0x43c1ae
and word [esi + 0x54], 0xfffe
jmp 0x43c1ae
mov eax, dword [0x46fb40]
cmp byte [eax + 0x20], 0
je 0x43c1ae
mov eax, dword [0x46fb40]
cmp dword [eax + 0x1c], 0
je 0x43c1ae
mov eax, dword [ebx]
mov edx, dword [0x46fb40]
cmp eax, dword [edx + 0x1c]
jne 0x43c1ae
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00451cfc
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004033b4
jmp 0x43c1b7
cmp eax, 0xb00b
jne 0x43c1ae
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043a94c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f724
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43f740
cmp dword [esi + 4], 0
je 0x43f76d
test byte [ebx + 0x55], 1
jne 0x43f75f
mov eax, ebx
call fcn.0043e2c4
test eax, eax
jne 0x43f75f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f87d
mov edx, esi
mov eax, ebx
call fcn.0043f248
jmp 0x43f87d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43f876
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004415cc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043bf60
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043f724
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004415cc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f87d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445f88
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46e36c]
cmp byte [eax + 0xc], 0
je 0x4460f5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4460ee
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46fb94], 0
jne 0x445fdc
push 0x4460fc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446104
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb94], eax
cmp dword [0x46dbcc], 0
jne 0x4460d7
push 0x446114
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46dbcc], eax
cmp dword [0x46dbcc], 0
je 0x4460d7
push 0x446120
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb98], eax
push 0x446130
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb9c], eax
push 0x446144
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fba0], eax
push 0x44615c
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fba4], eax
push 0x446174
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fba8], eax
push 0x446188
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fbac], eax
push 0x4461a0
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fbb0], eax
push 0x4461b8
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fbb4], eax
push 0x4461d4
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fbb8], eax
push 0x4461e0
mov eax, dword [0x46dbcc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fbbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4460f5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a438
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.00403f08
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44a487
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404178
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451c6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451cbc]
test si, 4
je 0x451c80
or bl, 1
test si, 8
je 0x451c8a
or bl, 4
test si, 1
je 0x451c94
or bl, 8
test si, 2
je 0x451c9e
or bl, 0x10
test si, 0x10
je 0x451ca8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451cb7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x451cc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451cf8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451cd9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451ce8
or bl, 4
test esi, 0x20000000
je 0x451cf3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4583a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4583b2
add esp, 0xfffffff0
call fcn.004034dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d004
mov eax, dword [0x46dfec]
mov dword [eax + 4], ebx
mov dword [eax], 0x458744
mov eax, dword [0x46dff8]
mov dword [eax + 4], ebx
mov dword [eax], 0x458750
mov eax, ebx
call fcn.0045875c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4152e4]
call fcn.00403188
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4152e4]
call fcn.00403188
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4152e4]
call fcn.00403188
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4152e4]
call fcn.00403188
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4152e4]
call fcn.00403188
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, 0x454b78
push eax
push 0
push 0
mov eax, dword [0x46e154]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ea70]
call fcn.00420284
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ea70]
call fcn.00420284
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ea70]
call fcn.00420284
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458b7c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a58
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458a58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4584ef
call fcn.00403534
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45883c
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 0x4589e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4589c8
mov dl, 1
mov eax, dword [0x415700]
call fcn.00403188
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f08
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4589b7
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.004462e8
test al, al
je 0x4589aa
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, 0x4589f8
lea eax, [ebp - 0x254]
call fcn.00408d94
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4589aa
xor eax, eax
push ebp
push 0x4589a3
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 0x458a30
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45898c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404178
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 0x45898c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4589aa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4588ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004191f4
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 0x4589ee
lea eax, [ebp - 0x260]
call fcn.00403f08
ret

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

Disassembly:
push ecx
mov eax, dword [0x46fbe0]
cmp byte [eax + 0xa5], 0
jne 0x45938d
cmp dword [0x46fbf8], 0
jne 0x45934e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4592d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fbf8], eax
cmp dword [0x46fbf4], 0
jne 0x459369
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46fbf4], eax
cmp dword [0x46fbfc], 0
jne 0x45938d
push esp
push 0
push 0
push 0x45927c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46fbfc], eax
pop edx
ret
Function at 0x459484
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45949b
add esp, 0xfffffff0
call fcn.004034dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d004
mov eax, dword [0x46e140]
cmp word [eax + 2], 0
jne 0x4594c3
mov eax, dword [0x46e140]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045abec
mov eax, dword [0x46e1f8]
cmp word [eax + 2], 0
jne 0x4594dd
mov eax, dword [0x46e1f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ade4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4152e4]
call fcn.00403188
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4152e4]
call fcn.00403188
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 [0x41f5f0]
call fcn.004270f8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459664
mov eax, dword [0x46e050]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004274c8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b384
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46e050]
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.0040c4ec
test eax, eax
je 0x4595d2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408788
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c514
test eax, eax
je 0x4595e6
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.00404178
mov eax, dword [0x46df1c]
cmp byte [eax], 0
jne 0x45961a
mov eax, ebx
call fcn.0045978c
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.0045b560
mov eax, ebx
call fcn.0045bf24
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45965a
call fcn.00403534
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459a0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbe0]
cmp dword [eax + 0x30], 0
je 0x459ab6
cmp dword [ebx + 0x94], 0
jne 0x459ab0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45999c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459ab0
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 0x459a76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459ab0
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.0041764c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459a85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a618
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 0x45a64d
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.00403ff8
jmp 0x45a65a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f5c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b73c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b77d
mov eax, esi
call fcn.004418d0
test al, al
je 0x45b77d
mov eax, dword [ebx + 0x84]
call fcn.004415cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b77d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004415cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45c43c
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 [0x414894]
call fcn.004048e8
xor eax, eax
push ebp
push 0x45c580
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46de00], 0
jne 0x45c48f
mov ecx, dword [0x46df2c]
mov dl, 1
mov eax, dword [0x40714c]
call fcn.0040b790
call fcn.00403944
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bcc
mov eax, ebx
call fcn.00404770
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45c590
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.0040586c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404780
test eax, eax
jle 0x45c527
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 0x45c520
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404190
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404178
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407f8c
test eax, eax
jne 0x45c520
mov ebx, 0x15
jmp 0x45c52c
mov ebx, 0x10
jmp 0x45c52c
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 [0x46de00]
call fcn.0045c394
mov eax, dword [ebp - 8]
call fcn.0045c394
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c587
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f2c
lea eax, [ebp - 0x10]
mov edx, dword [0x414894]
call fcn.004049b8
ret
Function at 0x8f21b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.008f2140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.008f2140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.008f2140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.008f2140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x8f2bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x8f2c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x90487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x8f2c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x8f2c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x5d8ac1
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5d87dc
add esi, esi
add ecx, 1
dec esi
call fcn.005d8afa
dec ecx
sub esi, 0x8031573d
xor dword [ebx], eax
or ecx, ecx
or esi, esi
add ecx, esi
add ebx, 2
and esi, ecx
cmp ebx, edi
jl fcn.005d8ac1
sub esi, 0x7e98348c
mov esi, esi
ret
Function at 0x41a6b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47694b
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.0046b126
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a732
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00468f9d
mov eax, dword [eax]
push 0x5ac1e0
push eax
call fcn.0045be04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046b3b1
test bl, bl
je 0x41a732
push 0x5ac1e0
lea ecx, [esp + 0xc]
call fcn.0046b741
push 0x5afd5c
lea ecx, [esp + 0xc]
call fcn.0046b741
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 0x41a76e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046b3b1
jmp 0x41a839
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 0x41a7f2
lea edx, [esp + 0x7c]
push 0x5afd58
push edx
call fcn.0045be04
add esp, 8
test eax, eax
je 0x41a7f2
lea eax, [esp + 0x7c]
push 0x5afd54
push eax
call fcn.0045be04
add esp, 8
test eax, eax
je 0x41a7f2
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 0x41a782
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.0046b3b1
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 0x41b030
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 0x41b092
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