Function at 0x45b710
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d9eed
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x52472c]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
mov eax, dword [esp + 0xcc]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x18], 8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], eax
jb 0x45b779
mov eax, dword [esi + 4]
jmp 0x45b77c
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ba5b
cmp dword [esi + 0x14], ebx
je 0x45ba5b
lea edx, [esp + 0x78]
mov ecx, esi
call fcn.0045bb90
mov dword [esp + 0xbc], 3
lea ecx, [esp + 0x5c]
push ecx
call fcn.0045a7c0
mov byte [esp + 0xbc], 4
lea edi, [esp + 0x40]
mov ecx, esi
call fcn.0045bd30
mov byte [esp + 0xbc], 5
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.0045a820
mov byte [esp + 0xbc], 6
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.0045b710
add esp, 0xc
mov byte [esp + 0xbc], 8
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x45b81d
mov eax, dword [esp + 0x20]
push eax
call fcn.004b1fa3
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov byte [esp + 0xbc], 0xb
cmp dword [esp + 0x58], esi
jb 0x45b84c
mov edx, dword [esp + 0x44]
push edx
call fcn.004b1fa3
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [esp + 0x80]
xor eax, eax
mov word [esp + 0x28], cx
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], ax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
call fcn.00403fe5
mov byte [esp + 0xbc], 0xd
lea eax, [esp + 0x1c]
call fcn.0041ad24
mov byte [esp + 0xbc], 0xe
cmp dword [esp + 0x30], ebx
je 0x45b938
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x45b927
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
ja 0x45b8bc
call fcn.004b019b
mov eax, dword [esp + 0x70]
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
jbe 0x45b8d0
call fcn.004b019b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
cmp ecx, esi
jae 0x45ba38
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.0040415b
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
cmp esi, ebx
jbe 0x45b922
cmp ecx, 8
mov ecx, dword [esp + 0x60]
jae 0x45b900
lea ecx, [esp + 0x60]
mov edx, 0x5c
mov word [ecx + eax*2], dx
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], esi
jae 0x45b91c
lea eax, [esp + 0x60]
xor ecx, ecx
mov word [eax + esi*2], cx
mov esi, 8
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x68]
call fcn.00409ec6
mov byte [esp + 0xbc], 0xb
cmp dword [esp + 0x34], esi
jb 0x45b953
mov eax, dword [esp + 0x20]
push eax
call fcn.004b1fa3
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [esp + 0x64]
mov word [esp + 0x28], cx
mov ecx, dword [esp + 0x40]
push edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
call fcn.00403fe5
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x9c]
xor eax, eax
push ecx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov ecx, ebp
mov word [ebp + 4], ax
call fcn.00403fe5
mov byte [esp + 0xbc], 0xb
mov dword [esp + 0x18], 1
mov byte [esp + 0xbc], 4
cmp dword [esp + 0xac], esi
jb 0x45b9c2
mov edx, dword [esp + 0x98]
push edx
call fcn.004b1fa3
add esp, 4
xor eax, eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], ax
mov byte [esp + 0xbc], 3
cmp dword [esp + 0x74], esi
jb 0x45b9f5
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004b1fa3
add esp, 4
xor edx, edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x90], esi
jb 0x45ba21
mov eax, dword [esp + 0x7c]
push eax
call fcn.004b1fa3
add esp, 4
xor ecx, ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], cx
jmp 0x45ba85
cmp esi, ebx
jne 0x45b8f1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], ebx
cmp ecx, 8
jae 0x45ba51
lea eax, [esp + 0x60]
xor edx, edx
mov word [eax], dx
jmp 0x45b922
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push esi
mov ecx, ebp
mov word [ebp + 4], dx
call fcn.00403fe5
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x18], 1
mov eax, ebp
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004b1fae
add esp, 0xac
ret