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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6529ad
mov eax, dword fs:[0]
push eax
sub esp, 0x7a4
mov eax, dword [0x6ee06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6a4], eax
mov dword [ebp - 0x7b0], eax
mov dword [ebp - 0x718], 0
mov dword [ebp - 0x714], 0xf
mov byte [ebp - 0x728], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x700], 0
mov dword [ebp - 0x6fc], 0xf
mov byte [ebp - 0x710], 0
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x6e4], 0xf
mov byte [ebp - 0x6f8], 0
mov dword [ebp - 0x6d0], 0
mov dword [ebp - 0x6cc], 0xf
mov byte [ebp - 0x6e0], 0
push 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x728]
push 0x6d8e03
mov dword [ebp - 0x6c8], 1
call fcn.0040ace0
push 0
push 0x6d8e03
lea ecx, [ebp - 0x710]
call fcn.0040ace0
push 0
push 0x6d8e03
lea ecx, [ebp - 0x6f8]
call fcn.0040ace0
push 0
push 0x6d8e03
lea ecx, [ebp - 0x6e0]
call fcn.0040ace0
lea eax, [ebp - 0x7ac]
mov dword [ebp - 4], 4
push eax
call fcn.00409e70
push eax
lea ecx, [ebp - 0x728]
call fcn.0040aac0
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a1ce
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a747
push edx
push ecx
call fcn.00424265
add esp, 8
lea eax, [ebp - 0x7ac]
push eax
call fcn.00409f00
push eax
lea ecx, [ebp - 0x710]
call fcn.0040aac0
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a220
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a216
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a74c
push edx
push ecx
call fcn.00424265
add esp, 8
lea eax, [ebp - 0x7ac]
push eax
call fcn.00409b60
lea eax, [ebp - 0x7ac]
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0040aac0
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a278
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a26e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a751
push edx
push ecx
call fcn.00424265
add esp, 8
push 0x208
lea eax, [ebp - 0x290]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.004e7e00
add esp, 0xc
lea eax, [ebp - 0x290]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 3
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004ef3b4
push 0x208
lea eax, [ebp - 0x6a0]
push 0
push eax
call fcn.004e7e00
push 0x208
lea eax, [ebp - 0x498]
push 0
push eax
call fcn.004e7e00
push 0x64
lea eax, [ebp - 0x88]
mov dword [ebp - 0x6c0], 0
push 0
push eax
mov dword [ebp - 0x6a4], 0
mov dword [ebp - 0x6c4], 0
call fcn.004e7e00
add esp, 0x30
lea eax, [ebp - 0x498]
push 0x104
push eax
lea eax, [ebp - 0x6c4]
push eax
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x6c0]
push eax
push 0x104
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40a36c
push dword [ebp - 0x6c0]
lea eax, [ebp - 0x88]
push str._08X
push eax
call fcn.00408cb0
add esp, 0xc
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x79c], 0
mov dword [ebp - 0x798], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x7ac], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a390
sub ecx, edx
lea eax, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x7ac]
call fcn.0040ace0
lea eax, [ebp - 0x7ac]
push eax
lea ecx, [ebp - 0x6e0]
call fcn.0040aac0
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a3f8
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a756
push edx
push ecx
call fcn.00424265
add esp, 8
mov dword [ebp - 0x6ac], 0
mov dword [ebp - 0x6a8], 0xf
mov byte [ebp - 0x6bc], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x710]
cmp dword [ebp - 0x6fc], 0x10
mov esi, dword [ebp - 0x700]
cmovae eax, dword [ebp - 0x710]
push esi
push eax
cmp esi, 0xf
ja 0x40a457
lea eax, [ebp - 0x6bc]
mov dword [ebp - 0x6ac], esi
push eax
call fcn.004e7880
add esp, 0xc
mov byte [ebp + esi - 0x6bc], 0
jmp 0x40a470
mov byte [ebp - 0x6a4], 0
lea ecx, [ebp - 0x6bc]
push dword [ebp - 0x6a4]
push esi
call fcn.0040b180
push 0x6d8e04
lea ecx, [ebp - 0x6bc]
call fcn.0040a920
cmp dword [ebp - 0x714], 0x10
lea ecx, [ebp - 0x728]
mov esi, dword [ebp - 0x6a8]
mov eax, esi
cmovae ecx, dword [ebp - 0x728]
mov edx, dword [ebp - 0x6ac]
sub eax, edx
mov edi, dword [ebp - 0x718]
push edi
push ecx
cmp edi, eax
ja 0x40a4db
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x6ac], eax
lea eax, [ebp - 0x6bc]
cmovae eax, dword [ebp - 0x6bc]
lea esi, [eax + edx]
push esi
call fcn.004e7880
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40a4f4
mov byte [ebp - 0x6a4], 0
lea ecx, [ebp - 0x6bc]
push dword [ebp - 0x6a4]
push edi
call fcn.0040b180
push 0x6d8e04
lea ecx, [ebp - 0x6bc]
call fcn.0040a920
cmp dword [ebp - 0x6e4], 0x10
lea ecx, [ebp - 0x6f8]
mov esi, dword [ebp - 0x6a8]
mov eax, esi
cmovae ecx, dword [ebp - 0x6f8]
mov edx, dword [ebp - 0x6ac]
sub eax, edx
mov edi, dword [ebp - 0x6e8]
push edi
push ecx
cmp edi, eax
ja 0x40a55f
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x6ac], eax
lea eax, [ebp - 0x6bc]
cmovae eax, dword [ebp - 0x6bc]
lea esi, [eax + edx]
push esi
call fcn.004e7880
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40a578
mov byte [ebp - 0x6a4], 0
lea ecx, [ebp - 0x6bc]
push dword [ebp - 0x6a4]
push edi
call fcn.0040b180
push 0x6d8e04
lea ecx, [ebp - 0x6bc]
call fcn.0040a920
cmp dword [ebp - 0x6cc], 0x10
lea ecx, [ebp - 0x6e0]
mov esi, dword [ebp - 0x6a8]
mov eax, esi
cmovae ecx, dword [ebp - 0x6e0]
mov edx, dword [ebp - 0x6ac]
sub eax, edx
mov edi, dword [ebp - 0x6d0]
push edi
push ecx
cmp edi, eax
ja 0x40a5e3
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0x6ac], eax
lea eax, [ebp - 0x6bc]
cmovae eax, dword [ebp - 0x6bc]
lea esi, [eax + edx]
push esi
call fcn.004e7880
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40a5fc
mov byte [ebp - 0x6a4], 0
lea ecx, [ebp - 0x6bc]
push dword [ebp - 0x6a4]
push edi
call fcn.0040b180
push 0x6d8e04
lea ecx, [ebp - 0x6bc]
call fcn.0040a920
push str.CCYS
lea ecx, [ebp - 0x6bc]
call fcn.0040a920
cmp dword [ebp - 0x6a8], 0x10
lea edx, [ebp - 0x6bc]
mov dword [ebp - 0x79c], 0
cmovae edx, dword [ebp - 0x6bc]
mov ecx, edx
mov dword [ebp - 0x798], 0xf
mov byte [ebp - 0x7ac], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a650
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x7ac]
call fcn.0040ace0
lea eax, [ebp - 0x7ac]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x794]
call fcn.004bf28c
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a6ba
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a75b
push edx
push ecx
call fcn.00424265
add esp, 8
mov esi, dword [ebp - 0x7b0]
lea ecx, [ebp - 0x794]
push esi
call fcn.004bf4d6
mov edx, dword [ebp - 0x6a8]
cmp edx, 0x10
jb 0x40a702
mov ecx, dword [ebp - 0x6bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a760
push edx
push ecx
call fcn.00424265
add esp, 8
lea ecx, [ebp - 0x728]
mov dword [ebp - 0x6ac], 0
mov dword [ebp - 0x6a8], 0xf
mov byte [ebp - 0x6bc], 0
call fcn.0040a770
mov eax, esi
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.00423c15
mov esp, ebp
pop ebp
ret 4
call fcn.004eb7f6
call fcn.004eb7f6
call fcn.004eb7f6
call fcn.004eb7f6
call fcn.004eb7f6
call fcn.004eb7f6
int3