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

Disassembly:
sub esp, 0x624
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
push esi
mov esi, dword [esp + 0x630]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0xc], esi
cmp esi, ebx
je 0x43fd3d
push ebp
push edi
push 0x206
lea ecx, [esp + 0x1e]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x24], ax
call fcn.004b6dc0
push 0x206
lea eax, [esp + 0x43a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x440], dx
call fcn.004b6dc0
push 0x206
lea edx, [esp + 0x23e]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x244], cx
call fcn.004b6dc0
add esp, 0x24
push 0x15
push 0x51a020
call fcn.00404a60
add esp, 4
push eax
push esi
call fcn.004cb000
add esp, 0xc
test eax, eax
jne 0x43fb14
push 0x104
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esi + 0x28]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43fab7
lea edi, [esp + 0x18]
sub eax, edx
add edi, 0xfffffffe
jmp 0x43fad0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x43fad0
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x14]
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
jmp 0x43fb00
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43fb00
jmp 0x43fd2f
push 0x12
push 0x519fec
call fcn.00404a60
add esp, 4
push eax
push esi
call fcn.004cb000
add esp, 0xc
test eax, eax
jne 0x43fba4
push 0x104
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esi + 0x22]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43fb46
lea edi, [esp + 0x18]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x43fb60
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x14]
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
jmp 0x43fb90
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43fb90
jmp 0x43fd2f
push 4
push 0x519fd4
call fcn.00404a60
add esp, 4
push eax
push esi
call fcn.004ba9ab
add esp, 0xc
test eax, eax
jne 0x43fc04
lea eax, [esi + 8]
lea edx, [esp + 0x18]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x43fbd0
lea eax, [esp + 0x18]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x43fbf0
jmp 0x43fd2f
lea edx, [esp + 0x428]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebp, eax
cmp ebp, ebx
jne 0x43fc24
xor eax, eax
jmp 0x43fd3b
jbe 0x43fd37
lea esi, [esp + 0x428]
push 0x104
lea ecx, [esp + 0x224]
push ecx
xor eax, eax
push esi
mov word [esi + 4], ax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edi, [esp + 0x220]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43fc55
mov edx, dword [0x519fd0]
lea eax, [esp + 0x220]
mov dword [edi], edx
mov edi, dword [esp + 0x14]
push eax
push edi
call fcn.004b87b6
add esp, 8
test eax, eax
jne 0x43fc91
add ebx, 4
add esi, 8
cmp ebx, ebp
jb 0x43fc31
jmp 0x43fd37
lea eax, [esp + ebx*2 + 0x428]
lea edx, [esp + 0x18]
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43fca0
lea eax, [esp + 0x220]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43fcc0
sub eax, edx
sar eax, 1
lea eax, [edi + eax*2 - 2]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43fcd5
lea edi, [esp + 0x18]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43fcf0
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x14]
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
jmp 0x43fd20
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43fd20
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x628]
pop esi
pop ebx
xor ecx, esp
call fcn.004b6da3
add esp, 0x624
ret