Function at 0x4308bc
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 0x430949
cmp word [esi], di
je 0x430949
lea eax, [ebp - 0x64]
push eax
push ebx
push esi
jmp 0x430999
lea eax, [ebp - 0x50]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
jne 0x430990
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x430970
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x43097b
mov esi, 0x80004005
push esi
push 0x26a
push 0x44c55e
call fcn.004314ce
jmp 0x430ac9
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
call main
mov esi, eax
cmp esi, edi
jl 0x430ac9
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x64]
call main
test eax, eax
jne 0x4309cb
push edi
push dword [ebp - 0x70]
call fcn.0043575a
mov esi, eax
cmp esi, edi
jl 0x430ac9
cmp dword [ebp - 0x74], edi
jne 0x4309d7
mov dword [ebp - 0x74], 0x43b65e
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, 0x43b65e
je 0x4309f8
mov ecx, 0x44c5ec
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 0x44c5a0
push eax
call fcn.0042ff9c
mov esi, eax
add esp, 0x30
cmp esi, edi
jl 0x430aba
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 0x430a93
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x50
je 0x430a6a
cmp eax, 5
jne 0x430a77
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
xor ebx, ebx
xor eax, eax
inc ebx
cmp eax, edi
jle 0x430a85
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x430ac9
cmp ebx, edi
jne 0x4309d7
cmp dword [ebp - 0x78], edi
je 0x430aaa
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x78]
call main
mov esi, eax
cmp esi, edi
jl 0x430aba
mov eax, dword [ebp - 0x7c]
cmp eax, edi
je 0x430aba
mov ecx, dword [ebp - 0x6c]
or dword [ebp - 0x6c], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp - 0x6c], 0xffffffff
je 0x430ac9
push dword [ebp - 0x6c]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x68], edi
je 0x430ad6
push dword [ebp - 0x68]
call fcn.0042ead8
cmp dword [ebp - 0x70], edi
je 0x430ae3
push dword [ebp - 0x70]
call fcn.0042ead8
cmp dword [ebp - 0x64], edi
je 0x430af0
push dword [ebp - 0x64]
call fcn.0042ead8
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