Function at 0x430854
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 0x4308e1
cmp word [esi], di
je 0x4308e1
lea eax, [ebp - 0x64]
push eax
push ebx
push esi
jmp 0x430931
lea eax, [ebp - 0x50]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x430928
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x430908
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x430913
mov esi, 0x80004005
push esi
push 0x26a
push 0x44c4fe
call fcn.00431468
jmp 0x430a61
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
call fcn.004307ea
mov esi, eax
cmp esi, edi
jl 0x430a61
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x64]
call fcn.00430114
test eax, eax
jne 0x430963
push edi
push dword [ebp - 0x70]
call fcn.004356f2
mov esi, eax
cmp esi, edi
jl 0x430a61
cmp dword [ebp - 0x74], edi
jne 0x43096f
mov dword [ebp - 0x74], 0x43b5fe
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, 0x43b5fe
je 0x430990
mov ecx, 0x44c58c
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 0x44c540
push eax
call fcn.0042ff34
mov esi, eax
add esp, 0x30
cmp esi, edi
jl 0x430a52
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 0x430a2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x430a02
cmp eax, 5
jne 0x430a0f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
xor eax, eax
inc ebx
cmp eax, edi
jle 0x430a1d
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x430a61
cmp ebx, edi
jne 0x43096f
cmp dword [ebp - 0x78], edi
je 0x430a42
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x78]
call fcn.0042f9d0
mov esi, eax
cmp esi, edi
jl 0x430a52
mov eax, dword [ebp - 0x7c]
cmp eax, edi
je 0x430a52
mov ecx, dword [ebp - 0x6c]
or dword [ebp - 0x6c], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp - 0x6c], 0xffffffff
je 0x430a61
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x68], edi
je 0x430a6e
push dword [ebp - 0x68]
call fcn.0042ea70
cmp dword [ebp - 0x70], edi
je 0x430a7b
push dword [ebp - 0x70]
call fcn.0042ea70
cmp dword [ebp - 0x64], edi
je 0x430a88
push dword [ebp - 0x64]
call fcn.0042ea70
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