Function at 0x503da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6af3fb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x778400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x503dd8
xor eax, eax
jmp 0x504023
mov eax, dword [ebp + 8]
push eax
call fcn.006738bc
add esp, 4
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00673785
add esp, 0x10
mov edx, dword [ebp + 0xc]
push edx
call fcn.00657741
add esp, 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x74]
push edx
call fcn.0066eb10
add esp, 0xc
mov byte [ebp - 0x60], 0
push 0x3f
push 0
lea eax, [ebp - 0x5f]
push eax
call fcn.0066eb10
add esp, 0xc
push 0x40
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.0066eb10
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.006736d9
add esp, 0x10
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x503fd4
lea ecx, [ebp - 0x70]
call fcn.00515070
mov byte [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov word [ebp - 0x13], dx
mov byte [ebp - 0x11], dl
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x70]
call fcn.005150b0
mov eax, 1
imul ecx, eax, 0xf
movzx edx, byte [ebp + ecx - 0x20]
push edx
mov eax, 1
imul ecx, eax, 0xe
movzx edx, byte [ebp + ecx - 0x20]
push edx
mov eax, 1
imul ecx, eax, 0xd
movzx edx, byte [ebp + ecx - 0x20]
push edx
mov eax, 1
imul ecx, eax, 0xc
movzx edx, byte [ebp + ecx - 0x20]
push edx
mov eax, 1
imul ecx, eax, 0xb
movzx edx, byte [ebp + ecx - 0x20]
push edx
mov eax, 1
imul ecx, eax, 0xa
movzx edx, byte [ebp + ecx - 0x20]
push edx
mov eax, 1
imul ecx, eax, 9
movzx edx, byte [ebp + ecx - 0x20]
push edx
mov eax, 1
shl eax, 3
movzx ecx, byte [ebp + eax - 0x20]
push ecx
mov edx, 1
imul eax, edx, 7
movzx ecx, byte [ebp + eax - 0x20]
push ecx
mov edx, 1
imul eax, edx, 6
movzx ecx, byte [ebp + eax - 0x20]
push ecx
mov edx, 1
imul eax, edx, 5
movzx ecx, byte [ebp + eax - 0x20]
push ecx
mov edx, 1
shl edx, 2
movzx eax, byte [ebp + edx - 0x20]
push eax
mov ecx, 1
imul edx, ecx, 3
movzx eax, byte [ebp + edx - 0x20]
push eax
mov ecx, 1
shl ecx, 1
movzx edx, byte [ebp + ecx - 0x20]
push edx
mov eax, 1
shl eax, 0
movzx ecx, byte [ebp + eax - 0x20]
push ecx
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [ebp + eax - 0x20]
push ecx
push 0x6dffd0
lea edx, [ebp - 0x60]
push edx
call fcn.0066d97a
add esp, 0x48
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00419d50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004f2ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00419eb0
jmp 0x503e53
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.0066d1a4
add esp, 4
cmp dword [ebp - 0x78], 0
jne 0x503ff5
mov dword [ebp - 0x80], 0
jmp 0x504002
mov dword [ebp - 0x74], 0x8123
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x80], ecx
push 0
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00673785
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066c98d
mov esp, ebp
pop ebp
ret