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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a7570]
cmp byte [eax + 0xc], 0
je 0x44ced5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44cece
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a8b68], 0
jne 0x44cdbc
push 0x44cedc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44cee4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b68], eax
cmp dword [0x4a5e24], 0
jne 0x44ceb7
push 0x44cef4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a5e24], eax
cmp dword [0x4a5e24], 0
je 0x44ceb7
push 0x44cf00
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b6c], eax
push 0x44cf10
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b70], eax
push 0x44cf24
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b74], eax
push 0x44cf3c
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b78], eax
push 0x44cf54
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b7c], eax
push 0x44cf68
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b80], eax
push 0x44cf80
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b84], eax
push 0x44cf98
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b88], eax
push 0x44cfb4
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b8c], eax
push 0x44cfc0
mov eax, dword [0x4a5e24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ced5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x450d7c
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.00404188
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x450dcb
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.004043f8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458510
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458560]
test si, 4
je 0x458524
or bl, 1
test si, 8
je 0x45852e
or bl, 4
test si, 1
je 0x458538
or bl, 8
test si, 2
je 0x458542
or bl, 0x10
test si, 0x10
je 0x45854c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45855b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458564
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45859c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45857d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45858c
or bl, 4
test esi, 0x20000000
je 0x458597
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ec44
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45ec56
add esp, 0xfffffff0
call fcn.0040367c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422d18
mov eax, dword [0x4a70b8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45efe8
mov eax, dword [0x4a70cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45eff4
mov eax, ebx
call fcn.0045f000
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a5d8]
call fcn.00403328
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a5d8]
call fcn.00403328
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a5d8]
call fcn.00403328
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a5d8]
call fcn.00403328
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a5d8]
call fcn.00403328
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, 0x45b41c
push eax
push 0
push 0
mov eax, dword [0x4a72a8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42477c]
call fcn.00425ef0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42477c]
call fcn.00425ef0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42477c]
call fcn.00425ef0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045f420
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f2fc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f2fc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f2fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ed93
call fcn.004036d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f0e0
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 0x45f28b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45f26c
mov dl, 1
mov eax, dword [0x41ac3c]
call fcn.00403328
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404188
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45f25b
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.0044d0c8
test al, al
je 0x45f24e
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, 0x45f29c
lea eax, [ebp - 0x254]
call fcn.00409634
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45f24e
xor eax, eax
push ebp
push 0x45f247
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 0x45f2d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45f230
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043f8
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 0x45f230
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f24e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45f151
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ef08
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 0x45f292
lea eax, [ebp - 0x260]
call fcn.00404188
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a8bb4]
cmp byte [eax + 0xa5], 0
jne 0x45fc31
cmp dword [0x4a8bcc], 0
jne 0x45fbf2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45fb7c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a8bcc], eax
cmp dword [0x4a8bc8], 0
jne 0x45fc0d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a8bc8], eax
cmp dword [0x4a8bd0], 0
jne 0x45fc31
push esp
push 0
push 0
push 0x45fb20
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a8bd0], eax
pop edx
ret
Function at 0x45fd28
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45fd3f
add esp, 0xfffffff0
call fcn.0040367c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422d18
mov eax, dword [0x4a7294]
cmp word [eax + 2], 0
jne 0x45fd67
mov eax, dword [0x4a7294]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461490
mov eax, dword [0x4a739c]
cmp word [eax + 2], 0
jne 0x45fd81
mov eax, dword [0x4a739c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461688
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a5d8]
call fcn.00403328
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a5d8]
call fcn.00403328
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 [0x42525c]
call fcn.0042ca24
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45ff08
mov eax, dword [0x4a7150]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042cdf4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461c28
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a7150]
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.0040d3ac
test eax, eax
je 0x45fe76
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409014
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d3d4
test eax, eax
je 0x45fe8a
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.004043f8
mov eax, dword [0x4a6fa8]
cmp byte [eax], 0
jne 0x45febe
mov eax, ebx
call fcn.00460030
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.00461e04
mov eax, ebx
call fcn.004627c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45fefe
call fcn.004036d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4602b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a8bb4]
cmp dword [eax + 0x30], 0
je 0x46035a
cmp dword [ebx + 0x94], 0
jne 0x460354
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460240
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460354
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 0x46031a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460354
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.0041cb88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460329
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460ebc
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 0x460ef1
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.00404278
jmp 0x460efe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461fe0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462021
mov eax, esi
call fcn.004486b0
test al, al
je 0x462021
mov eax, dword [ebx + 0x84]
call fcn.004483ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462021
push 0
mov eax, dword [ebx + 0x84]
call fcn.004483ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47efd4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x47eff9
cmp dword [esp + 4], 5
jb 0x47eff9
mov al, 1
jmp 0x47effb
xor eax, eax
add esp, 0x94
ret
Function at 0x4923b4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4923e2
mov eax, ebx
call fcn.00492e68
cmp dword [ebx + 0x40], 0
je 0x4923db
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x492453
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x492445
cmp dword [ebx + 8], 0
je 0x492404
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 0x492416
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x492445
cmp dword [ebx + 8], 0
je 0x4923f7
cmp eax, 3
je 0x492429
dec eax
jne 0x4923f7
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 0x4923f7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4923f7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x492471
cmp dword [ebx + 0x14], 0xcc
je 0x492471
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.0049247c
pop ebx
ret

Function at 0x4a2e8c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.004043f8
add esp, 0x14
pop ebx
ret
Function at 0x4015d0
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
mov dword [0x42c480], 1
push esi
push esi
push 0x401590
call fcn.00405d75
add esp, 0xc
mov dword [0x42c480], esi
mov eax, dword [0x42c480]
test eax, eax
jne 0x401605
inc esi
mov eax, dword [0x42c480]
test eax, eax
je 0x4015fb
mov eax, dword [esp + 8]
push 0
push 0
push 0x405
push eax
call dword [0x40e2f0]
mov eax, esi
pop esi
ret

Function at 0x401bb0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1818
call fcn.00405c20
mov eax, dword [esp + 0x1824]
mov ecx, dword [esp + 0x181c]
push esi
push edi
push eax
push 0x3ea
push ecx
call fcn.004028b0
mov esi, dword [esp + 0x183c]
mov edi, dword [esp + 0x1834]
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x1060000
push 0
push esi
push edi
call dword [0x40e068]
test eax, eax
jne 0x401d92
mov eax, dword [esp + 8]
push eax
call fcn.00401690
mov edx, dword [esp + 0x1838]
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push edi
mov dword [esp + 0x20], eax
call fcn.004016f0
add esp, 0x14
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push ecx
call dword [0x40e060]
test eax, eax
jne 0x401d7e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401d7e
mov edi, dword [0x40e294]
push ebx
push ebp
mov ebp, dword [0x40e064]
xor ebx, ebx
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x38], 0x800
call ebp
cmp eax, 0x103
je 0x401d75
test eax, eax
jne 0x401d75
mov ecx, dword [esp + 0x1834]
lea eax, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x1030]
push str._s_s
push edx
call edi
push 0x42c484
push esi
call fcn.00405c4f
add esp, 0x18
test eax, eax
je 0x401cf0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x828]
push eax
push esi
push str._s_s
push ecx
call edi
add esp, 0x10
jmp 0x401d05
lea edx, [esp + 0x28]
lea eax, [esp + 0x828]
push edx
push eax
call fcn.00405ee8
add esp, 8
push str.SystemC
call fcn.00405d58
push eax
lea ecx, [esp + 0x830]
push str.SystemC
push ecx
call fcn.0040d7d6
add esp, 0x10
test eax, eax
jne 0x401d3f
lea edx, [esp + 0x28]
push str.ProductOptions
push edx
call fcn.004061f3
add esp, 8
test eax, eax
je 0x401d6f
mov eax, dword [esp + 0x183c]
lea ecx, [esp + 0x828]
push eax
mov eax, dword [esp + 0x1834]
lea edx, [esp + 0x102c]
push ecx
mov ecx, dword [esp + 0x1834]
push edx
push eax
push ecx
call fcn.00401bb0
add esp, 0x14
inc ebx
jmp 0x401c70
mov edi, dword [esp + 0x1830]
pop ebp
pop ebx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push esi
push edi
push eax
call fcn.00401990
add esp, 0x10
pop edi
pop esi
add esp, 0x1818
ret
Function at 0x401df0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x2214
call fcn.00405c20
lea eax, [esp + 8]
push ebp
mov ebp, dword [esp + 0x221c]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
push 0x80000002
mov dword [ebp], 0
call dword [section..rdata]
test eax, eax
jne 0x401f68
push ebx
mov ebx, dword [0x40e064]
push esi
mov esi, dword [0x40e294]
push edi
mov dword [esp + 0x10], eax
mov edi, 0x400
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0xa34]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov dword [esp + 0x34], edi
call ebx
cmp eax, 0x103
je 0x401f5a
test eax, eax
jne 0x401f5a
lea edx, [esp + 0xa24]
lea eax, [esp + 0x1224]
push edx
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
push str._s_s
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x1224]
push ecx
push edx
push 0x80000002
call dword [section..rdata]
test eax, eax
jne 0x401f51
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1a24]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push edx
push 0
push str.ProfileImagePath
push eax
mov dword [esp + 0x2c], edi
call dword [0x40e054]
test eax, eax
jne 0x401f51
lea ecx, [esp + 0x224]
push edi
lea edx, [esp + 0x1a28]
push ecx
push edx
call dword [0x40e1b4]
lea eax, [esp + 0x224]
push eax
call dword [0x40e1b8]
test al, 0x10
je 0x401f1f
lea ecx, [esp + 0x224]
push str._ntuser.dat
push ecx
call fcn.00405ebe
add esp, 8
mov edx, dword [ebp]
lea eax, [esp + 0x24]
push edx
push str.User_d
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x224]
lea edx, [esp + 0x24]
push ecx
push edx
push 0x80000002
call dword [0x40e058]
test eax, eax
jne 0x401f51
inc dword [ebp]
inc dword [esp + 0x10]
jmp 0x401e3e
mov eax, dword [esp + 0x18]
push eax
call dword [0x40e070]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x2214
ret
Function at 0x402ca0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push eax
push 0x28
call dword [0x40e1a4]
push eax
call dword [0x40e030]
test eax, eax
jne 0x402cc1
pop esi
add esp, 0x14
ret
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [0x40e02c]
mov eax, dword [esp + 4]
mov esi, dword [0x40e034]
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call esi
test eax, eax
jne 0x402d06
pop esi
add esp, 0x14
ret
push 1
push 1
push 0
push 0
push 0
call dword [0x40e028]
test eax, eax
jne 0x402d1f
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 4]
push 0
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push edx
mov dword [esp + 0x2c], 0
call esi
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x14
ret

Function at 0x402d50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
push edi
push eax
call dword [0x40e238]
mov eax, dword [esp + 8]
push 0x104
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
je 0x402e38
mov edi, dword [esp + 0x34]
lea edx, [esp + 0xc]
push edx
push 0x12
push edi
call dword [0x40e23c]
test eax, eax
jge 0x402da2
mov eax, dword [esp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
pop edi
xor al, al
pop esi
add esp, 0x28
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], str.Select_the_computer_from_which_you_want_to_copy_the_SID:
mov dword [esp + 0x24], 0x1000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [0x40e240]
mov edi, eax
test edi, edi
je 0x402e1e
mov ecx, dword [esp + 0x38]
push esi
push ecx
call fcn.00405ee8
mov eax, dword [esp + 0x10]
add esp, 8
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0x14]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
pop edi
mov al, 1
pop esi
add esp, 0x28
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
pop edi
xor al, al
pop esi
add esp, 0x28
ret
Function at 0x4031e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
push 4
push str.SOFTWARE
push 0x80000002
call fcn.00401740
add esp, 0xc
mov ebp, eax
lea eax, [esp + 0xc]
push eax
push str.SECURITYSAMDomainsAccount
push 0x80000002
call dword [section..rdata]
test eax, eax
je 0x403232
push 0x10
push 0x410394
push 0x410584
push 0
call dword [0x40e2ec]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov ecx, dword [esp + 0xc]
push ebx
push ecx
call fcn.00401690
lea edx, [esp + 0x14]
mov edi, eax
push edx
push ebp
push str.SECURITYSAMDomainsAccount
push 0x80000002
call fcn.004016f0
mov edx, dword [esp + 0x24]
add esp, 0x14
mov ebx, dword [0x40e054]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0
push 0x410580
push edx
mov dword [esp + 0x2c], 0
call ebx
mov eax, dword [esp + 0x14]
push eax
call fcn.00405ccc
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push 0x410580
push eax
call ebx
test eax, eax
pop ebx
je 0x4032e1
lea ecx, [esp + 0xc]
push ecx
push edi
push str.SECURITYSAMDomainsAccount
push 0x80000002
call fcn.004016f0
add esp, 0x10
push 0x10
push 0x410394
push 0x410584
push 0
call dword [0x40e2ec]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
lea edx, [esp + 0xc]
push edx
push edi
push 0
push 0
call fcn.004016f0
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [0x40e070]
mov ecx, dword [esp + 0x10]
push ecx
push esi
call fcn.00403130
add esp, 8
test eax, eax
jne 0x40332c
push 0x10
push 0x410394
push str.NewSID_does_not_understand_the_format_of_nthe_Computers_SID.
push eax
call dword [0x40e2ec]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov ecx, 6
mov esi, eax
mov edi, 0x42c488
mov eax, ebp
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
add esp, 0xc
ret