Function at 0x4b1070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push edi
mov edi, dword [ebp + 0xc]
push dword [esi]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x4b10b3
pop edi
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
call fcn.00593e1b
add esp, 4
cmp eax, 0x120
je 0x4b10db
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
push dword [esi]
push 1
push 0x50
push edi
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b109e
push dword [esi]
lea eax, [edi + 0x50]
push 1
push 0x1a
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b109e
push dword [esi]
lea eax, [edi + 0x6a]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b109e
push dword [esi]
lea eax, [edi + 0x72]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b109e
push ebx
push dword [esi]
lea ebx, [edi + 0x7a]
push 1
push 8
push ebx
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b12e1
push ebx
call fcn.00593e1b
add esp, 4
cmp eax, 1
je 0x4b1181
push ebx
call fcn.00593e1b
add esp, 4
cmp eax, 8
je 0x4b1181
pop ebx
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
push dword [esi]
lea eax, [edi + 0x82]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b12e1
push dword [esi]
lea eax, [edi + 0x8a]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b12e1
push dword [esi]
lea eax, [edi + 0x92]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b12e1
push dword [esi]
lea eax, [edi + 0x9a]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b12e1
push dword [esi]
lea eax, [edi + 0xa2]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b12e1
push dword [esi]
call fcn.00597fff
mov byte [edi + 0xaa], al
push dword [esi]
call fcn.00597fff
mov byte [edi + 0xab], al
lea eax, [edi + 0xac]
push dword [esi]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x18
test eax, eax
je 0x4b12e1
push dword [esi]
lea eax, [edi + 0xb4]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b12e1
push dword [esi]
call fcn.00597fff
mov byte [edi + 0xbc], al
push dword [esi]
call fcn.00597fff
mov byte [edi + 0xbd], al
push dword [esi]
call fcn.00597fff
mov byte [edi + 0xbe], al
push dword [esi]
call fcn.00597fff
mov byte [edi + 0xbf], al
lea eax, [edi + 0xc0]
push dword [esi]
push 1
push 0x50
push eax
call fcn.00595b79
add esp, 0x20
test eax, eax
je 0x4b12e1
push dword [esi]
lea eax, [edi + 0x110]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4b12e1
push dword [esi]
lea eax, [edi + 0x118]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x4b12f7
pop ebx
pop edi
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret