joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4535e4
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 0x453600
cmp dword [esi + 4], 0
je 0x45362d
test byte [ebx + 0x55], 1
jne 0x45361f
mov eax, ebx
call fcn.00452184
test eax, eax
jne 0x45361f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45373d
mov edx, esi
mov eax, ebx
call fcn.00453108
jmp 0x45373d
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 0x453736
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00455454
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.0044fe20
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004535e4
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.00455454
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45373d
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 0x459e30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0xc2974c]
cmp byte [eax + 0xc], 0
je 0x459f9d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x459f96
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xc2ab7c], 0
jne 0x459e84
push 0x459fa4
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x459fac
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab7c], eax
cmp dword [0xc28d60], 0
jne 0x459f7f
push 0x459fbc
call sub.kernel32.dll_LoadLibraryA
mov dword [0xc28d60], eax
cmp dword [0xc28d60], 0
je 0x459f7f
push 0x459fc8
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab80], eax
push 0x459fd8
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab84], eax
push 0x459fec
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab88], eax
push 0x45a004
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab8c], eax
push 0x45a01c
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab90], eax
push 0x45a030
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab94], eax
push 0x45a048
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab98], eax
push 0x45a060
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2ab9c], eax
push 0x45a07c
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2aba0], eax
push 0x45a088
mov eax, dword [0xc28d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc2aba4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459f9d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e1f0
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.004045fc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45e23f
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.0040486c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x465a50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x465aa0]
test si, 4
je 0x465a64
or bl, 1
test si, 8
je 0x465a6e
or bl, 4
test si, 1
je 0x465a78
or bl, 8
test si, 2
je 0x465a82
or bl, 0x10
test si, 0x10
je 0x465a8c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465a9b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x465aa4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x465adc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465abd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465acc
or bl, 4
test esi, 0x20000000
je 0x465ad7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x465b2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00465ae0
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x46c1c0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46c1d2
add esp, 0xfffffff0
call fcn.00403b20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422394
mov eax, dword [0xc2938c]
mov dword [eax + 4], ebx
mov dword [eax], 0x46c564
mov eax, dword [0xc29398]
mov dword [eax + 4], ebx
mov dword [eax], 0x46c570
mov eax, ebx
call fcn.0046c57c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4172b4]
call fcn.00403790
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4172b4]
call fcn.00403790
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4172b4]
call fcn.00403790
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4172b4]
call fcn.00403790
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4172b4]
call fcn.00403790
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, 0x468994
push eax
push 0
push 0
mov eax, dword [0xc29518]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423dd8]
call fcn.00425240
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423dd8]
call fcn.00425240
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423dd8]
call fcn.00425240
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046c9cc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c894
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c894
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46c894
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46c30f
call fcn.00403b78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46c678
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 0x46c823
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46c804
mov dl, 1
mov eax, dword [0x417918]
call fcn.00403790
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045fc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46c7f3
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.0045a190
test al, al
je 0x46c7e6
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, 0x46c834
lea eax, [ebp - 0x254]
call fcn.00409e94
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46c7e6
xor eax, eax
push ebp
push 0x46c7df
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 0x46c86c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46c7c8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040486c
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 0x46c7c8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040486c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c7e6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46c6e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c394
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 0x46c82a
lea eax, [ebp - 0x260]
call fcn.004045fc
ret

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

Disassembly:
push ecx
mov eax, dword [0xc2abc8]
cmp byte [eax + 0xa5], 0
jne 0x46d1dd
cmp dword [0xc2abe0], 0
jne 0x46d19e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46d128
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0xc2abe0], eax
cmp dword [0xc2abdc], 0
jne 0x46d1b9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0xc2abdc], eax
cmp dword [0xc2abe4], 0
jne 0x46d1dd
push esp
push 0
push 0
push 0x46d0cc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0xc2abe4], eax
pop edx
ret
Function at 0x46d870
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0xc2abc8]
cmp dword [eax + 0x30], 0
je 0x46d91a
cmp dword [ebx + 0x94], 0
jne 0x46d914
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46d800
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46d914
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 0x46d8da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46d914
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.00419b04
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46d8e9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46e478
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 0x46e4ad
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.004046ec
jmp 0x46e4ba
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404650
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46f448
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46f489
mov eax, esi
call fcn.00455758
test al, al
je 0x46f489
mov eax, dword [ebx + 0x84]
call fcn.00455454
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46f489
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455454
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4701e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0xc28f94
mov eax, dword [0xc29740]
cmp dword [eax], 2
jne 0x47036c
push 0x470384
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [ebx], eax
cmp dword [ebx], 0
sete byte [0xc2abe8]
cmp dword [ebx], 0
jne 0x47021f
push 0x470384
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x47036c
push 0x470390
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fa0], eax
push 0x4703a8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fa4], eax
push 0x4703bc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28f98], eax
push 0x4703cc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28f9c], eax
push 0x4703d4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fa8], eax
push 0x4703e4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fac], eax
push 0x470400
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fb0], eax
push 0x470410
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fd8], eax
push 0x470420
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fb4], eax
push 0x470434
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fb8], eax
push 0x47044c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fc0], eax
push 0x470458
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fbc], eax
push 0x470468
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fc4], eax
push 0x470478
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fc8], eax
push 0x470494
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fcc], eax
push 0x4704b0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fd0], eax
push 0x4704c8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fd4], eax
push 0x4704dc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0xc28fdc], eax
cmp dword [ebx], 0
je 0x47037a
cmp dword [0xc28fc4], 0
jne 0x47037e
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x472c5c
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.00409a28
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, esi
mov edx, dword [esp + 4]
call fcn.004047f4
mov eax, dword [esp + 4]
call fcn.00409a84
call fcn.004740cc
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.004315c4
xor ecx, ecx
mov edx, 0x472cf4
mov eax, ebx
call fcn.00431628
test al, al
je 0x472cdf
mov edx, 0x472d38
mov eax, ebx
call fcn.00431b60
test al, al
je 0x472cd8
mov edx, 0x472d38
mov ecx, esi
mov eax, ebx
call fcn.004319e0
mov eax, ebx
call fcn.00431594
mov eax, ebx
call fcn.004037c0
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x472d48
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov dword [esp], 0xff
mov eax, dword [esp]
call fcn.00409a28
mov dword [esp + 4], eax
push esp
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x472d7d
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.00409a14
jmp 0x472d84
mov eax, ebx
call fcn.004045fc
mov eax, dword [esp + 4]
call fcn.00409a84
pop ecx
pop edx
pop ebx
ret

Function at 0x4731a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x473241
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404cdc
mov eax, 0x104
call fcn.00409a28
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x473204
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404dec
mov eax, dword [ebp - 8]
call fcn.00409a84
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00416b58
test al, al
je 0x47322b
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473248
lea eax, [ebp - 0xc]
call fcn.00406158
ret
Function at 0x473250
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404aac
xor eax, eax
push ebp
push 0x4733bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004045fc
call fcn.004740cc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x473390
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0xc2adc8], 0
je 0x4732d0
mov edx, 0x80000003
mov eax, dword [ebp - 0xc]
call fcn.004315c4
lea eax, [ebp - 0x14]
call fcn.0047308c
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
xor eax, eax
call fcn.00473f90
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4733d4
call fcn.00404908
jmp 0x4732ea
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.004315c4
lea eax, [ebp - 8]
mov edx, 0x4733d4
call fcn.00404694
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00431628
test al, al
je 0x47331f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00431b60
test al, al
je 0x473317
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004319e0
mov eax, dword [ebp - 0xc]
call fcn.00431594
cmp dword [ebx], 0
je 0x47332b
call fcn.00404034
jmp 0x473397
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004315c4
lea eax, [ebp - 8]
mov edx, 0x4733d4
call fcn.00404694
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00431628
test al, al
je 0x47337a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00431b60
test al, al
je 0x473372
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004319e0
mov eax, dword [ebp - 0xc]
call fcn.00431594
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473397
mov eax, dword [ebp - 0xc]
call fcn.004037c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4733c6
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404620
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404620
ret
Function at 0x473418
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov esi, eax
lea edi, [ebp - 4]
xor ecx, ecx
mov cl, byte [esi]
cmp cl, 2
jb 0x473436
mov cl, 2
mov byte [edi], cl
inc esi
inc edi
rep movsb byte es:[edi], byte [esi]
xor eax, eax
push ebp
push 0x473528
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00409a28
mov dword [ebp - 0xc], eax
lea edx, [ebp - 4]
lea eax, [ebp - 0x24]
call fcn.00403090
mov edx, 0x47353c
lea eax, [ebp - 0x24]
mov cl, 3
call fcn.00403060
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00404860
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004098a4
push 0x8001
call sub.kernel32.dll_SetErrorMode
mov word [ebp - 8], ax
xor eax, eax
push ebp
push 0x47350b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4734dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4734eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473512
mov eax, dword [ebp - 0xc]
call fcn.00409a84
movzx eax, word [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x473bc8
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x473c0c
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x473c0c
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x473cb7
lea eax, [esp + 8]
push eax
push 0
push 0
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [esp + 8]
call fcn.00402a64
mov esi, eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle
test ebx, ebx
je 0x473cb0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0xc29114
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x473ca6
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x473ca2
mov byte [esp], 1
jmp 0x473ca6
inc edi
dec ebx
jne 0x473c89
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402a94
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret