Function at 0x43c6ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4023fc]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jne 0x43c8d9
push 0x2000
mov dword [ebp - 4], edi
call fcn.004444bd
mov ebx, eax
call fcn.004469c4
push eax
call fcn.0043d0a4
push 0x4395a4
mov dword [0x4023fc], eax
call fcn.00445e72
add esp, 0xc
test eax, eax
je 0x43c760
push edi
call fcn.00445242
push eax
call fcn.00444c01
pop ecx
push eax
call fcn.004442f1
push 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 0x439458
push eax
call fcn.00444fdd
add esp, 0x14
mov esi, 0x4395a0
push esi
call fcn.00445e72
test eax, eax
pop ecx
je 0x43c78c
push edi
push edi
push esi
call fcn.00445e9d
push eax
call fcn.00444c01
add esp, 0xc
push eax
call fcn.004442f1
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
mov esi, 0x1000
je 0x43c889
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0xffffffffffffffff
push ebx
call fcn.00444baf
push eax
push dword [0x4023fc]
call fcn.004460f4
add esp, 0x10
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0xffffffffffffffff
push ebx
call fcn.00444baf
push eax
push dword [0x4023fc]
call fcn.004460f4
add esp, 0x10
cmp word [ebx + 2], 0x3a
jne 0x43c889
mov eax, dword [ebp - 4]
mov ax, word [eax]
mov word [ebp - 0xc], ax
xor eax, eax
and word [ebx], ax
mov word [ebp - 8], di
mov word [ebp - 0x21c], di
mov ecx, 0x82
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], 0x3a
mov dword [ebp - 0x10], 0x104
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x43c887
push eax
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00444e95
pop ecx
pop ecx
push eax
call fcn.004442f1
mov edi, eax
push 0
push edi
call fcn.0043cecd
push eax
push dword [0x4023fc]
call fcn.004460f4
add esp, 0x18
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0xffffffffffffffff
push ebx
call fcn.00444baf
push eax
push dword [0x4023fc]
call fcn.004460f4
add esp, 0x10
xor edi, edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
push ebx
call fcn.00444baf
push 0x43959c
mov dword [0x402400], eax
call fcn.00445e72
add esp, 0xc
test eax, eax
mov eax, dword [0x4023fc]
je 0x43c8d9
xor esi, esi
cmp dword [eax + 4], edi
jle 0x43c8d9
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push 0x439594
call fcn.004477af
mov eax, dword [0x4023fc]
add esp, 0xc
inc esi
cmp esi, dword [eax + 4]
jl 0x43c8bb
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 4], edi
jle 0x43c8ff
mov eax, dword [eax]
push dword [eax + ebx*4]
push esi
call fcn.0043d4af
pop ecx
test eax, eax
mov eax, dword [0x4023fc]
pop ecx
jne 0x43c928
inc ebx
cmp ebx, dword [eax + 4]
jl 0x43c8e3
push dword [0x402404]
push esi
call fcn.0043d4af
test eax, eax
pop ecx
pop ecx
je 0x43c93e
push dword [0x402404]
call fcn.004475da
push edi
lea eax, [esi + eax*2]
push eax
push 0x439578
jmp 0x43c965
mov eax, dword [eax]
push dword [eax + ebx*4]
call fcn.004475da
push edi
lea eax, [esi + eax*2]
push eax
push 0x43955c
jmp 0x43c965
push dword [0x402400]
push esi
call fcn.0043d4af
test eax, eax
pop ecx
pop ecx
je 0x43c984
push dword [0x402400]
call fcn.004475da
push edi
lea eax, [esi + eax*2]
push eax
push 0x439544
push 0x5c
call fcn.00444fc0
mov esi, eax
push esi
call fcn.004475da
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax + 2]
mov dword [ecx], eax
add esp, 0x18
mov eax, esi
jmp 0x43c991
mov eax, dword [ebp + 0xc]
push dword [eax]
push esi
call fcn.004444f5
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret