Function at 0x4e2ba0
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 0x5586d5
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.004359a0
add esp, 0xc
lea eax, [ebp - 0x1c8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4e3084
mov dword [ebp - 0x18], 0xa9dceeee
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0xf3c01ed1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], 0x61453c76
mov dword [ebp - 0x14], 0xa0df89f8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], 0xa980d4ad
mov dword [ebp - 0x14], 0xf3c01ed1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x61453c76
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0xa0df89f8
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 0x4e2ce0
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], 0xa980d497
mov edx, esp
mov dword [ebp - 0x14], 0xf3c01ed1
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], 0x61453c76
mov dword [ebp - 0x14], 0xa0df89f8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x18], 0xa980d4ad
mov dword [ebp - 0x14], 0xf3c01ed1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x61453c76
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0xa0df89f8
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 0x4e2d96
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 0x4e2dd4
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.004e3880
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x9c]
je 0x4e2f28
mov dword [ebp - 0x18], 0xa9808897
mov dword [ebp - 0x14], 0xf3c01ed1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x18], 0x61453c76
mov dword [ebp - 0x14], 0xa0df89f8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x18], 0xa980d4ad
mov dword [ebp - 0x14], 0xf3c01ed1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0x61453c76
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0xa0df89f8
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 0x4e2f19
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x4e2ee5
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e2edb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e3099
push ecx
push edx
call fcn.004338e3
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 0x4e302f
push 0x104
lea eax, [ebp - 0x2d0]
push 0
push eax
call fcn.004359a0
mov dword [ebp - 0x18], 0xa9808c88
add esp, 0xc
mov dword [ebp - 0x14], 0xf3c01ed1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x18], 0x61453c76
mov dword [ebp - 0x14], 0xa0df89f8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x18], 0xa980d4ad
mov dword [ebp - 0x14], 0xf3c01ed1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0x61453c76
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0xa0df89f8
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 0x4e3017
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 0x4e3072
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e3068
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e309e
push ecx
push edx
call fcn.004338e3
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.00438c60
call fcn.00438c60
int3