Function at 0x4309b4
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.00408740
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 0x430a41
cmp word [esi], di
je 0x430a41
lea eax, [ebp - 0x64]
push eax
push ebx
push esi
jmp 0x430a91
lea eax, [ebp - 0x50]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x430a88
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x430a68
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x430a73
mov esi, 0x80004005
push esi
push 0x26a
push 0x44c8ba
call fcn.004315ca
jmp 0x430bc1
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp - 0x50]
push eax
call fcn.0043094a
mov esi, eax
cmp esi, edi
jl 0x430bc1
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x64]
call fcn.00430282
test eax, eax
jne 0x430ac3
push edi
push dword [ebp - 0x70]
call fcn.004357ec
mov esi, eax
cmp esi, edi
jl 0x430bc1
cmp dword [ebp - 0x74], edi
jne 0x430acf
mov dword [ebp - 0x74], 0x43b9c2
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, 0x43b9c2
je 0x430af0
mov ecx, 0x44c946
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 0x44c8fa
push eax
call fcn.004300a2
mov esi, eax
add esp, 0x30
cmp esi, edi
jl 0x430bb2
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 0x430b8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x430b62
cmp eax, 5
jne 0x430b6f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
xor eax, eax
inc ebx
cmp eax, edi
jle 0x430b7d
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x430bc1
cmp ebx, edi
jne 0x430acf
cmp dword [ebp - 0x78], edi
je 0x430ba2
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x78]
call fcn.0042fb3e
mov esi, eax
cmp esi, edi
jl 0x430bb2
mov eax, dword [ebp - 0x7c]
cmp eax, edi
je 0x430bb2
mov ecx, dword [ebp - 0x6c]
or dword [ebp - 0x6c], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp - 0x6c], 0xffffffff
je 0x430bc1
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x68], edi
je 0x430bce
push dword [ebp - 0x68]
call fcn.0042ecb2
cmp dword [ebp - 0x70], edi
je 0x430bdb
push dword [ebp - 0x70]
call fcn.0042ecb2
cmp dword [ebp - 0x64], edi
je 0x430be8
push dword [ebp - 0x64]
call fcn.0042ecb2
mov ecx, dword [ebp + 0x1b8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004084b8
add ebp, 0x1bc
leave
ret 0x18