Function at 0x433060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0175
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4de180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x28]
call fcn.0042b840
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp esi, 7
jbe 0x4330ae
test edx, edx
je 0x433242
cmp esi, 7
lea eax, [ebp - 0x28]
cmova eax, edx
cmp word [eax], 0
je 0x433242
cmp esi, 7
lea eax, [ebp - 0x28]
cmova eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43323c
xorps xmm0, xmm0
lea ecx, [ebp - 0x58]
push 0
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.004a07a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.0046d8f0
add esp, 0xc
lea eax, [ebp - 0x58]
push str.version
push eax
call fcn.0046dc60
test al, al
je 0x433147
push str.common
lea eax, [ebp - 0x58]
push eax
call fcn.0046dc60
test al, al
je 0x433147
push str.default
lea eax, [ebp - 0x58]
push eax
call fcn.0046dc60
mov byte [ebp - 0x59], 1
test al, al
jne 0x43314b
mov byte [ebp - 0x59], 0
lea ecx, [ebp - 0x58]
call fcn.004a0c10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x433194
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43318a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4333c0
push ecx
push edx
call fcn.00459618
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [ebp - 0x59], al
je 0x43327d
test edi, edi
jle 0x4333a3
mov eax, dword [0x4e4150]
test eax, eax
jne 0x43320e
push 0x34
call fcn.00459283
add esp, 4
xorps xmm0, xmm0
xor ecx, ecx
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov word [eax + 0x31], cx
mov byte [eax + 0x33], cl
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xf
mov byte [eax], cl
movups xmmword [eax + 0x18], xmm0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 0xf
mov byte [eax + 0x18], cl
mov byte [eax + 0x30], cl
mov dword [0x4e4150], eax
sub esp, 8
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x60]
push 0
push 0
push ecx
mov ecx, eax
call fcn.0042d950
mov eax, dword [ebp - 0x60]
test eax, eax
jle 0x4333a3
cmp edi, eax
jle 0x43336f
jmp 0x43327d
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
cmp esi, 7
jbe 0x43327d
lea esi, [esi*2 + 2]
mov eax, edx
cmp esi, 0x1000
jb 0x433273
mov edx, dword [eax - 4]
add esi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4333c5
push esi
push edx
call fcn.00459618
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
call fcn.004327a0
add esp, 4
test al, al
je 0x433373
mov ecx, dword [0x4e4150]
test ecx, ecx
jne 0x43330a
push 0x34
call fcn.00459283
mov ecx, eax
add esp, 4
xor eax, eax
xorps xmm0, xmm0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov word [ecx + 0x31], ax
mov byte [ecx + 0x33], al
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
mov byte [ecx], al
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], 0xf
mov byte [ecx + 0x18], al
mov byte [ecx + 0x30], al
mov dword [0x4e4150], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x43333f
cmp dword [ebp - 0x2c], 0xf
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.0040f1a0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x43336f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x433365
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4333ca
push ecx
push edx
call fcn.00459618
add esp, 8
mov al, 1
jmp 0x4333a5
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x4333a3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x433399
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4333ca
push ecx
push edx
call fcn.00459618
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004591b2
mov esp, ebp
pop ebp
ret
call fcn.0047d27c
call fcn.0047d27c
call fcn.0047d27c
int3