Function at 0x432086
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4540d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x238], eax
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00427e30
or dword [ebp - 0x228], 0xffffffff
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x22c], edi
xor eax, eax
lea edi, [ebp - 0x21c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
add esp, 0xc
mov dword [ebp - 0x224], edi
cmp esi, edi
je 0x432118
cmp word [esi], di
je 0x432118
lea eax, [ebp - 0x220]
push eax
push ebx
push esi
jmp 0x432171
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x432162
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x432142
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x43214d
mov esi, 0x80004005
push esi
push 0x26a
push str.pathutil.cpp
call fcn.0043294e
jmp 0x4322ef
lea eax, [ebp - 0x220]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.0043201f
mov esi, eax
cmp esi, edi
jl 0x4322ef
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x220]
call fcn.0043195b
test eax, eax
jne 0x4321ac
push edi
push dword [ebp - 0x22c]
call fcn.004365d3
mov esi, eax
cmp esi, edi
jl 0x4322ef
cmp dword [ebp - 0x230], edi
jne 0x4321be
mov dword [ebp - 0x230], 0x43a5c8
lea eax, [ebp - 0x21c]
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x23c]
push 0x2e
pop ecx
cmp cx, word [eax]
mov ecx, 0x43a5c8
je 0x4321e5
mov ecx, 0x450fc4
push eax
movzx eax, word [ebp - 0x210]
push ecx
push dword [ebp - 0x230]
push eax
movzx eax, word [ebp - 0x212]
push eax
movzx eax, word [ebp - 0x214]
push eax
movzx eax, word [ebp - 0x216]
push eax
movzx eax, word [ebp - 0x21a]
push eax
movzx eax, word [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push 0x450f78
push eax
call fcn.0043177a
mov esi, eax
add esp, 0x30
cmp esi, edi
jl 0x4322da
push edi
push pe_nt_image_headers32
push 1
push edi
push 1
push 0x40000000
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x228], eax
cmp eax, 0xffffffff
jne 0x4322a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x432278
cmp eax, 5
jne 0x432285
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
xor eax, eax
inc ebx
cmp eax, edi
jle 0x432293
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x4322ef
cmp ebx, edi
jne 0x4321be
cmp dword [ebp - 0x234], edi
je 0x4322c1
push edi
push dword [ebp - 0x224]
push dword [ebp - 0x234]
call fcn.00431171
mov esi, eax
cmp esi, edi
jl 0x4322da
mov eax, dword [ebp - 0x238]
cmp eax, edi
je 0x4322da
mov ecx, dword [ebp - 0x228]
or dword [ebp - 0x228], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp - 0x228], 0xffffffff
je 0x4322ef
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x224], edi
je 0x432302
push dword [ebp - 0x224]
call fcn.004301e8
cmp dword [ebp - 0x22c], edi
je 0x432315
push dword [ebp - 0x22c]
call fcn.004301e8
cmp dword [ebp - 0x220], edi
je 0x432328
push dword [ebp - 0x220]
call fcn.004301e8
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427eaa
leave
ret 0x18