Function at 0x42f780
Capabilities:
Get common file path

Disassembly:
push 0x4fc
mov eax, 0x4f052a
call fcn.004bcf2f
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.004bf1a0
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.004045b0
lea eax, [ebp - 0x4d0]
inc ebx
push eax
lea ecx, [ebp - 0x470]
mov dword [ebp - 4], ebx
call fcn.00408630
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.004bf1a0
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.004045b0
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x488]
call fcn.00408630
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x470]
call fcn.00408cf0
push eax
push edi
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 5
call fcn.00408d90
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x504], ebx
mov byte [ebp - 4], 4
call fcn.00408680
push edi
call fcn.0040a7e0
pop ecx
test al, al
je 0x42f8a4
push ebx
push edi
call fcn.0040a330
pop ecx
pop ecx
lea eax, [ebp - 0x470]
push edi
push eax
call fcn.0040ad50
pop ecx
pop ecx
mov esi, str.base.dll
lea ecx, [ebp - 0x440]
push esi
call fcn.004045b0
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408d90
push eax
mov byte [ebp - 4], 7
call fcn.0040a7e0
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 6
mov bl, al
call fcn.00408680
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402120
test bl, bl
je 0x42f965
push esi
lea ecx, [ebp - 0x440]
call fcn.004045b0
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408d90
push 1
push eax
mov byte [ebp - 4], 9
call fcn.0040a330
pop ecx
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 8
call fcn.00408680
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402120
push esi
lea ecx, [ebp - 0x440]
call fcn.004045b0
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x470]
call fcn.00408be0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x458]
push ecx
mov ecx, eax
call fcn.00408d90
push eax
mov byte [ebp - 4], 0xc
call fcn.0040a7e0
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0xb
mov bl, al
call fcn.00408680
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0xa
call fcn.00408680
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402120
test bl, bl
je 0x42faa4
push esi
lea ecx, [ebp - 0x458]
call fcn.004045b0
push esi
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xd
call fcn.004045b0
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408d90
mov esi, eax
lea eax, [ebp - 0x500]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x470]
call fcn.00408be0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x4a0]
push ecx
mov ecx, eax
call fcn.00408d90
push esi
push eax
mov byte [ebp - 4], 0x11
call fcn.0040ad50
pop ecx
pop ecx
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0x10
call fcn.00408680
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 0xf
call fcn.00408680
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0xe
call fcn.00408680
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xd
call fcn.00402120
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 4
call fcn.00402120
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 3
call fcn.00408680
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 2
call fcn.00402120
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.00408680
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 0
call fcn.00402120
mov eax, edi
call fcn.004bcede
ret