Function at 0x42fb0e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4510d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x1c]
push 0x208
mov dword [ebp - 0x238], eax
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00425d30
or dword [ebp - 0x228], 0xffffffff
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x22c], edi
xor eax, eax
lea edi, [ebp - 0x21c]
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 - 0x224], edi
cmp esi, edi
je 0x42fba0
cmp word [esi], di
je 0x42fba0
lea eax, [ebp - 0x220]
push eax
push ebx
push esi
jmp 0x42fbf9
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x42fbea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x42fbca
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x42fbd5
mov esi, 0x80004005
push esi
push 0x26d
push str.pathutil.cpp
call fcn.0042fdc3
jmp 0x42fd77
lea eax, [ebp - 0x220]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.0042faa7
mov esi, eax
cmp esi, edi
jl 0x42fd77
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x220]
call fcn.0042f3e3
test eax, eax
jne 0x42fc34
push edi
push dword [ebp - 0x22c]
call fcn.00433fbe
mov esi, eax
cmp esi, edi
jl 0x42fd77
cmp dword [ebp - 0x230], edi
jne 0x42fc46
mov dword [ebp - 0x230], 0x4385b4
lea eax, [ebp - 0x21c]
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x23c]
push 0x2e
pop ecx
cmp cx, word [eax]
mov ecx, 0x4385b4
je 0x42fc6d
mov ecx, 0x44dcec
push eax
movzx eax, word [ebp - 0x210]
push ecx
push dword [ebp - 0x230]
push eax
movzx eax, word [ebp - 0x212]
push eax
movzx eax, word [ebp - 0x214]
push eax
movzx eax, word [ebp - 0x216]
push eax
movzx eax, word [ebp - 0x21a]
push eax
movzx eax, word [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push 0x44dca0
push eax
call fcn.0042f202
mov esi, eax
add esp, 0x30
cmp esi, edi
jl 0x42fd62
push edi
push 0x80
push 1
push edi
push 1
push 0x40000000
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x228], eax
cmp eax, 0xffffffff
jne 0x42fd29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x42fd00
cmp eax, 5
jne 0x42fd0d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
xor eax, eax
inc ebx
cmp eax, edi
jle 0x42fd1b
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x42fd77
cmp ebx, edi
jne 0x42fc46
cmp dword [ebp - 0x234], edi
je 0x42fd49
push edi
push dword [ebp - 0x224]
push dword [ebp - 0x234]
call fcn.0042ecb2
mov esi, eax
cmp esi, edi
jl 0x42fd62
mov eax, dword [ebp - 0x238]
cmp eax, edi
je 0x42fd62
mov ecx, dword [ebp - 0x228]
or dword [ebp - 0x228], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp - 0x228], 0xffffffff
je 0x42fd77
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x224], edi
je 0x42fd8a
push dword [ebp - 0x224]
call fcn.0042dd7e
cmp dword [ebp - 0x22c], edi
je 0x42fd9d
push dword [ebp - 0x22c]
call fcn.0042dd7e
cmp dword [ebp - 0x220], edi
je 0x42fdb0
push dword [ebp - 0x220]
call fcn.0042dd7e
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425daa
leave
ret 0x18