joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425bd0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x3c], eax
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x425c31
push edi
push edi
push 3
push edi
push edi
push 8
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x425c31
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
cmp dword [0x55932c], edi
je 0x425c4a
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
mov edi, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileInformationByHandle]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
shr ecx, 9
and ecx, 1
mov dword [eax], ecx
test edi, edi
je 0x425c7d
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x426830
Capabilities:
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, 0x1e
call fcn.00427440
add esp, 4
mov ebx, eax
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x426871
pop edi
pop esi
or eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xffffffff
je 0x42687f
push ebx
call fcn.00415b70
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
lea eax, [ebp - 4]
push 0
push eax
push 0
push 0
push 0
push 0
push 0x90018
push edi
call ebx
test eax, eax
jne 0x4268c7
nop
test esi, esi
jle 0x4268c7
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
lea eax, [ebp - 4]
dec esi
push eax
push 0
push 0
push 0
push 0
push 0x90018
push edi
call ebx
test eax, eax
je 0x4268a0
push 0
lea eax, [ebp - 4]
mov esi, 0x1e
push eax
push 0
push 0
push 0
push 0
push 0x90020
push edi
call ebx
mov ebx, eax
test ebx, ebx
jne 0x42692f
test esi, esi
jle 0x426924
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
lea eax, [ebp - 4]
dec esi
push eax
push 0
push 0
push 0
push 0
push 0x90020
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov ebx, eax
test ebx, ebx
je 0x4268e8
or eax, 0xffffffff
test ebx, ebx
cmovne eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x42692f
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or eax, 0xffffffff
test ebx, ebx
cmovne eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x301c
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1014]
push edi
push 0x802
push 0
push eax
or edi, 0xffffffff
call fcn.004e46b0
push 0x802
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004e46b0
push ebx
call fcn.00427440
add esp, 0x1c
cmp eax, edi
je 0x426a90
add eax, 0x41
mov dword [ebp - 0xa], 0x5c003a
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
mov eax, dword [0x559348]
push eax
inc eax
mov dword [0x559348], eax
lea eax, [ebp - 0x810]
push 0x51a78c
push eax
call fcn.004054c0
add esp, 0xc
lea eax, [ebp - 0x810]
push ebx
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
je 0x426bd8
push esi
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1014]
push str.._s
push eax
call fcn.004054c0
lea eax, [ebp - 0x1014]
xor esi, esi
push eax
call fcn.00429b00
add esp, 0x10
test eax, eax
je 0x426b91
lea eax, [ebp - 0x1014]
push ebx
push eax
call fcn.00426830
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x426b18
mov esi, 1
jmp 0x426b91
mov esi, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
lea eax, [ebp - 0x3018]
push 0
push eax
push 0
push 0
push 0
push 0
push 0x90083
push edi
call esi
push 0
lea eax, [ebp - 0x3018]
push eax
push 0
push 0
push 0
push 0
push 0x90083
push edi
call esi
push 0x2000
lea eax, [ebp - 0x3014]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 8]
push 0
push eax
push 0x2000
lea eax, [ebp - 0x3014]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x426b88
lea esi, [eax + 1]
jmp 0x426b91
push edi
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x301c], eax
cmp edi, 0xffffffff
je 0x426ba9
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
lea eax, [ebp - 0x810]
push eax
push 7
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
push dword [ebp - 0x301c]
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x426c40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426c5c
test al, 1
je 0x426c5c
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4277b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x41
mov word [ebp - 0xc], ax
xor eax, eax
push eax
push eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x10]
cdq
push 0
sub eax, edx
mov dword [ebp - 0xa], 0x5c003a
push 0
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x427d40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0
push 3
push 0
push 0
push 8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x427d79
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
push esi
test eax, eax
jne 0x427d80
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
pop esi
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x427da0
Capabilities:
Get file size
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x427dde
push edi
push edi
push 3
push edi
push edi
push 8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x427e1c
cmp dword [ebp + 0x10], edi
je 0x427df4
push 0
lea eax, [ebp - 8]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
jne 0x427e24
test edi, edi
je 0x427e15
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x427e37
push 0
lea eax, [ebp - 8]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x427e60
Capabilities:
Get disk information

Disassembly:
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov ecx, 2
nop dword [eax + eax]
mov edx, 1
shl edx, cl
test eax, edx
je 0x427e85
inc ecx
cmp ecx, 0x1a
jl 0x427e70
or eax, 0xffffffff
ret
mov eax, ecx
ret
Function at 0x428180
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e552
mov eax, dword fs:[0]
push eax
mov eax, 0x1848
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1854], ebx
cmp dword [esi + 0x14], 8
jb 0x4281ca
mov eax, dword [esi]
jmp 0x4281cc
mov eax, esi
lea ecx, [ebp - 0x1018]
push ecx
push eax
call fcn.0042ab00
add esp, 8
test eax, eax
jne 0x428201
cmp dword [esi + 0x14], 8
jb 0x4281e8
mov esi, dword [esi]
lea ecx, [ebp - 0x1018]
nop
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4281f0
push 0x401
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstVolumeW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42837d
nop
xor eax, eax
mov dword [ebp - 0x1820], 7
mov dword [ebp - 0x1824], 0
mov word [ebp - 0x1834], ax
cmp word [ebp - 0x814], ax
je 0x42825f
lea eax, [ebp - 0x814]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428250
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x1834]
call fcn.004051a0
lea eax, [ebp - 0x1834]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x184c]
or ebx, 1
push eax
mov dword [ebp - 0x1854], ebx
call fcn.004283d0
add esp, 8
or ebx, 2
cmp dword [eax + 0x14], 8
jb 0x4282a3
mov eax, dword [eax]
push 0x401
lea ecx, [ebp - 0x181c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x4282db
lea eax, [ebp - 0x181c]
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.004e85f7
add esp, 8
mov byte [ebp - 0x184d], 1
test eax, eax
je 0x4282e2
mov byte [ebp - 0x184d], 0
test bl, 2
je 0x428325
mov eax, dword [ebp - 0x1838]
and ebx, 0xfffffffd
cmp eax, 8
jb 0x428308
inc eax
lea ecx, [ebp - 0x184c]
push eax
push dword [ebp - 0x184c]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x1838], 7
mov dword [ebp - 0x183c], 0
mov word [ebp - 0x184c], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x428352
mov eax, dword [ebp - 0x1820]
and ebx, 0xfffffffe
cmp eax, 8
jb 0x428352
inc eax
lea ecx, [ebp - 0x1834]
push eax
push dword [ebp - 0x1834]
call fcn.004052a0
cmp byte [ebp - 0x184d], 0
lea eax, [ebp - 0x814]
jne 0x4283bb
push 0x401
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextVolumeW]
test eax, eax
jne 0x428220
push esi
call dword [sym.imp.KERNEL32.DLL_FindVolumeClose]
xor eax, eax
mov dword [edi + 0x14], 7
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x516968
mov word [edi], ax
call fcn.004051a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push eax
mov ecx, edi
call fcn.00403e70
jmp 0x42839d
Function at 0x4285e0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x516e4c]
movq xmm0, qword [str..X:]
push esi
mov dword [ebp - 0x3c], eax
movzx eax, word [0x516e50]
push 0x32
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x36]
push 0
push eax
movq qword [ebp - 0x44], xmm0
call fcn.004e46b0
movsx ax, byte [ebp + 8]
add esp, 0xc
push 0
push 0x90000000
push 3
push 0
push 3
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x44]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4286d3
push 0
lea eax, [ebp - 0x74]
push eax
push 0xc
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x42868d
cmp dword [ebp - 0x4c], 0xffffffff
je 0x42868d
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x4c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x74]
push eax
push 0x20
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0x560000
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x4286cc
cmp dword [ebp - 0x68], 0xffffffff
je 0x4286cc
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x68]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x428750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 0x808]
push 0x400
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push dword [ebp - 0x808]
call fcn.004285e0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x428e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x401
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x428ec7
movzx eax, word [ebp - 0x808]
push eax
call fcn.004f842a
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x429760
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e693
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x890], 0
push eax
call fcn.004283d0
add esp, 8
cmp dword [ebp - 0x81c], 0
mov dword [ebp - 4], 0
sete al
test al, al
je 0x4297eb
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, dword [ebp - 0x818]
cmp ecx, 8
jb 0x429990
inc ecx
push ecx
jmp 0x42997f
cmp dword [ebp - 0x818], 8
lea ecx, [ebp - 0x814]
push 0x400
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
jne 0x429828
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
jmp 0x429972
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x85c]
call fcn.00403e70
lea eax, [ebp - 0x85c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x844]
push eax
call fcn.004299b0
add esp, 8
mov eax, dword [ebp - 0x848]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x429876
inc eax
lea ecx, [ebp - 0x85c]
push eax
push dword [ebp - 0x85c]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x848], 7
cmp dword [ebp - 0x834], eax
mov word [ebp - 0x85c], ax
sete al
mov dword [ebp - 0x84c], 0
test al, al
je 0x4298b9
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x88c]
call fcn.00403e70
mov ebx, 2
jmp 0x4298f6
xor eax, eax
mov dword [ebp - 0x860], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x874], ax
lea ecx, [ebp - 0x874]
lea eax, [ebp - 0x844]
mov dword [ebp - 0x864], 0
push eax
call fcn.00405080
lea eax, [ebp - 0x874]
mov ebx, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00404990
or ebx, 1
test bl, 4
je 0x429927
lea ecx, [ebp - 0x874]
and ebx, 0xfffffffb
call fcn.00495b40
test bl, 2
je 0x429937
lea ecx, [ebp - 0x88c]
call fcn.00495b40
mov eax, dword [ebp - 0x830]
cmp eax, 8
jb 0x429955
inc eax
lea ecx, [ebp - 0x844]
push eax
push dword [ebp - 0x844]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x830], 7
mov dword [ebp - 0x834], 0
mov word [ebp - 0x844], ax
mov eax, dword [ebp - 0x818]
cmp eax, 8
jb 0x429990
inc eax
push eax
push dword [ebp - 0x82c]
lea ecx, [ebp - 0x82c]
call fcn.004052a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x429bb0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.00414f30
add esp, 4
test eax, eax
jne 0x429bc4
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
shr eax, 4
and eax, 1
pop ebp
ret

Function at 0x429c80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa08
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa08]
push 0x401
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNameW]
test eax, eax
je 0x429d01
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xa08]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x429d01
push 5
lea eax, [ebp - 0x204]
push 0x51ac5c
push eax
call fcn.004f845a
add esp, 0xc
test eax, eax
jne 0x429d01
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x42a490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.004e46b0
push 0xe
call fcn.0041c0d0
add esp, 0x10
test eax, eax
je 0x42a529
lea eax, [ebp - 0x808]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42a529
push esi
push edi
lea edi, [ebp - 0x808]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42a4f0
mov ecx, 6
lea eax, [ebp - 0x808]
mov esi, 0x51aab8
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call fcn.00414f30
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x42a540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e740
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
xor eax, eax
push 1
push 0x518bd8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004051a0
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00403cd0
push 0x518bd8
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00403cd0
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x42a5c6
mov eax, dword [eax]
push 1
push 0
push eax
push str.isoburn.exe
push 0x518484
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
cmp ecx, 8
jb 0x42a5f3
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x42a61c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x42a64c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004052a0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp esi, 0x20
jg 0x42a679
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push edi
call fcn.00417c00
add esp, 4
xor eax, eax
jmp 0x42a67e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x42a6a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov ecx, 2
mov edx, 1
shl edx, cl
test eax, edx
je 0x42a6e2
inc ecx
cmp ecx, 0x1a
jl 0x42a6c2
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
cmp ecx, 0xffffffff
je 0x42a77b
xor eax, eax
mov dword [ebp - 0xa], 0x5c003a
mov word [ebp - 6], ax
add ecx, 0x41
push edi
lea eax, [ebp - 0x14]
mov word [ebp - 0xc], cx
push eax
push 1
mov word [ebp - 0x14], cx
mov dword [ebp - 0x12], 0x3a
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
je 0x42a77b
push esi
push 0x802
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 0x818]
push 0x400
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
mov esi, eax
lea eax, [ebp - 0x14]
push edi
push eax
push 7
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test esi, esi
pop esi
je 0x42a77b
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_SetVolumeMountPointW]
test eax, eax
je 0x42a77b
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret