Function at 0x4b6bd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x66c], ecx
cmp dword [ebp + 0xc], 0
jne 0x4b6c04
push 0x5a8324
mov ecx, dword [ebp + 8]
call fcn.00426f30
mov eax, dword [ebp + 8]
jmp 0x4b7111
mov ecx, dword [ebp - 0x66c]
call fcn.004b67a0
mov eax, dword [ebp - 0x66c]
cmp dword [eax + 0x208], 0
jne 0x4b6c32
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00426f30
mov eax, dword [ebp + 8]
jmp 0x4b7111
lea ecx, [ebp - 4]
call fcn.00426ee0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x66c]
call fcn.004b6910
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b6c82
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [ebp - 4]
call fcn.00427070
jmp 0x4b70fa
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
sar eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x65c]
call fcn.00460cb0
push eax
lea ecx, [ebp - 4]
call fcn.0045fbe0
lea ecx, [ebp - 0x65c]
call fcn.00426fe0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4b6cdb
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [ebp - 4]
call fcn.00427070
jmp 0x4b70fa
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4b6d28
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4b6d28
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
sar ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [ebp - 0x660]
call fcn.00460cb0
push eax
lea ecx, [ebp - 4]
call fcn.0045fbe0
lea ecx, [ebp - 0x660]
call fcn.00426fe0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x4b70f0
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
test edx, edx
je 0x4b6d53
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4b6d48
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
cmp eax, 0x2f
jne 0x4b6d53
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
jmp 0x4b6d28
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
test eax, eax
jne 0x4b6d6e
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
call fcn.00427070
jmp 0x4b70fa
mov dword [ebp - 0x234], 0
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x66c]
call fcn.004b69b0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
sar eax, 1
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00460cb0
xor edx, edx
mov word [ebp - 0x230], dx
push 0x206
push 0
lea eax, [ebp - 0x22e]
push eax
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.004273c0
push eax
call fcn.0055e532
add esp, 4
test eax, eax
je 0x4b6e6b
lea ecx, [ebp - 0x20]
call fcn.004273c0
push eax
mov ecx, dword [ebp - 0x66c]
push ecx
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4b6e6b
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4b6e1b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x234], 1
jmp 0x4b6e6b
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b6e6b
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0xc]
sar eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x664]
call fcn.00460cb0
push eax
lea ecx, [ebp - 4]
call fcn.0045fbe0
lea ecx, [ebp - 0x664]
call fcn.00426fe0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x20]
call fcn.00426fe0
jmp 0x4b70f0
mov dword [ebp - 0x238], 0
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x66c]
call fcn.004b6910
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x234], 0
jne 0x4b709e
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
test ecx, ecx
je 0x4b709e
cmp dword [ebp - 0x1c], 0
je 0x4b6ec1
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jae 0x4b709e
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
mov dword [ebp - 0x670], ecx
mov edx, dword [ebp - 0x670]
sub edx, 9
mov dword [ebp - 0x670], edx
cmp dword [ebp - 0x670], 0x53
ja case.0x4b6efc.2
mov eax, dword [ebp - 0x670]
movzx ecx, byte [eax + 0x4b7130]
jmp dword [ecx*4 + 0x4b7124]
mov dword [ebp - 0x23c], 1
jmp 0x4b6f25
mov dword [ebp - 0x23c], 2
jmp 0x4b6f25
mov dword [ebp - 0x23c], 3
cmp dword [ebp - 0x23c], 1
jne 0x4b6f33
jmp 0x4b709e
cmp dword [ebp - 0x23c], 2
jne 0x4b6fe9
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
sar edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x240]
call fcn.00460cb0
xor ecx, ecx
mov word [ebp - 0x448], cx
push 0x206
push 0
lea edx, [ebp - 0x446]
push edx
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.004273c0
push eax
call fcn.0055e532
add esp, 4
test eax, eax
je 0x4b6fde
lea ecx, [ebp - 0x240]
call fcn.004273c0
push eax
mov eax, dword [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x448]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4b6fde
lea edx, [ebp - 0x448]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4b6fde
mov dword [ebp - 0x234], 1
lea ecx, [ebp - 0x240]
call fcn.00426fe0
jmp 0x4b709e
lea ecx, [ebp - 0x240]
call fcn.00426fe0
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x1c]
jne 0x4b7099
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
sar edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00460cb0
xor ecx, ecx
mov word [ebp - 0x658], cx
push 0x206
push 0
lea edx, [ebp - 0x656]
push edx
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x44c]
call fcn.004273c0
push eax
call fcn.0055e532
add esp, 4
test eax, eax
je 0x4b708c
lea ecx, [ebp - 0x44c]
call fcn.004273c0
push eax
mov eax, dword [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x658]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4b708c
lea edx, [ebp - 0x658]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4b708c
mov dword [ebp - 0x234], 1
lea ecx, [ebp - 0x44c]
call fcn.00426fe0
jmp 0x4b709e
jmp 0x4b6e94
cmp dword [ebp - 0x234], 0
je 0x4b70b6
push 0x5a8328
lea ecx, [ebp - 4]
call fcn.00427070
jmp 0x4b70e2
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
sar eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x668]
call fcn.00460cb0
push eax
lea ecx, [ebp - 4]
call fcn.0045fbe0
lea ecx, [ebp - 0x668]
call fcn.00426fe0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x20]
call fcn.00426fe0
cmp dword [ebp - 0xc], 0
jne 0x4b6c55
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00426f00
lea ecx, [ebp - 4]
call fcn.00426fe0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret 8