Function at 0x42fe32
Capabilities:
Get common file path

Disassembly:
push 0x4fc
mov eax, 0x4f0eb5
call fcn.004bcfcf
mov edi, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x504], ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x508], edi
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x218]
mov esi, 0x104
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00406c40
lea eax, [ebp - 0x4d0]
inc ebx
push eax
lea ecx, [ebp - 0x470]
mov dword [ebp - 4], ebx
call fcn.004086d0
xor eax, eax
mov byte [ebp - 4], 2
push 0x208
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00406c40
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x488]
call fcn.004086d0
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x470]
call fcn.00408d90
push eax
push edi
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 5
call fcn.00408e30
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x504], ebx
mov byte [ebp - 4], 4
call fcn.00408720
push edi
call fcn.0040a8d0
pop ecx
test al, al
je 0x42ff56
push ebx
push edi
call fcn.0040a420
pop ecx
pop ecx
mov edx, edi
lea ecx, [ebp - 0x470]
call fcn.0040af20
mov esi, str.base.dll
lea ecx, [ebp - 0x440]
push esi
call fcn.00406c40
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408e30
push eax
mov byte [ebp - 4], 7
call fcn.0040a8d0
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 6
mov bl, al
call fcn.00408720
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402a40
test bl, bl
je 0x430015
push esi
lea ecx, [ebp - 0x440]
call fcn.00406c40
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408e30
push 1
push eax
mov byte [ebp - 4], 9
call fcn.0040a420
pop ecx
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 8
call fcn.00408720
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402a40
push esi
lea ecx, [ebp - 0x440]
call fcn.00406c40
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x470]
call fcn.00408c80
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x458]
push ecx
mov ecx, eax
call fcn.00408e30
push eax
mov byte [ebp - 4], 0xc
call fcn.0040a8d0
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0xb
mov bl, al
call fcn.00408720
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0xa
call fcn.00408720
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402a40
test bl, bl
je 0x430154
push esi
lea ecx, [ebp - 0x458]
call fcn.00406c40
push esi
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xd
call fcn.00406c40
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408e30
mov esi, eax
lea eax, [ebp - 0x500]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x470]
call fcn.00408c80
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x4a0]
push ecx
mov ecx, eax
call fcn.00408e30
mov edx, esi
mov byte [ebp - 4], 0x11
mov ecx, eax
call fcn.0040af20
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0x10
call fcn.00408720
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 0xf
call fcn.00408720
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0xe
call fcn.00408720
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xd
call fcn.00402a40
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 4
call fcn.00402a40
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 3
call fcn.00408720
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 2
call fcn.00402a40
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.00408720
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 0
call fcn.00402a40
mov eax, edi
call fcn.004bcf7e
ret