Function at 0x404330
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4505d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x45e008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], 0
push 0x458bbf
lea ecx, [ebp - 0x25c]
call fcn.00401810
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.004393f0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x244], 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x244]
push edx
push 0
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4045e1
push 0x104
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.004393f0
add esp, 0xc
xor edx, edx
mov byte [ebp - 0x25d], dl
xor eax, eax
mov byte [ebp - 0x25e], al
xor ecx, ecx
mov byte [ebp - 0x25f], cl
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x288], edx
mov al, byte [ebp - 0x25d]
mov byte [ebp - 0x26c], al
mov cl, byte [ebp - 0x25e]
mov byte [ebp - 0x270], cl
mov dl, byte [ebp - 0x25f]
mov byte [ebp - 0x274], dl
mov eax, 0xc8636f9d
mov dword [ebp - 0x2a0], 0x183738d0
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2bc], edx
mov eax, 0xada85920
mov dword [ebp - 0x2a8], 0x866af9da
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2b4], edx
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x280], ecx
mov edx, 0xc8636f9d
mov dword [ebp - 0x240], 0x183760f5
mov dword [ebp - 0x23c], edx
mov eax, 0xada85920
mov dword [ebp - 0x238], 0x866af9da
mov dword [ebp - 0x234], eax
xor ecx, ecx
mov byte [ebp - 0x260], cl
mov dl, byte [ebp - 0x260]
mov byte [ebp - 0x278], dl
movaps xmm0, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0x2f0], xmm0
mov eax, dword [ebp - 0x27c]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x2e0], xmm0
movaps xmm0, xmmword [ebp - 0x2e0]
pxor xmm0, xmmword [ebp - 0x2f0]
movaps xmmword [ebp - 0x300], xmm0
movaps xmm0, xmmword [ebp - 0x300]
mov ecx, dword [ebp - 0x27c]
movups xmmword [ecx], xmm0
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x280]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.004025c0
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
add ecx, 1
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x268]
mov al, byte [edx]
mov byte [ebp - 0x261], al
add dword [ebp - 0x268], 1
cmp byte [ebp - 0x261], 0
jne 0x404580
mov ecx, dword [ebp - 0x268]
sub ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x294], edx
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
push ecx
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x25c]
call fcn.00401c50
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebx + 8]
call fcn.00401790
mov ecx, dword [ebp - 0x284]
or ecx, 1
mov dword [ebp - 0x284], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.00401ab0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00437b28
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret