Function at 0x45b450
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d993d
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 0x45b4b9
mov eax, dword [esi + 4]
jmp 0x45b4bc
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b79b
cmp dword [esi + 0x14], ebx
je 0x45b79b
lea edx, [esp + 0x78]
mov ecx, esi
call fcn.0045b8d0
mov dword [esp + 0xbc], 3
lea ecx, [esp + 0x5c]
push ecx
call fcn.0045a500
mov byte [esp + 0xbc], 4
lea edi, [esp + 0x40]
mov ecx, esi
call fcn.0045ba70
mov byte [esp + 0xbc], 5
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.0045a560
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.0045b450
add esp, 0xc
mov byte [esp + 0xbc], 8
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x45b55d
mov eax, dword [esp + 0x20]
push eax
call fcn.004b1963
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 0x45b58c
mov edx, dword [esp + 0x44]
push edx
call fcn.004b1963
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.00403ffa
mov byte [esp + 0xbc], 0xd
lea eax, [esp + 0x1c]
call fcn.0041a9ea
mov byte [esp + 0xbc], 0xe
cmp dword [esp + 0x30], ebx
je 0x45b678
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x45b667
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
ja 0x45b5fc
call fcn.004afb5b
mov eax, dword [esp + 0x70]
lea esi, [eax + 1]
cmp esi, 0x7ffffffe
jbe 0x45b610
call fcn.004afb5b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
cmp ecx, esi
jae 0x45b778
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.00404170
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
cmp esi, ebx
jbe 0x45b662
cmp ecx, 8
mov ecx, dword [esp + 0x60]
jae 0x45b640
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 0x45b65c
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.00409db5
mov byte [esp + 0xbc], 0xb
cmp dword [esp + 0x34], esi
jb 0x45b693
mov eax, dword [esp + 0x20]
push eax
call fcn.004b1963
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.00403ffa
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.00403ffa
mov byte [esp + 0xbc], 0xb
mov dword [esp + 0x18], 1
mov byte [esp + 0xbc], 4
cmp dword [esp + 0xac], esi
jb 0x45b702
mov edx, dword [esp + 0x98]
push edx
call fcn.004b1963
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 0x45b735
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004b1963
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 0x45b761
mov eax, dword [esp + 0x7c]
push eax
call fcn.004b1963
add esp, 4
xor ecx, ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], cx
jmp 0x45b7c5
cmp esi, ebx
jne 0x45b631
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], ebx
cmp ecx, 8
jae 0x45b791
lea eax, [esp + 0x60]
xor edx, edx
mov word [eax], dx
jmp 0x45b662
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.00403ffa
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.004b196e
add esp, 0xac
ret