Function at 0x4e57f0
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 0x55b7a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2c8
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c8]
push 0x104
push 0
push eax
mov dword [ebp - 0x50], 1
call fcn.004359b0
add esp, 0xc
lea eax, [ebp - 0x1c8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4e5cd4
mov dword [ebp - 0x18], 0xdfc7d9d6
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x28], eax
lea edx, [ecx + 1]
xorps xmm1, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x60], xmm1
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e5930
sub ecx, edx
lea eax, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00403040
mov dword [ebp - 4], 1
sub esp, 0x18
mov dword [ebp - 0x18], 0xdf9be3af
mov edx, esp
mov dword [ebp - 0x14], 0xf940fadb
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x28], eax
lea edi, [ecx + 1]
xorps xmm1, xmmword [ebp - 0x30]
movups xmmword [edx], xmm0
mov dword [ebp - 0xa4], esp
movaps xmmword [ebp - 0x70], xmm1
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e59e6
sub ecx, edi
lea eax, [ebp - 0x70]
push ecx
push eax
mov ecx, edx
call fcn.00403040
mov byte [ebp - 4], 2
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x14], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c8]
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e5a24
sub ecx, edi
lea eax, [ebp - 0x1c8]
push ecx
push eax
mov ecx, edx
call fcn.00403040
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.004e64d0
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x9c]
je 0x4e5b78
mov dword [ebp - 0x18], 0xdf9bbfaf
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x80]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0xbc]
xorps xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x80], xmm1
call fcn.0041ab20
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x4e5b69
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x4e5b35
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e5b2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e5ce9
push ecx
push edx
call fcn.004338f3
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbc]
call fcn.00402df0
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x4c]
push 0
push 0
push 0
push 0
push ecx
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 0
cmova eax, dword [ebp - 0x48]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4e5c7f
push 0x104
lea eax, [ebp - 0x2d0]
push 0
push eax
call fcn.004359b0
mov dword [ebp - 0x18], 0xdf9bbbb0
add esp, 0xc
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x4c]
movaps xmm1, xmmword [ebp - 0x90]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x2d0]
xorps xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x90], xmm1
call fcn.00403440
lea ecx, [ebp - 0x2d0]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e5c67
sub ecx, edx
lea eax, [ebp - 0x2d0]
push ecx
push eax
mov ecx, esi
call fcn.00416130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.004185d0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x4e5cc2
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e5cb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e5cee
push ecx
push edx
call fcn.004338f3
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00438c70
call fcn.00438c70
int3