Function at 0x414430
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49f613
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov esi, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 4]
cmp esi, eax
je 0x41461a
sub eax, esi
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
xor edi, edi
add eax, edx
je 0x41468b
mov dword [esp + 0x18], ebx
jmp 0x4144a5
xor ebx, ebx
cmp eax, edi
jbe 0x4145f5
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [esp + 0x28], dx
add ecx, esi
push ebx
or eax, 0xffffffff
lea edx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
call fcn.0040c720
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x28]
mov esi, 8
cmp dword [esp + 0x3c], esi
jae 0x4144ea
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4145ff
push 0x2c
call fcn.0048068d
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x50], 1
cmp eax, ebx
je 0x41451a
push eax
call fcn.0041e820
mov esi, eax
jmp 0x41451c
xor esi, esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x50], 2
cmp dword [esp + 0x3c], 8
mov ecx, dword [esp + 0x28]
jae 0x414534
lea ecx, [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
call fcn.00402450
lea ecx, [esp + 0x1c]
push ecx
push esi
mov byte [esp + 0x58], 3
call fcn.0041eb70
test al, al
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x414621
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00414f20
mov byte [esp + 0x50], bl
test eax, eax
je 0x41465c
test esi, esi
je 0x4145ab
push esi
call fcn.0041e9b0
push esi
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x4145c7
mov edx, dword [esp + 0x28]
push edx
call fcn.0047fe1e
add esp, 4
mov esi, dword [ebp]
mov ecx, dword [ebp + 4]
add dword [esp + 0x18], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x4144a3
jmp 0x41468b
push str.invalid_vector_T__subscript
call fcn.0047edd3
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], esi
jb 0x41461a
mov eax, dword [esp + 0x28]
push eax
call fcn.0047fe1e
add esp, 4
mov eax, 0xe
jmp 0x41468d
mov byte [esp + 0x50], 0
test esi, esi
je 0x414639
push esi
call fcn.0041e9b0
push esi
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x41461a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047fe1e
add esp, 4
mov eax, 0xe
jmp 0x41468d
test esi, esi
je 0x41466f
push esi
call fcn.0041e9b0
push esi
call fcn.0047fe1e
add esp, 4
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x41468b
mov edx, dword [esp + 0x28]
push edx
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0047fe29
add esp, 0x40
ret 8