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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5463
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], edx
mov esi, ecx
mov dword [ebp - 0x264], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x260], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, 1
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x258], eax
call fcn.00415d20
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [esi + 8]
test eax, eax
jne 0x4139cb
mov eax, dword [esi + 4]
cmp eax, edx
je 0x4139bc
push 8
push str.C:_temp_
mov ecx, eax
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.004066d0
add dword [esi + 4], 0x18
jmp 0x413a21
push str.C:_temp_
push eax
mov ecx, esi
call fcn.00416690
jmp 0x413a21
mov ecx, dword [esi + 4]
cmp ecx, edx
je 0x413a12
lea edx, [ebp - 0x220]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
lea edi, [edx + 2]
mov dword [ecx + 0x14], 0
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4139f0
sub edx, edi
lea eax, [ebp - 0x220]
sar edx, 1
push edx
push eax
call fcn.004066d0
add dword [esi + 4], 0x18
jmp 0x413a21
lea eax, [ebp - 0x220]
push eax
push ecx
mov ecx, esi
call fcn.00416690
mov eax, dword [ebp - 0x254]
add eax, 0x40c
mov edi, dword [eax]
test edi, edi
je 0x413a89
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x413a80
mov edx, edi
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
lea eax, [edx + 2]
mov dword [ebp - 0x254], eax
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x413a60
sub edx, dword [ebp - 0x254]
sar edx, 1
push edx
push edi
call fcn.004066d0
add dword [esi + 4], 0x18
jmp 0x413a89
push eax
push ecx
mov ecx, esi
call fcn.00416870
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x240], 0
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x23c], 0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413ac0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x250]
call fcn.004066d0
mov eax, dword [ebp - 0x254]
mov edi, accept
mov dword [ebp - 4], 1
test al, 8
je 0x413bd3
mov ecx, dword [ebp - 0x240]
mov eax, edi
sub eax, ecx
cmp eax, 8
jb 0x413de1
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push ecx
cmovae eax, dword [ebp - 0x250]
push eax
push 8
push str.D:_temp_
push ecx
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x238]
call fcn.0040a060
mov eax, 3
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x413b7a
movups xmm0, xmmword [ebp - 0x238]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov ecx, 7
add dword [esi + 4], 0x18
mov word [ebp - 0x238], ax
jmp 0x413b8f
lea ecx, [ebp - 0x238]
push ecx
push eax
mov ecx, esi
call fcn.00416a60
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 1
cmp ecx, 8
jb 0x413bcd
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413bc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413de6
push ecx
push edx
call fcn.005a242d
add esp, 8
mov eax, dword [ebp - 0x254]
test al, 0x10
je 0x413cb4
mov ecx, dword [ebp - 0x240]
mov eax, edi
sub eax, ecx
cmp eax, 8
jb 0x413de1
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push ecx
cmovae eax, dword [ebp - 0x250]
push eax
push 8
push str.E:_temp_
push ecx
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x238]
call fcn.0040a060
or dword [ebp - 0x258], 4
mov byte [ebp - 4], 7
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x413c5b
movups xmm0, xmmword [ebp - 0x238]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov ecx, 7
add dword [esi + 4], 0x18
mov word [ebp - 0x238], ax
jmp 0x413c70
lea ecx, [ebp - 0x238]
push ecx
push eax
mov ecx, esi
call fcn.00416a60
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 1
cmp ecx, 8
jb 0x413cae
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413ca4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413de6
push ecx
push edx
call fcn.005a242d
add esp, 8
mov eax, dword [ebp - 0x254]
test al, 0x20
je 0x413d85
mov ecx, dword [ebp - 0x240]
sub edi, ecx
cmp edi, 8
jb 0x413de1
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push ecx
cmovae eax, dword [ebp - 0x250]
push eax
push 8
push str.F:_temp_
push ecx
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x238]
call fcn.0040a060
or dword [ebp - 0x258], 8
mov byte [ebp - 4], 0xc
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x413d3a
movups xmm0, xmmword [ebp - 0x238]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov ecx, 7
add dword [esi + 4], 0x18
mov word [ebp - 0x238], ax
jmp 0x413d4f
lea ecx, [ebp - 0x238]
push ecx
push eax
mov ecx, esi
call fcn.00416a60
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x413d85
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413d7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413de6
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x23c]
cmp ecx, 8
jb 0x413dc1
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413db7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413de6
push ecx
push edx
call fcn.005a242d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004033f0
call fcn.005a7b3f
int3