Function at 0x431370
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x1bc]
sub esp, 0x23c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x1b8], eax
mov eax, dword [ebp + 0x1cc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1d0]
push ebx
mov ebx, dword [ebp + 0x1c8]
push esi
mov esi, dword [ebp + 0x1c4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1d4]
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1d8]
push 0x208
mov dword [ebp - 0x7c], eax
xor edi, edi
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.00408720
or dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x70], edi
xor eax, eax
lea edi, [ebp - 0x60]
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 - 0x68], edi
cmp esi, edi
je 0x4313fd
cmp word [esi], di
je 0x4313fd
lea eax, [ebp - 0x64]
push eax
push ebx
push esi
jmp 0x43144d
lea eax, [ebp - 0x50]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x431444
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x431424
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x43142f
mov esi, 0x80004005
push esi
push 0x26d
push 0x44c7b4
call fcn.004315c0
jmp 0x43157d
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
call fcn.00431306
mov esi, eax
cmp esi, edi
jl 0x43157d
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x64]
call fcn.00430c30
test eax, eax
jne 0x43147f
push edi
push dword [ebp - 0x70]
call fcn.00435838
mov esi, eax
cmp esi, edi
jl 0x43157d
cmp dword [ebp - 0x74], edi
jne 0x43148b
mov dword [ebp - 0x74], 0x43b720
lea eax, [ebp - 0x60]
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x80]
push 0x2e
pop ecx
cmp cx, word [eax]
mov ecx, 0x43b720
je 0x4314ac
mov ecx, 0x44c842
push eax
movzx eax, word [ebp - 0x54]
push ecx
push dword [ebp - 0x74]
push eax
movzx eax, word [ebp - 0x56]
push eax
movzx eax, word [ebp - 0x58]
push eax
movzx eax, word [ebp - 0x5a]
push eax
movzx eax, word [ebp - 0x5e]
push eax
movzx eax, word [ebp - 0x60]
push eax
push dword [ebp - 0x64]
lea eax, [ebp - 0x68]
push 0x44c7f6
push eax
call fcn.0043007e
mov esi, eax
add esp, 0x30
cmp esi, edi
jl 0x43156e
push edi
push 0x80
push 1
push edi
push 1
push 0x40000000
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x6c], eax
cmp eax, 0xffffffff
jne 0x431547
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x43151e
cmp eax, 5
jne 0x43152b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
xor eax, eax
inc ebx
cmp eax, edi
jle 0x431539
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x43157d
cmp ebx, edi
jne 0x43148b
cmp dword [ebp - 0x78], edi
je 0x43155e
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x78]
call fcn.0042fb1a
mov esi, eax
cmp esi, edi
jl 0x43156e
mov eax, dword [ebp - 0x7c]
cmp eax, edi
je 0x43156e
mov ecx, dword [ebp - 0x6c]
or dword [ebp - 0x6c], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp - 0x6c], 0xffffffff
je 0x43157d
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x68], edi
je 0x43158a
push dword [ebp - 0x68]
call fcn.0042eb62
cmp dword [ebp - 0x70], edi
je 0x431597
push dword [ebp - 0x70]
call fcn.0042eb62
cmp dword [ebp - 0x64], edi
je 0x4315a4
push dword [ebp - 0x64]
call fcn.0042eb62
mov ecx, dword [ebp + 0x1b8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408498
add ebp, 0x1bc
leave
ret 0x18