Function at 0x430bfc
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x1bc]
sub esp, 0x23c
mov eax, dword [0x4509f8]
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 0x430c89
cmp word [esi], di
je 0x430c89
lea eax, [ebp - 0x64]
push eax
push ebx
push esi
jmp 0x430cd9
lea eax, [ebp - 0x50]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
jne 0x430cd0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x430cb0
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x430cbb
mov esi, 0x80004005
push esi
push 0x26a
push 0x44cb90
call fcn.0043180e
jmp 0x430e09
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
call main
mov esi, eax
cmp esi, edi
jl 0x430e09
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x64]
call main
test eax, eax
jne 0x430d0b
push edi
push dword [ebp - 0x70]
call fcn.00435a98
mov esi, eax
cmp esi, edi
jl 0x430e09
cmp dword [ebp - 0x74], edi
jne 0x430d17
mov dword [ebp - 0x74], 0x43b99e
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, 0x43b99e
je 0x430d38
mov ecx, 0x44cc1e
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 0x44cbd2
push eax
call fcn.004302dc
mov esi, eax
add esp, 0x30
cmp esi, edi
jl 0x430dfa
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 0x430dd3
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x50
je 0x430daa
cmp eax, 5
jne 0x430db7
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
xor ebx, ebx
xor eax, eax
inc ebx
cmp eax, edi
jle 0x430dc5
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x430e09
cmp ebx, edi
jne 0x430d17
cmp dword [ebp - 0x78], edi
je 0x430dea
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x78]
call main
mov esi, eax
cmp esi, edi
jl 0x430dfa
mov eax, dword [ebp - 0x7c]
cmp eax, edi
je 0x430dfa
mov ecx, dword [ebp - 0x6c]
or dword [ebp - 0x6c], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp - 0x6c], 0xffffffff
je 0x430e09
push dword [ebp - 0x6c]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x68], edi
je 0x430e16
push dword [ebp - 0x68]
call fcn.0042ee18
cmp dword [ebp - 0x70], edi
je 0x430e23
push dword [ebp - 0x70]
call fcn.0042ee18
cmp dword [ebp - 0x64], edi
je 0x430e30
push dword [ebp - 0x64]
call fcn.0042ee18
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