joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444990
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 0x4449ac
cmp dword [esi + 4], 0
je 0x4449d9
test byte [ebx + 0x55], 1
jne 0x4449cb
mov eax, ebx
call fcn.004435e8
test eax, eax
jne 0x4449cb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x444ae9
mov edx, esi
mov eax, ebx
call fcn.004444b0
jmp 0x444ae9
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 0x444ae2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00446760
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.00441284
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00444990
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.00446760
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444ae9
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 0x44afc8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47fc10]
cmp byte [eax + 0xc], 0
je 0x44b135
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b12e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x480be4], 0
jne 0x44b01c
push 0x44b13c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44b144
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480be4], eax
cmp dword [0x47dc28], 0
jne 0x44b117
push 0x44b154
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47dc28], eax
cmp dword [0x47dc28], 0
je 0x44b117
push 0x44b160
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480be8], eax
push 0x44b170
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480bec], eax
push 0x44b184
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480bf0], eax
push 0x44b19c
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480bf4], eax
push 0x44b1b4
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480bf8], eax
push 0x44b1c8
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480bfc], eax
push 0x44b1e0
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480c00], eax
push 0x44b1f8
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480c04], eax
push 0x44b214
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480c08], eax
push 0x44b220
mov eax, dword [0x47dc28]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x480c0c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b135
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x457208
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457258]
test si, 4
je 0x45721c
or bl, 1
test si, 8
je 0x457226
or bl, 4
test si, 1
je 0x457230
or bl, 8
test si, 2
je 0x45723a
or bl, 0x10
test si, 0x10
je 0x457244
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457253
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45725c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457294]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457275
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457284
or bl, 4
test esi, 0x20000000
je 0x45728f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45d8b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45d8c2
add esp, 0xfffffff0
call fcn.00404030
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422788
mov eax, dword [0x47f8d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45dc54
mov eax, dword [0x47f8e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45dc60
mov eax, ebx
call fcn.0045dc6c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418730]
call fcn.00403c9c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418730]
call fcn.00403c9c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418730]
call fcn.00403c9c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418730]
call fcn.00403c9c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418730]
call fcn.00403c9c
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, 0x45a134
push eax
push 0
push 0
mov eax, dword [0x47fa24]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.004258cc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.004258cc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4241b8]
call fcn.004258cc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e08c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45df68
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45df68
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45df68
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d9ff
call fcn.00404088
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45dd4c
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 0x45def7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ded8
mov dl, 1
mov eax, dword [0x418c20]
call fcn.00403c9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a5c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45dec7
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.0044b328
test al, al
je 0x45deba
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, 0x45df08
lea eax, [ebp - 0x254]
call fcn.00409dcc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45deba
xor eax, eax
push ebp
push 0x45deb3
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 0x45df40
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45de9c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc4
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 0x45de9c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45deba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ddbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cd94
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 0x45defe
lea eax, [ebp - 0x260]
call fcn.00404a5c
ret

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

Disassembly:
push ecx
mov eax, dword [0x480c28]
cmp byte [eax + 0xa5], 0
jne 0x45e89d
cmp dword [0x480c40], 0
jne 0x45e85e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e7e8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x480c40], eax
cmp dword [0x480c3c], 0
jne 0x45e879
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x480c3c], eax
cmp dword [0x480c44], 0
jne 0x45e89d
push esp
push 0
push 0
push 0x45e78c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x480c44], eax
pop edx
ret
Function at 0x45e994
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e9ab
add esp, 0xfffffff0
call fcn.00404030
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422788
mov eax, dword [0x47fa14]
cmp word [eax + 2], 0
jne 0x45e9d3
mov eax, dword [0x47fa14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ffc8
mov eax, dword [0x47faac]
cmp word [eax + 2], 0
jne 0x45e9ed
mov eax, dword [0x47faac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004601c0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418730]
call fcn.00403c9c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418730]
call fcn.00403c9c
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], 0x80000018
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 [0x424c38]
call fcn.0042c4fc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45eb74
mov eax, dword [0x47f940]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c8cc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x460730
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47f940]
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.0040d2f4
test eax, eax
je 0x45eae2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409714
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d31c
test eax, eax
je 0x45eaf6
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.00404cc4
mov eax, dword [0x47f81c]
cmp byte [eax], 0
jne 0x45eb2a
mov eax, ebx
call fcn.0045ec9c
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.0046090c
mov eax, ebx
call fcn.004612bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45eb6a
call fcn.00404088
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ef10
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x480c28]
cmp dword [eax + 0x30], 0
je 0x45efba
cmp dword [ebx + 0x94], 0
jne 0x45efb4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45eea0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45efb4
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 0x45ef7a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45efb4
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.0041add0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ef89
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45fa98
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 0x45facd
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.00404b4c
jmp 0x45fada
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ab0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460ae8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460b29
mov eax, esi
call fcn.00446a64
test al, al
je 0x460b29
mov eax, dword [ebx + 0x84]
call fcn.00446760
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460b29
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446760
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464fa8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x465119
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4650f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404c3c
lea eax, [ebp - 0x118]
mov edx, 0x465130
call fcn.00404d1c
mov eax, dword [ebp - 0x118]
call fcn.00404f0c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x465066
lea eax, [ebp - 0x111]
call fcn.004096d8
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404b4c
jmp 0x46506d
mov eax, esi
call fcn.00404a5c
cmp bl, 0x61
jae 0x46508e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d1c8
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404ab0
jmp 0x4650a8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d13c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404ab0
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x46513c
call fcn.00409e4c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4650fb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x469fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404efc
xor eax, eax
push ebp
push 0x46a06a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046a5fc
test al, al
jne 0x46a017
lea eax, [ebp - 0x214]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
jmp 0x46a025
lea eax, [ebp - 0x214]
mov edx, dword [ebp - 4]
call fcn.00409770
lea eax, [ebp - 0x110]
push eax
mov al, byte [ebp - 5]
xor al, 1
and eax, 0x7f
push eax
push 0x46a078
lea eax, [ebp - 0x214]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x110]
call fcn.004098d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a071
lea eax, [ebp - 4]
call fcn.00404a5c
ret
Function at 0x46a0f8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a191
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004095b8
mov byte [ebp - 5], 0
mov edx, dword [ebp - 0x1c]
mov eax, 0x46a1a8
call fcn.00405050
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x46a17b
mov eax, dword [ebp - 0x1c]
call fcn.00404d14
mov ecx, eax
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
inc edx
lea eax, [ebp - 0x1c]
call fcn.00404fac
mov eax, dword [ebp - 0x1c]
call fcn.00404d14
mov ecx, eax
lea eax, [ebp - 0x15]
mov edx, dword [ebp - 0x1c]
call fcn.00409794
lea eax, [ebp - 0x15]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a198
lea eax, [ebp - 0x1c]
call fcn.00404a5c
ret

Function at 0x46a1ac
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a299
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 4]
call fcn.004094a4
lea eax, [ebp - 0x128]
mov edx, 0x46a2b8
call fcn.00404d1c
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
call fcn.00409770
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x46a280
xor eax, eax
push ebp
push 0x46a25c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
imul dword [ebp - 0x14]
imul dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a2a0
lea eax, [ebp - 0x128]
call fcn.00404a5c
ret
Function at 0x46a408
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a5d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004094a4
cmp dword [ebp - 0x18], 0
jne 0x46a459
lea eax, [ebp - 0x1c]
call fcn.004096cc
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004094a4
lea eax, [ebp - 0x18]
mov edx, 0x46a5ec
call fcn.00404d1c
mov eax, dword [ebp - 4]
call fcn.0046ab38
sub al, 2
jb 0x46a479
je 0x46a48c
jmp case.default.0x46a4ec
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
jmp case.default.0x46a4ec
mov edx, dword [ebp - 4]
mov eax, 0x46a5f8
call fcn.00405050
dec eax
jne 0x46a4cf
push ebp
call fcn.0046a3a8
pop ecx
test al, al
je 0x46a4bc
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046a2bc
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp case.default.0x46a4ec
mov dword [ebp - 0x10], 0x7fffffff
mov dword [ebp - 0xc], 0
jmp case.default.0x46a4ec
mov eax, dword [ebp - 0x18]
call fcn.00404f0c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 6
ja case.default.0x46a4ec
jmp dword [eax*4 + 0x46a4f3]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
jmp case.default.0x46a4ec
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
jmp case.default.0x46a4ec
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
jmp case.default.0x46a4ec
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046a1ac
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp case.default.0x46a4ec
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046a384
pop ecx
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp case.default.0x46a4ec
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046a1ac
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp case.default.0x46a4ec
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046a2bc
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xffffffff
jne 0x46a594
cmp dword [ebp - 0x10], 0xffffffff
jb 0x46a5a9
jmp 0x46a596
jl 0x46a5a9
cmp dword [ebp - 0xc], 0
jne 0x46a5a7
cmp dword [ebp - 0x10], 0x7fffffff
jbe 0x46a5b2
jmp 0x46a5a9
jle 0x46a5b2
mov dword [ebp - 8], 0x7fffffff
jmp 0x46a5b8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a5da
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404a80
ret