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

Disassembly:
sub esp, 0x318
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x314], eax
push ebx
mov ebx, dword [esp + 0x320]
push esi
xor esi, esi
mov dword [esp + 0xc], ebx
cmp ebx, esi
jne 0x43f730
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.004b6da3
add esp, 0x318
ret
push edi
push 0x103
lea eax, [esp + 0x19]
push esi
push eax
mov dword [esp + 0x18], esi
mov byte [esp + 0x20], 0
call fcn.004b6dc0
push 0x103
lea ecx, [esp + 0x129]
push esi
push ecx
mov byte [esp + 0x130], 0
call fcn.004b6dc0
push 0x103
lea edx, [esp + 0x239]
push esi
push edx
mov byte [esp + 0x240], 0
call fcn.004b6dc0
push 0x519fb4
call fcn.00404690
push 0x15
push eax
push ebx
call fcn.004ba06a
add esp, 0x34
test eax, eax
jne 0x43f7f9
push 0x104
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebx + 0x14]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f7b0
lea edi, [esp + 0x14]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43f7c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f7e2
mov dword [esp + 0xc], 1
jmp 0x43f9d8
push 0x519f9c
call fcn.00404690
push 0x12
push eax
push ebx
call fcn.004ba06a
add esp, 0x10
test eax, eax
jne 0x43f86f
push 0x104
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebx + 0x11]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f828
lea edi, [esp + 0x14]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43f836
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f858
mov dword [esp + 0xc], 1
jmp 0x43f9d8
push 0x519f90
call fcn.00404690
push 4
push eax
push ebx
call fcn.004b9e25
add esp, 0x10
test eax, eax
jne 0x43f8bd
lea eax, [ebx + 4]
lea edx, [esp + 0x14]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f892
lea eax, [esp + 0x14]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f8a6
mov dword [esp + 0xc], 1
jmp 0x43f9d8
lea edx, [esp + 0x118]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ebx, eax
cmp ebx, esi
jne 0x43f8f0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.004b6da3
add esp, 0x318
ret
jbe 0x43f9d8
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea ecx, [ecx]
push 0x104
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + esi + 0x124]
push ecx
mov byte [esp + esi + 0x12a], 0
call ebp
lea edi, [esp + 0x220]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43f927
mov dx, word [0x50e37c]
lea eax, [esp + 0x220]
mov word [edi], dx
mov edi, dword [esp + 0x14]
push eax
push edi
call fcn.004b9929
add esp, 8
test eax, eax
jne 0x43f95e
add esi, 4
cmp esi, ebx
jb 0x43f900
jmp 0x43f9d7
lea eax, [esp + esi + 0x11c]
lea edx, [esp + 0x18]
sub edx, eax
jmp 0x43f970
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f970
lea eax, [esp + 0x220]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f984
sub eax, edx
lea eax, [eax + edi - 1]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43f993
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43f9a3
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f9c5
mov dword [esp + 0x10], 1
pop ebp
mov ecx, dword [esp + 0x320]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b6da3
add esp, 0x318
ret