Function at 0x42e050
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c6707
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa4]
xor ebx, ebx
push str.TMPDIR
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
call fcn.00586dbd
add esp, 4
push eax
lea ecx, [esp + 0x70]
call fcn.00402bb0
lea eax, [esp + 0x6c]
push eax
mov edi, 1
push esi
mov dword [esp + 0xa4], edi
call fcn.0042df00
mov ecx, dword [esp + 0x90]
push ecx
mov dword [esp + 0x28], edi
mov byte [esp + 0xa8], bl
call fcn.005844d1
mov ebp, 8
add esp, 0xc
cmp dword [esp + 0x80], ebp
jb 0x42e104
mov edx, dword [esp + 0x6c]
push edx
call fcn.00584768
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], ax
cmp dword [esi + 0x10], ebx
jne 0x42e2a3
push 0x5fd0b8
call fcn.00586dbd
add esp, 4
push eax
lea ecx, [esp + 0x28]
call fcn.00402bb0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0xa4], 2
call fcn.0042df00
add esp, 8
mov byte [esp + 0x9c], 3
cmp esi, eax
je 0x42e16f
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00402610
mov eax, dword [esp + 0x64]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x5c], ebp
jb 0x42e18f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x40]
xor edx, edx
push eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
mov byte [esp + 0xa0], bl
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x38], ebp
jb 0x42e1c5
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00584768
add esp, 4
cmp dword [esi + 0x10], ebx
jne 0x42e2a3
push str.TEMP
call fcn.00586dbd
add esp, 4
push eax
lea ecx, [esp + 0x28]
call fcn.00402bb0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0xa4], 4
call fcn.0042df00
add esp, 8
mov byte [esp + 0x9c], 5
cmp esi, eax
je 0x42e219
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00402610
mov ecx, dword [esp + 0x64]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x5c], ebp
jb 0x42e239
mov edx, dword [esp + 0x48]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x40]
xor eax, eax
push ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
mov byte [esp + 0xa0], bl
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x38], ebp
jb 0x42e26f
mov edx, dword [esp + 0x24]
push edx
call fcn.00584768
add esp, 4
cmp dword [esi + 0x10], ebx
jne 0x42e2a3
push 0x105
push esi
lea ecx, [esp + 0x1c]
call fcn.00421b20
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x14]
call fcn.004215e0
cmp dword [esi + 0x10], ebx
je 0x42e31f
lea ecx, [esp + 0x24]
push ebx
push ecx
call fcn.0042cb10
mov ecx, dword [eax + 0x10]
add esp, 8
cmp dword [eax + 0x14], ebp
jb 0x42e2bb
mov eax, dword [eax]
mov edx, dword [0x5fcc58]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0042c1e0
mov edi, eax
mov eax, dword [esp + 0x40]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x38], ebp
jb 0x42e2ed
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [0x5fcc58]
cmp edi, ecx
jne 0x42e311
lea edx, [esp + 0x14]
push ebx
push edx
call fcn.0042d670
mov eax, dword [eax]
add esp, 8
push eax
mov ecx, esi
call fcn.0042c690
jmp 0x42e32b
push ecx
lea eax, [edi + 1]
push eax
mov ecx, esi
call fcn.00401210
jmp 0x42e32b
push 0x5fccdc
mov ecx, esi
call fcn.004053e0
mov eax, esi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00585b7b
add esp, 0x8c
ret