joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d2f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46ab70]
cmp byte [eax + 0xc], 0
je 0x43d461
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d45a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46bb64], 0
jne 0x43d348
push 0x43d468
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43d470
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb64], eax
cmp dword [0x469b34], 0
jne 0x43d443
push 0x43d480
call sub.kernel32.dll_LoadLibraryA
mov dword [0x469b34], eax
cmp dword [0x469b34], 0
je 0x43d443
push 0x43d48c
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb68], eax
push 0x43d49c
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb6c], eax
push 0x43d4b0
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb70], eax
push 0x43d4c8
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb74], eax
push 0x43d4e0
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb78], eax
push 0x43d4f4
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb7c], eax
push 0x43d50c
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb80], eax
push 0x43d524
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb84], eax
push 0x43d540
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb88], eax
push 0x43d54c
mov eax, dword [0x469b34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d461
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4412ec
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.00403e4c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44133b
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.004040bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448a78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448ac8]
test si, 4
je 0x448a8c
or bl, 1
test si, 8
je 0x448a96
or bl, 4
test si, 1
je 0x448aa0
or bl, 8
test si, 2
je 0x448aaa
or bl, 0x10
test si, 0x10
je 0x448ab4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448ac3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x448acc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448b04]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448ae5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448af4
or bl, 4
test esi, 0x20000000
je 0x448aff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44f1ac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f1be
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419220
mov eax, dword [0x46a82c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f550
mov eax, dword [0x46a838]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f55c
mov eax, ebx
call fcn.0044f568
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411518]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411518]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411518]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411518]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411518]
call fcn.004030cc
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, 0x44b984
push eax
push 0
push 0
mov eax, dword [0x46a984]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ac7c]
call fcn.0041c3f0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ac7c]
call fcn.0041c3f0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ac7c]
call fcn.0041c3f0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f988
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f864
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f864
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f864
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f2fb
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f648
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 0x44f7f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f7d4
mov dl, 1
mov eax, dword [0x411934]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44f7c3
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.0043d654
test al, al
je 0x44f7b6
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, 0x44f804
lea eax, [ebp - 0x254]
call fcn.004089e4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f7b6
xor eax, eax
push ebp
push 0x44f7af
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 0x44f83c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f798
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
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 0x44f798
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f7b6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44f6b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415410
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 0x44f7fa
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

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

Disassembly:
push ecx
mov eax, dword [0x46bbb0]
cmp byte [eax + 0xa5], 0
jne 0x450199
cmp dword [0x46bbc8], 0
jne 0x45015a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4500e4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46bbc8], eax
cmp dword [0x46bbc4], 0
jne 0x450175
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46bbc4], eax
cmp dword [0x46bbcc], 0
jne 0x450199
push esp
push 0
push 0
push 0x450088
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46bbcc], eax
pop edx
ret
Function at 0x450290
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4502a7
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419220
mov eax, dword [0x46a970]
cmp word [eax + 2], 0
jne 0x4502cf
mov eax, dword [0x46a970]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004519f8
mov eax, dword [0x46aa20]
cmp word [eax + 2], 0
jne 0x4502e9
mov eax, dword [0x46aa20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451bf0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411518]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411518]
call fcn.004030cc
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 [0x41b75c]
call fcn.00422e30
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450470
mov eax, dword [0x46a894]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423200
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452190
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46a894]
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.0040c0ac
test eax, eax
je 0x4503de
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083d8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c0d4
test eax, eax
je 0x4503f2
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.004040bc
mov eax, dword [0x46a778]
cmp byte [eax], 0
jne 0x450426
mov eax, ebx
call fcn.00450598
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.0045236c
mov eax, ebx
call fcn.00452d30
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450466
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450818
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46bbb0]
cmp dword [eax + 0x30], 0
je 0x4508c2
cmp dword [ebx + 0x94], 0
jne 0x4508bc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4507a8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4508bc
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 0x450882
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4508bc
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.00413880
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450891
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451424
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 0x451459
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.00403f3c
jmp 0x451466
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452548
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452589
mov eax, esi
call fcn.00438d14
test al, al
je 0x452589
mov eax, dword [ebx + 0x84]
call fcn.00438a10
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452589
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438a10
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x453498
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff64
xor ebx, ebx
mov dword [esp], 0x9c
push esp
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x45357c
cmp dword [esp + 0x10], 2
jne 0x45357c
cmp dword [esp + 4], 5
jne 0x45357c
mov eax, dword [esp + 8]
test eax, eax
jne 0x45351a
cmp byte [esp + 0x9a], 1
jne 0x4534e5
mov bl, 9
jmp 0x45357c
mov al, byte [esp + 0x9a]
cmp al, 2
je 0x4534f8
cmp al, 3
jne 0x45357c
mov ax, word [esp + 0x98]
test ax, 0x80
jbe 0x45350b
mov bl, 0xc
jmp 0x45357c
test ax, 2
jbe 0x453516
mov bl, 0xb
jmp 0x45357c
mov bl, 0xa
jmp 0x45357c
cmp eax, 1
jne 0x45353d
cmp byte [esp + 0x9a], 1
jne 0x45357c
test word [esp + 0x98], 0x200
jbe 0x453539
mov bl, 0xd
jmp 0x45357c
mov bl, 0xe
jmp 0x45357c
cmp eax, 2
jne 0x45357c
mov al, byte [esp + 0x9a]
cmp al, 2
je 0x453551
cmp al, 3
jne 0x45357c
mov ax, word [esp + 0x98]
test ax, 0x80
jbe 0x453564
mov bl, 0x12
jmp 0x45357c
test ax, 2
jbe 0x45356f
mov bl, 0x11
jmp 0x45357c
test ax, 0x400
jbe 0x45357a
mov bl, 0x10
jmp 0x45357c
mov bl, 0xa
mov eax, ebx
add esp, 0x9c
pop ebx
ret
Function at 0x454794
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042fc
xor eax, eax
push ebp
push 0x45482e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
mov edx, 0x44
call fcn.00406768
mov word [ebp - 0x18], 5
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040430c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x454818
test esi, esi
je 0x454801
mov eax, dword [ebp - 0x58]
mov dword [esi], eax
call fcn.004537f0
push 0x3e8
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x454801
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454835
lea eax, [ebp - 4]
call fcn.00403e4c
ret

Function at 0x454a34
Capabilities:
Create process on windows

Disassembly:
push ebx
mov bl, 1
push 1
push 0
push 0x454a54
push 0x454a58
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
pop ebx
ret

Function at 0x454a64
Capabilities:
Create process on windows

Disassembly:
push ebx
mov bl, 1
push 1
push 0
push 0x454a84
push 0x454a88
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
pop ebx
ret

Function at 0x457980
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4579ae
mov eax, ebx
call fcn.00458434
cmp dword [ebx + 0x40], 0
je 0x4579a7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x457a1f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x457a11
cmp dword [ebx + 8], 0
je 0x4579d0
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 0x4579e2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x457a11
cmp dword [ebx + 8], 0
je 0x4579c3
cmp eax, 3
je 0x4579f5
dec eax
jne 0x4579c3
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 0x4579c3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4579c3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x457a3d
cmp dword [ebx + 0x14], 0xcc
je 0x457a3d
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.00457a48
pop ebx
ret
Function at 0x55fb20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x120000]
push edi
jmp 0x55fb3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55fb41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55fb30
mov eax, 1
add ebx, ebx
jne 0x55fb53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55fb64
jne 0x55fb83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55fb83
dec eax
add ebx, ebx
jne 0x55fb70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55fb48
add ebx, ebx
jne 0x55fb7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55fbd5
xor ecx, ecx
sub eax, 3
jb 0x55fb9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55fc0a
sar eax, 1
mov ebp, eax
jmp 0x55fba6
add ebx, ebx
jne 0x55fba6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55fb74
inc ecx
add ebx, ebx
jne 0x55fbb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55fb74
add ebx, ebx
jne 0x55fbc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55fbb6
jne 0x55fbd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55fbb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55fbf4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55fbe6
jmp 0x55fb36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55fbf4
add edi, ecx
jmp 0x55fb36
pop esi
mov edi, esi
mov ecx, 0x11fb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55fc12
cmp byte [edi], 0xb
jne 0x55fc12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x55fc17
lea edi, [esi + 0x15c000]
mov eax, dword [edi]
or eax, eax
je 0x55fc8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1852f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x185424]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55fc44
mov ecx, edi
jns 0x55fc73
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x185428]
or eax, eax
je 0x55fc89
mov dword [ebx], eax
add ebx, 4
jmp 0x55fc61
call dword [esi + 0x185438]
mov ebp, dword [esi + 0x18542c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x55fcc3
sub esp, 0xffffff80
jmp 0x4127aa
Function at 0x40cefa
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0044f3cf
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0044f3cf
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x40cf76
mov eax, dword [0x7a5a4c]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x21
call fcn.0044f3db
cmp dword [ebp - 0x18], esp
je 0x40cfa2
push 6
call fcn.0044f3d5
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x26
call fcn.0044f3db
cmp dword [ebp - 0x18], esp
je 0x40cfd0
push 6
call fcn.0044f3d5
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x27
call fcn.0044f3db
cmp dword [ebp - 0x18], esp
je 0x40cffc
push 6
call fcn.0044f3d5
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x28
call fcn.0044f3db
cmp dword [ebp - 0x18], esp
je 0x40d08b
push 6
call fcn.0044f3d5
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x29
call fcn.0044f3db
cmp dword [ebp - 0x18], esp
je 0x40d0b0
push 6
call fcn.0044f3d5
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40d0b8
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0044f3c9
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0044f3c9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x45e820
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x57a42b
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.0056ba28
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x45e8a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00568651
mov eax, dword [eax]
push 0x78b2a8
push eax
call fcn.00546e24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0056bcb3
test bl, bl
je 0x45e8a2
push 0x78b2a8
lea ecx, [esp + 0xc]
call fcn.0056c08f
push 0x78ee3c
lea ecx, [esp + 0xc]
call fcn.0056c08f
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 0x45e8de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0056bcb3
jmp 0x45e9a9
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 0x45e962
lea edx, [esp + 0x7c]
push 0x78ee38
push edx
call fcn.00546e24
add esp, 8
test eax, eax
je 0x45e962
lea eax, [esp + 0x7c]
push 0x78ee34
push eax
call fcn.00546e24
add esp, 8
test eax, eax
je 0x45e962
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 0x45e8f2
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.0056bcb3
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 0x45fc20
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 0x45fc82
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