Function at 0x42f6ad
Capabilities:
Get common file path

Disassembly:
push 0x4fc
mov eax, 0x4f086a
call fcn.004bd27f
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.004bf4f0
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.004045f0
lea eax, [ebp - 0x4d0]
inc ebx
push eax
lea ecx, [ebp - 0x470]
mov dword [ebp - 4], ebx
call fcn.00408670
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.004bf4f0
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.004045f0
lea eax, [ebp - 0x4b8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x488]
call fcn.00408670
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x470]
call fcn.00408d30
push eax
push edi
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 5
call fcn.00408dd0
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x504], ebx
mov byte [ebp - 4], 4
call fcn.004086c0
push edi
call fcn.0040a6f0
pop ecx
test al, al
je 0x42f7d1
push ebx
push edi
call fcn.0040a150
pop ecx
pop ecx
lea eax, [ebp - 0x470]
push edi
push eax
call fcn.0040ac60
pop ecx
pop ecx
mov esi, str.base.dll
lea ecx, [ebp - 0x440]
push esi
call fcn.004045f0
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408dd0
push eax
mov byte [ebp - 4], 7
call fcn.0040a6f0
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 6
mov bl, al
call fcn.004086c0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402120
test bl, bl
je 0x42f892
push esi
lea ecx, [ebp - 0x440]
call fcn.004045f0
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408dd0
push 1
push eax
mov byte [ebp - 4], 9
call fcn.0040a150
pop ecx
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 8
call fcn.004086c0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402120
push esi
lea ecx, [ebp - 0x440]
call fcn.004045f0
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x470]
call fcn.00408c20
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x458]
push ecx
mov ecx, eax
call fcn.00408dd0
push eax
mov byte [ebp - 4], 0xc
call fcn.0040a6f0
pop ecx
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0xb
mov bl, al
call fcn.004086c0
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0xa
call fcn.004086c0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402120
test bl, bl
je 0x42f9d1
push esi
lea ecx, [ebp - 0x458]
call fcn.004045f0
push esi
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0xd
call fcn.004045f0
lea eax, [ebp - 0x458]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x488]
call fcn.00408dd0
mov esi, eax
lea eax, [ebp - 0x500]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x470]
call fcn.00408c20
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x4a0]
push ecx
mov ecx, eax
call fcn.00408dd0
push esi
push eax
mov byte [ebp - 4], 0x11
call fcn.0040ac60
pop ecx
pop ecx
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0x10
call fcn.004086c0
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 0xf
call fcn.004086c0
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0xe
call fcn.004086c0
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.004086c0
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 2
call fcn.00402120
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.004086c0
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 0
call fcn.00402120
mov eax, edi
call fcn.004bd22e
ret