Function at 0x42b6d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x509354]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0xb
mov dword [ebp - 0xe0], ecx
xor ebx, ebx
xor edx, edx
push 0x4d25f8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 0xc9], bl
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], dx
call fcn.00401cd6
push 0xffffffffffffffff
push ebx
xor eax, eax
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
call fcn.00401c43
push 1
push 0x4cfe30
lea ecx, [ebp - 0x20]
call fcn.004027ed
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00402744
lea edx, [ebp - 0x20]
push edx
mov eax, edx
push eax
call fcn.004385e0
add esp, 8
lea esi, [ebx + 8]
test al, al
jne 0x42b7a8
cmp dword [ebp - 8], esi
jb 0x42b786
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e006
add esp, 4
mov dword [ebp - 8], 7
xor edx, edx
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], dx
cmp dword [ebp - 0x40], esi
jb 0x42bad3
mov eax, dword [ebp - 0x54]
push eax
jmp 0x42bacb
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], esi
jae 0x42b7b3
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b775
lea edx, [ebp - 0x3c]
push edx
xor ecx, ecx
push edi
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], cx
call fcn.004385e0
add esp, 8
test al, al
jne 0x42b7fa
cmp dword [ebp - 0x24], esi
jb 0x42b7f0
mov eax, dword [ebp - 0x38]
push eax
call fcn.0048e006
add esp, 4
mov edi, 7
jmp 0x42ba99
lea edx, [ebp - 0x20]
push edx
push edi
call fcn.00437f00
add esp, 8
test al, al
jne 0x42b85a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00437f00
add esp, 8
test al, al
jne 0x42b85a
cmp dword [ebp - 0x24], esi
jb 0x42b830
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e006
add esp, 4
mov edi, 7
xor eax, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], ax
cmp dword [ebp - 8], esi
jb 0x42b852
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e006
add esp, 4
mov dword [ebp - 8], edi
jmp 0x42b78d
push ebx
lea ecx, [ebp - 0xc8]
call fcn.0043f330
mov ecx, dword [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0043f570
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x80]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ebp - 0xc8]
je 0x42b8ef
call fcn.0043f280
cmp dword [ebp - 0x24], esi
jb 0x42b8af
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], dx
cmp dword [ebp - 8], esi
jb 0x42b8d1
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], cx
cmp dword [ebp - 0x40], esi
jb 0x42bad3
mov edx, dword [ebp - 0x54]
push edx
jmp 0x42bacb
lea eax, [ebp - 0x74]
push eax
call fcn.0043e380
lea ecx, [ebp - 0x74]
push edi
push ecx
call fcn.00437f00
add esp, 8
test al, al
jne 0x42b95f
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.00437f00
add esp, 8
test al, al
jne 0x42b95f
lea ecx, [ebp - 0x74]
call fcn.0040198e
lea ecx, [ebp - 0xc8]
call fcn.0043f280
lea ecx, [ebp - 0x3c]
call fcn.0040198e
lea ecx, [ebp - 0x20]
call fcn.0040198e
lea ecx, [ebp - 0x58]
call fcn.0040198e
mov al, byte [ebp - 0xc9]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e25d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x88]
cmp eax, 1
ja 0x42ba5b
cmp eax, ebx
jbe 0x42ba42
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xdc]
call fcn.0042b670
mov eax, dword [ebp - 0xd8]
mov esi, dword [eax]
mov dword [ebp - 0xd0], esi
cmp esi, eax
je 0x42ba18
mov edi, 0x10
nop
cmp dword [esi + 0x24], edi
jb 0x42b9aa
mov eax, dword [esi + 0x10]
jmp 0x42b9ad
lea eax, [esi + 0x10]
push 0x4d25f4
push eax
call fcn.004910a3
add esp, 8
test eax, eax
je 0x42b9e2
cmp dword [esi + 0x24], edi
jb 0x42b9c9
mov eax, dword [esi + 0x10]
jmp 0x42b9cc
lea eax, [esi + 0x10]
push 0x4d25f0
push eax
call fcn.004910a3
add esp, 8
test eax, eax
jne 0x42baea
mov eax, dword [esi + 0x3c]
push ebx
lea ecx, [esi + 0x28]
push 0x4cdc24
push eax
push ebx
call fcn.0040129e
test eax, eax
jne 0x42baea
lea ecx, [ebp - 0xd0]
call fcn.0047a4f0
mov esi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd8]
cmp esi, eax
jne 0x42b9a0
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0042b4e0
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0048e006
add esp, 4
mov esi, 8
mov ecx, dword [ebp - 0xe0]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00401c43
mov byte [ebp - 0xc9], 1
cmp dword [ebp - 0x5c], esi
jb 0x42ba6c
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov edi, 7
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], dx
call fcn.0043f280
cmp dword [ebp - 0x24], esi
jb 0x42ba99
mov eax, dword [ebp - 0x38]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], cx
cmp dword [ebp - 8], esi
jb 0x42bab6
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
cmp dword [ebp - 0x40], esi
jb 0x42bad3
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0048e006
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xc9]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e25d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0042b4e0
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0048e006
mov esi, 8
add esp, 4
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
cmp dword [ebp - 0x5c], esi
jb 0x42bb37
mov eax, dword [ebp - 0x70]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov word [ebp - 0x70], cx
mov edi, 7
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ebx
call fcn.0043f280
cmp dword [ebp - 0x24], esi
jb 0x42b835
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e006
add esp, 4
jmp 0x42b835