Function at 0x405bb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f3d6
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x672114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0047c8bb
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
push 0
call fcn.00407460
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405c05
sub ecx, edx
sar ecx, 1
je 0x405e1a
call fcn.0047b86a
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x405c30
mov eax, dword [0x656b9c]
lea ecx, [ebp - 0x218]
mov dword [edi], eax
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x405c50
mov eax, dword [str.BundleBind]
mov dword [ecx], eax
mov eax, dword [0x558108]
mov dword [ecx + 4], eax
mov eax, dword [0x55810c]
mov dword [ecx + 8], eax
mov eax, dword [0x558110]
mov dword [ecx + 0xc], eax
mov eax, dword [0x558114]
mov dword [ecx + 0x10], eax
mov ax, word [0x558118]
mov word [ecx + 0x14], ax
call fcn.0047fb19
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x405ca0
mov eax, dword [0x656b9c]
mov dword [edi], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x405cd3
lea eax, [ebp - 0x218]
push eax
call fcn.004cdb36
add esp, 4
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x36c], 0
mov ecx, 0x4e
mov dword [ebp - 4], 0
mov esi, str.xAuBd3QYVVXWwIOVwydmT5dAG3lc2gtyIcjzU5NWI4EpbUudnxrrQlgG3pxeBLHO2sczEiYZrgJtTgQtHT38l0IJX0PyNPmmOkhOpGp8AMoHyLuQtqTVupP9zgp5XHoHWeaAPrBKHxBmpdmrTQlYOXXWXu5wDaBjNYDfoK5ZUMzdrxi1N8hc0rMJi7U0XgxAlU1z1IAoqVIiHozZX3IfG445tZAdXEtGP1Y0zuAEH5TD3IXjZwa72kOSAnnoIn67ThgIDR4t5GjtYijc4QBUz4zJPR5h9liY1bPkF7sb5PRe6F47E9eMLjd
mov dword [ebp - 0x354], 0xf
lea edi, [ebp - 0x350]
mov dword [ebp - 0x358], 0
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x350], 0
mov byte [ebp - 0x368], 0
jne 0x405d32
xor ecx, ecx
jmp 0x405d49
lea ecx, [ebp - 0x350]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405d40
sub ecx, edx
push ecx
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x368]
call fcn.00407f10
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x374]
call fcn.00408170
mov eax, dword [ebp - 0x354]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x405d94
inc eax
lea ecx, [ebp - 0x368]
push eax
push dword [ebp - 0x368]
call fcn.00408010
cmp word [ebp - 0x218], 0
jne 0x405da2
xor ecx, ecx
jmp 0x405dbf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405db0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00402650
mov esi, dword [ebp - 0x374]
test esi, esi
je 0x405e1a
push dword [ebp - 0x378]
lea eax, [ebp - 0x374]
push eax
push dword [ebp - 0x370]
push esi
call fcn.004056a0
mov ecx, dword [ebp - 0x36c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
lea ecx, [ebp - 0x374]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00408070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474193
mov esp, ebp
pop ebp
ret 4