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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652a2d
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 0x6d8da3
mov dword [ebp - 0x6c8], 1
call fcn.0040ad50
push 0
push 0x6d8da3
lea ecx, [ebp - 0x710]
call fcn.0040ad50
push 0
push 0x6d8da3
lea ecx, [ebp - 0x6f8]
call fcn.0040ad50
push 0
push 0x6d8da3
lea ecx, [ebp - 0x6e0]
call fcn.0040ad50
lea eax, [ebp - 0x7ac]
mov dword [ebp - 4], 4
push eax
call fcn.00409ee0
push eax
lea ecx, [ebp - 0x728]
call fcn.0040ab30
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a23e
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a234
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7bb
push edx
push ecx
call fcn.004244c5
add esp, 8
lea eax, [ebp - 0x7ac]
push eax
call fcn.00409f70
push eax
lea ecx, [ebp - 0x710]
call fcn.0040ab30
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a290
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a286
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7c0
push edx
push ecx
call fcn.004244c5
add esp, 8
lea eax, [ebp - 0x7ac]
push eax
call fcn.00409bc0
lea eax, [ebp - 0x7ac]
push eax
lea ecx, [ebp - 0x6f8]
call fcn.0040ab30
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a2e8
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7c5
push edx
push ecx
call fcn.004244c5
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.004e7e30
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 0xa
push eax
call fcn.004ef6c9
push 0x208
lea eax, [ebp - 0x6a0]
push 0
push eax
call fcn.004e7e30
push 0x208
lea eax, [ebp - 0x498]
push 0
push eax
call fcn.004e7e30
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.004e7e30
add esp, 0x34
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 0x40a3e0
push dword [ebp - 0x6c0]
lea eax, [ebp - 0x88]
push str._08X
push 0x64
push eax
call fcn.00408cb0
add esp, 0x10
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 0x40a404
sub ecx, edx
lea eax, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x7ac]
call fcn.0040ad50
lea eax, [ebp - 0x7ac]
push eax
lea ecx, [ebp - 0x6e0]
call fcn.0040ab30
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a46c
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a462
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7ca
push edx
push ecx
call fcn.004244c5
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 0x40a4cb
lea eax, [ebp - 0x6bc]
mov dword [ebp - 0x6ac], esi
push eax
call fcn.004e78b0
add esp, 0xc
mov byte [ebp + esi - 0x6bc], 0
jmp 0x40a4e4
mov byte [ebp - 0x6a4], 0
lea ecx, [ebp - 0x6bc]
push dword [ebp - 0x6a4]
push esi
call fcn.0040b1f0
push 0x6d8da4
lea ecx, [ebp - 0x6bc]
call fcn.0040a990
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 0x40a54f
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.004e78b0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40a568
mov byte [ebp - 0x6a4], 0
lea ecx, [ebp - 0x6bc]
push dword [ebp - 0x6a4]
push edi
call fcn.0040b1f0
push 0x6d8da4
lea ecx, [ebp - 0x6bc]
call fcn.0040a990
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 0x40a5d3
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.004e78b0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40a5ec
mov byte [ebp - 0x6a4], 0
lea ecx, [ebp - 0x6bc]
push dword [ebp - 0x6a4]
push edi
call fcn.0040b1f0
push 0x6d8da4
lea ecx, [ebp - 0x6bc]
call fcn.0040a990
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 0x40a657
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.004e78b0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40a670
mov byte [ebp - 0x6a4], 0
lea ecx, [ebp - 0x6bc]
push dword [ebp - 0x6a4]
push edi
call fcn.0040b1f0
push 0x6d8da4
lea ecx, [ebp - 0x6bc]
call fcn.0040a990
push str.CCYS
lea ecx, [ebp - 0x6bc]
call fcn.0040a990
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 0x40a6c4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x7ac]
call fcn.0040ad50
lea eax, [ebp - 0x7ac]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x794]
call fcn.004bea0c
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x798]
cmp edx, 0x10
jb 0x40a72e
mov ecx, dword [ebp - 0x7ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a724
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7cf
push edx
push ecx
call fcn.004244c5
add esp, 8
mov esi, dword [ebp - 0x7b0]
lea ecx, [ebp - 0x794]
push esi
call fcn.004bec56
mov edx, dword [ebp - 0x6a8]
cmp edx, 0x10
jb 0x40a776
mov ecx, dword [ebp - 0x6bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a76c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a7d4
push edx
push ecx
call fcn.004244c5
add esp, 8
lea ecx, [ebp - 0x728]
mov dword [ebp - 0x6ac], 0
mov dword [ebp - 0x6a8], 0xf
mov byte [ebp - 0x6bc], 0
call fcn.0040a7e0
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.00423e75
mov esp, ebp
pop ebp
ret 4
call fcn.004eb826
call fcn.004eb826
call fcn.004eb826
call fcn.004eb826
call fcn.004eb826
call fcn.004eb826
int3