Function at 0x424ba0
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b3ec3
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x3f8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
call fcn.00433400
xor ebx, ebx
mov dword [esp + 0x418], ebx
mov eax, 0x7530
mov dword [esp + 0x1e4], ebx
mov dword [esp + 0x1e8], 0x493e0
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], eax
mov byte [esp + 0x13], bl
cmp dword [esi + 0x10], ebx
je 0x424d51
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x424c39
mov eax, dword [esi]
jmp 0x424c3b
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x424d51
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x14], edi
jb 0x424c5d
mov eax, dword [esi]
jmp 0x424c5f
mov eax, esi
push ebx
push 0x80
push 3
push ebx
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x424c8c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x206
lea edx, [esp + 0x202]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x208], cx
call fcn.004911e0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
lea ecx, [esp + 0x200]
push str.Range:_bytes:_d__r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor edx, edx
mov edi, 7
lea eax, [esp + 0x1fc]
mov word [esp + 0x18], dx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x424ce5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x200]
push eax
lea ecx, [esp + 0x20]
call fcn.0040e680
mov byte [esp + 0x418], 1
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x124]
call fcn.0040f1f0
mov byte [esp + 0x418], bl
cmp dword [esp + 0x2c], 8
jb 0x424d3d
mov edx, dword [esp + 0x18]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
mov byte [esp + 0x13], 1
cmp dword [esi + 0x14], 8
jb 0x424d5b
mov edi, dword [esi]
jmp 0x424d5d
mov edi, esi
xor ecx, ecx
cmp byte [esp + 0x13], bl
push ebx
setne cl
push 0x80
lea ecx, [ecx + ecx + 2]
push ecx
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x424da0
mov dword [esp + 0x418], eax
lea edx, [esp + 0x34]
push edx
call fcn.00433660
xor al, al
jmp 0x424e68
mov dword [esp + 0x1f8], eax
push 3
xor eax, eax
push 0x4c41a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1fc], 1
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
call fcn.0040e680
mov byte [esp + 0x418], 2
lea ecx, [esp + 0x18]
lea edi, [esp + 0x34]
call fcn.00433980
mov byte [esp + 0x13], al
mov byte [esp + 0x418], bl
mov edi, 8
cmp dword [esp + 0x2c], edi
jb 0x424e0a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp byte [esp + 0x13], bl
je 0x424e44
cmp dword [esi + 0x10], ebx
jne 0x424e2e
mov byte [esp + 0x13], bl
jmp 0x424e44
cmp dword [esi + 0x14], edi
jb 0x424e35
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete byte [esp + 0x13]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x418], 0xffffffff
lea ecx, [esp + 0x34]
push ecx
call fcn.00433660
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f8]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret