Function at 0x45bf10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a8778
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x751f00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0045a440
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.0045d8a0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x20
call fcn.0045d960
push 0x71f834
mov ecx, dword [ebp - 0x3c]
add ecx, 0x20
call fcn.0045d810
push eax
call fcn.00560fdf
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45c233
mov dword [ebp - 0x18], 0
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00560ac9
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.00562058
add esp, 4
mov dword [ebp - 0x18], eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00560ac9
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x45bfcf
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00560bc5
add esp, 4
xor al, al
jmp 0x45c245
lea ecx, [ebp - 0x24]
call fcn.00459d10
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x24]
call fcn.00459900
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
call fcn.0051aa1d
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov byte [edx], 0
mov eax, dword [ebp - 0x10]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00560efe
add esp, 0x10
cmp eax, 1
je 0x45c05a
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x3c]
call fcn.0045f440
mov eax, dword [ebp - 0x10]
push eax
call fcn.00560bc5
add esp, 4
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00459d30
mov al, byte [ebp - 0x2d]
jmp 0x45c245
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00560bc5
add esp, 4
mov edx, dword [0x75cd98]
and edx, 1
jne 0x45c090
mov eax, dword [0x75cd98]
or eax, 1
mov dword [0x75cd98], eax
push 0x6c3c48
call fcn.0055f980
add esp, 4
mov dword [0x75cd94], eax
mov dword [ebp - 0x28], 0
jmp 0x45c0a2
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x18]
jge 0x45c0d0
mov eax, dword [ebp - 0x28]
cdq
idiv dword [0x75cd94]
movsx eax, byte [edx + 0x6c3c48]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
mov byte [eax], dl
jmp 0x45c099
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x45c193
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0xa
jne 0x45c125
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
add edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00459a90
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
jmp 0x45c18e
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0xd
jne 0x45c185
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
test edx, edx
jle 0x45c14d
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00459a90
push 0xa
lea ecx, [ebp - 0x24]
call fcn.0045d7f0
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 1]
cmp eax, 0xa
jne 0x45c174
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
jmp 0x45c183
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
jmp 0x45c18e
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x45c0e5
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
je 0x45c1ae
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x24]
call fcn.00459a90
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0051aa4c
add esp, 4
mov dword [ebp - 0x20], 0
mov edx, dword [ebp + 0xc]
push edx
push 0
lea ecx, [ebp - 0x24]
call fcn.0045d810
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x3c]
call fcn.0045df10
movzx ecx, al
test ecx, ecx
je 0x45c20c
mov byte [ebp - 0x35], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00459d30
mov al, byte [ebp - 0x35]
jmp 0x45c245
mov byte [ebp - 0x36], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00459d30
mov al, byte [ebp - 0x36]
jmp 0x45c245
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x3c]
call fcn.0045f440
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8