joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454c9c
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 0x454cb8
cmp dword [esi + 4], 0
je 0x454ce5
test byte [ebx + 0x55], 1
jne 0x454cd7
mov eax, ebx
call fcn.0045383c
test eax, eax
jne 0x454cd7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x454df5
mov edx, esi
mov eax, ebx
call fcn.004547c0
jmp 0x454df5
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 0x454dee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00456b44
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.004514d8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00454c9c
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.00456b44
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454df5
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 0x45b520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x50ef78]
cmp byte [eax + 0xc], 0
je 0x45b68d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b686
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50fb74], 0
jne 0x45b574
push 0x45b694
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45b69c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb74], eax
cmp dword [0x50bfa4], 0
jne 0x45b66f
push 0x45b6ac
call sub.kernel32.dll_LoadLibraryA
mov dword [0x50bfa4], eax
cmp dword [0x50bfa4], 0
je 0x45b66f
push 0x45b6b8
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb78], eax
push 0x45b6c8
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb7c], eax
push 0x45b6dc
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb80], eax
push 0x45b6f4
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb84], eax
push 0x45b70c
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb88], eax
push 0x45b720
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb8c], eax
push 0x45b738
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb90], eax
push 0x45b750
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb94], eax
push 0x45b76c
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb98], eax
push 0x45b778
mov eax, dword [0x50bfa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x50fb9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b68d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45f9ec
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.004048c4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45fa3b
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.00404b34
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46723c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46728c]
test si, 4
je 0x467250
or bl, 1
test si, 8
je 0x46725a
or bl, 4
test si, 1
je 0x467264
or bl, 8
test si, 2
je 0x46726e
or bl, 0x10
test si, 0x10
je 0x467278
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x467287
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x467290
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4672c8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4672a9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4672b8
or bl, 4
test esi, 0x20000000
je 0x4672c3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x467318
Capabilities:
Log keystrokes via polling

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

Function at 0x46d990
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46d9a2
add esp, 0xfffffff0
call fcn.00403d14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004279e8
mov eax, dword [0x50e7d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x46dd34
mov eax, dword [0x50e7f4]
mov dword [eax + 4], ebx
mov dword [eax], 0x46dd40
mov eax, ebx
call fcn.0046dd4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c124]
call fcn.00403980
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c124]
call fcn.00403980
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c124]
call fcn.00403980
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c124]
call fcn.00403980
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c124]
call fcn.00403980
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, 0x46a168
push eax
push 0
push 0
mov eax, dword [0x50eb30]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429a9c]
call fcn.0042b2b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x429a9c]
call fcn.0042b2b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x429a9c]
call fcn.0042b2b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046e1fc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e090
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e090
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e090
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46dadf
call fcn.00403d6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46de74
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 0x46e01f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46e000
mov dl, 1
mov eax, dword [0x41c788]
call fcn.00403980
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46dfef
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.0045b880
test al, al
je 0x46dfe2
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, 0x46e030
lea eax, [ebp - 0x254]
call fcn.0040a758
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46dfe2
xor eax, eax
push ebp
push 0x46dfdb
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 0x46e068
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46dfc4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b34
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 0x46dfc4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dfe2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46dee5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0042126c
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 0x46e026
lea eax, [ebp - 0x260]
call fcn.004048c4
ret

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

Disassembly:
push ecx
mov eax, dword [0x50fbc0]
cmp byte [eax + 0xa5], 0
jne 0x46ea0d
cmp dword [0x50fbd8], 0
jne 0x46e9ce
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46e958
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x50fbd8], eax
cmp dword [0x50fbd4], 0
jne 0x46e9e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x50fbd4], eax
cmp dword [0x50fbdc], 0
jne 0x46ea0d
push esp
push 0
push 0
push 0x46e8fc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x50fbdc], eax
pop edx
ret
Function at 0x46eb04
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46eb1b
add esp, 0xfffffff0
call fcn.00403d14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004279e8
mov eax, dword [0x50eb0c]
cmp word [eax + 2], 0
jne 0x46eb43
mov eax, dword [0x50eb0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00470284
mov eax, dword [0x50ecb0]
cmp word [eax + 2], 0
jne 0x46eb5d
mov eax, dword [0x50ecb0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047047c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41c124]
call fcn.00403980
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41c124]
call fcn.00403980
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 [0x42a61c]
call fcn.00432424
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46ece4
mov eax, dword [0x50e8d4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004327f4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x470a2c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x50e8d4]
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.0040e734
test eax, eax
je 0x46ec52
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a138
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e75c
test eax, eax
je 0x46ec66
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.00404b34
mov eax, dword [0x50e5d8]
cmp byte [eax], 0
jne 0x46ec9a
mov eax, ebx
call fcn.0046ee0c
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.00470c08
mov eax, ebx
call fcn.004715cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46ecda
call fcn.00403d6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f08c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x50fbc0]
cmp dword [eax + 0x30], 0
je 0x46f136
cmp dword [ebx + 0x94], 0
jne 0x46f130
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46f01c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46f130
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 0x46f0f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46f130
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.0041ebdc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46f105
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46fc98
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 0x46fccd
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.004049b4
jmp 0x46fcda
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404918
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470de4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470e25
mov eax, esi
call fcn.00456e48
test al, al
je 0x470e25
mov eax, dword [ebx + 0x84]
call fcn.00456b44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470e25
push 0
mov eax, dword [ebx + 0x84]
call fcn.00456b44
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47ed68
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 [0x41b5f4]
call fcn.004053cc
xor eax, eax
push ebp
push 0x47eeac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50c7fc], 0
jne 0x47edbb
mov ecx, dword [0x50e620]
mov dl, 1
mov eax, dword [0x4084a8]
call fcn.0040d8c8
call fcn.00404240
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004031e0
mov eax, ebx
call fcn.00405184
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47eebc
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.004067d4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405194
test eax, eax
jle 0x47ee53
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 0x47ee4c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b4c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b34
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004093c0
test eax, eax
jne 0x47ee4c
mov ebx, 0x15
jmp 0x47ee58
mov ebx, 0x10
jmp 0x47ee58
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 [0x50c7fc]
call fcn.0047ec64
mov eax, dword [ebp - 8]
call fcn.0047ec64
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004067ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47eeb3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004048e8
lea eax, [ebp - 0x10]
mov edx, dword [0x41b5f4]
call fcn.0040549c
ret
Function at 0x482860
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 esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4828f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404ff8
mov eax, 0x104
call fcn.0040a2fc
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4828bb
mov eax, esi
mov edx, ebx
call fcn.00405108
mov eax, ebx
call fcn.0040a348
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.0041b9c8
test al, al
je 0x4828e1
mov eax, dword [ebp - 8]
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 0x4828fe
lea eax, [ebp - 0xc]
call fcn.004067d4
ret

Function at 0x482908
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 0x482926
mov cl, 2
mov byte [edi], cl
inc esi
inc edi
rep movsb byte es:[edi], byte [esi]
xor eax, eax
push ebp
push 0x482a18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.0040a2fc
mov dword [ebp - 0xc], eax
lea edx, [ebp - 4]
lea eax, [ebp - 0x24]
call fcn.004030c4
mov edx, 0x482a2c
lea eax, [ebp - 0x24]
mov cl, 3
call fcn.00403094
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00404b28
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.0040a194
push 0x8001
call sub.kernel32.dll_SetErrorMode
mov word [ebp - 8], ax
xor eax, eax
push ebp
push 0x4829fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4829cd
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 0x4829db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482a02
mov eax, dword [ebp - 0xc]
call fcn.0040a348
movzx eax, word [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x483054
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 0x483098
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x483098
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 0x48312f
mov eax, 0x400
call fcn.00402830
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
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_1
test ebx, ebx
je 0x483128
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 0x50c940
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x48311e
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 0x48311a
mov byte [esp], 1
jmp 0x48311e
inc edi
dec ebx
jne 0x483101
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402850
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x484a00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484aac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.0040a2fc
mov esi, eax
push esi
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsA
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048c4
mov edi, ebx
test edi, edi
jl 0x484a8f
inc edi
xor ebx, ebx
cmp byte [esi + ebx], 0
je 0x484a84
mov al, byte [esi + ebx]
mov edx, eax
add dl, 0xbf
sub dl, 0x1a
jb 0x484a62
add al, 0x9f
sub al, 0x1a
jae 0x484a8b
mov al, byte [esi + ebx]
call fcn.00402bf8
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404aac
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00404b8c
mov eax, dword [ebp - 4]
jmp 0x484a8b
cmp byte [esi + ebx + 1], 0
je 0x484a8f
inc ebx
dec edi
jne 0x484a49
mov eax, esi
call fcn.0040a348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484ab3
lea eax, [ebp - 8]
call fcn.004048c4
ret