Function at 0x430ef0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abe60
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4d9180]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x2c]
call fcn.00429680
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp esi, 7
jbe 0x430f4b
test edx, edx
je 0x431180
cmp esi, 7
lea eax, [ebp - 0x2c]
cmova eax, edx
cmp word [eax], 0
je 0x431180
cmp esi, 7
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmova eax, edx
push eax
call esi
test eax, eax
je 0x43117a
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x430fb2
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430fa8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4311d8
push ecx
push edx
call fcn.004557b9
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00429b00
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp edx, 7
jbe 0x430fcd
test ecx, ecx
je 0x431150
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
cmp word [eax], 0
je 0x431150
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
push eax
call esi
test eax, eax
je 0x43114a
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x43102e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431024
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4311d3
push ecx
push edx
call fcn.004557b9
add esp, 8
mov esi, dword [0x4df138]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test esi, esi
jne 0x43109b
push 0x34
call fcn.00455423
mov esi, eax
add esp, 4
xor eax, eax
xorps xmm0, xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov word [esi + 0x31], ax
mov byte [esi + 0x33], al
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], al
mov byte [esi + 0x30], al
mov dword [0x4df138], esi
mov edx, 1
call fcn.004284f0
test eax, eax
jg 0x4310d3
mov edx, 3
call fcn.004284f0
mov dword [ebp - 0x30], eax
test eax, eax
jg 0x4310d3
sub esp, 8
lea eax, [ebp - 0x30]
mov ecx, esi
push 0
push eax
push 0
call fcn.0042b380
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x431146
cmp edi, eax
jle 0x431146
cmp dword [0x4df138], 0
jne 0x43112c
push 0x34
call fcn.00455423
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 [0x4df138], eax
push 1
mov ecx, edi
call fcn.004283c0
add esp, 4
mov ecx, edi
push 3
call fcn.004283c0
add esp, 4
jmp 0x4311b0
xor al, al
jmp 0x4311b5
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp edx, 7
jbe 0x4311b0
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431176
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4311d3
push edx
push ecx
jmp 0x4311a8
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp esi, 7
jbe 0x4311b0
lea esi, [esi*2 + 2]
mov eax, edx
cmp esi, 0x1000
jb 0x4311a6
mov edx, dword [eax - 4]
add esi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4311d8
push esi
push edx
call fcn.004557b9
add esp, 8
call fcn.00426820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00455352
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047971a
call fcn.0047971a
int3