Function at 0x42be30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x50b384]
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 0x4d3718
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.00401ce4
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.00401c51
push 1
push 0x4d0ef8
lea ecx, [ebp - 0x20]
call fcn.00402933
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040288a
lea edx, [ebp - 0x20]
push edx
mov eax, edx
push eax
call fcn.00438de0
add esp, 8
lea esi, [ebx + 8]
test al, al
jne 0x42bf08
cmp dword [ebp - 8], esi
jb 0x42bee6
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e976
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 0x42c233
mov eax, dword [ebp - 0x54]
push eax
jmp 0x42c22b
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], esi
jae 0x42bf13
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42bed5
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.00438de0
add esp, 8
test al, al
jne 0x42bf5a
cmp dword [ebp - 0x24], esi
jb 0x42bf50
mov eax, dword [ebp - 0x38]
push eax
call fcn.0048e976
add esp, 4
mov edi, 7
jmp 0x42c1f9
lea edx, [ebp - 0x20]
push edx
push edi
call fcn.004386d0
add esp, 8
test al, al
jne 0x42bfba
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004386d0
add esp, 8
test al, al
jne 0x42bfba
cmp dword [ebp - 0x24], esi
jb 0x42bf90
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e976
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 0x42bfb2
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e976
add esp, 4
mov dword [ebp - 8], edi
jmp 0x42beed
push ebx
lea ecx, [ebp - 0xc8]
call fcn.0043fc70
mov ecx, dword [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0043feb0
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 0x42c04f
call fcn.0043fbc0
cmp dword [ebp - 0x24], esi
jb 0x42c00f
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0048e976
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 0x42c031
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e976
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 0x42c233
mov edx, dword [ebp - 0x54]
push edx
jmp 0x42c22b
lea eax, [ebp - 0x74]
push eax
call fcn.0043ecc0
lea ecx, [ebp - 0x74]
push edi
push ecx
call fcn.004386d0
add esp, 8
test al, al
jne 0x42c0bf
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.004386d0
add esp, 8
test al, al
jne 0x42c0bf
lea ecx, [ebp - 0x74]
call fcn.0040199c
lea ecx, [ebp - 0xc8]
call fcn.0043fbc0
lea ecx, [ebp - 0x3c]
call fcn.0040199c
lea ecx, [ebp - 0x20]
call fcn.0040199c
lea ecx, [ebp - 0x58]
call fcn.0040199c
mov al, byte [ebp - 0xc9]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x88]
cmp eax, 1
ja 0x42c1bb
cmp eax, ebx
jbe 0x42c1a2
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xdc]
call fcn.0042bdd0
mov eax, dword [ebp - 0xd8]
mov esi, dword [eax]
mov dword [ebp - 0xd0], esi
cmp esi, eax
je 0x42c178
mov edi, 0x10
nop
cmp dword [esi + 0x24], edi
jb 0x42c10a
mov eax, dword [esi + 0x10]
jmp 0x42c10d
lea eax, [esi + 0x10]
push 0x4d3714
push eax
call fcn.00491a13
add esp, 8
test eax, eax
je 0x42c142
cmp dword [esi + 0x24], edi
jb 0x42c129
mov eax, dword [esi + 0x10]
jmp 0x42c12c
lea eax, [esi + 0x10]
push 0x4d3710
push eax
call fcn.00491a13
add esp, 8
test eax, eax
jne 0x42c24a
mov eax, dword [esi + 0x3c]
push ebx
lea ecx, [esi + 0x28]
push 0x4cec14
push eax
push ebx
call fcn.004012ac
test eax, eax
jne 0x42c24a
lea ecx, [ebp - 0xd0]
call fcn.004b5b30
mov esi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd8]
cmp esi, eax
jne 0x42c100
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0042bc10
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0048e976
add esp, 4
mov esi, 8
mov ecx, dword [ebp - 0xe0]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00401c51
mov byte [ebp - 0xc9], 1
cmp dword [ebp - 0x5c], esi
jb 0x42c1cc
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0048e976
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.0043fbc0
cmp dword [ebp - 0x24], esi
jb 0x42c1f9
mov eax, dword [ebp - 0x38]
push eax
call fcn.0048e976
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 0x42c216
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048e976
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 0x42c233
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0048e976
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xc9]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ebcd
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.0042bc10
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0048e976
mov esi, 8
add esp, 4
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
cmp dword [ebp - 0x5c], esi
jb 0x42c297
mov eax, dword [ebp - 0x70]
push eax
call fcn.0048e976
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.0043fbc0
cmp dword [ebp - 0x24], esi
jb 0x42bf95
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e976
add esp, 4
jmp 0x42bf95