Function at 0x45bc30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a8755
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x751f00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.0045a440
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.0045d8a0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x20
call fcn.0045d960
push 0x71f834
mov ecx, dword [ebp - 0x38]
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 0x45bee9
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 0x45bcef
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00560bc5
add esp, 4
xor al, al
jmp 0x45befb
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 - 0x28], eax
mov ecx, dword [ebp - 0x28]
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 0x45bd7a
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x38]
call fcn.0045f440
mov eax, dword [ebp - 0x10]
push eax
call fcn.00560bc5
add esp, 4
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00459d30
mov al, byte [ebp - 0x29]
jmp 0x45befb
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00560bc5
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x18]
mov byte [ecx], 0
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
je 0x45be49
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x45bddb
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00459a90
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x45be44
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 0xd
jne 0x45be3b
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
test eax, eax
jle 0x45be03
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
push 0xa
lea ecx, [ebp - 0x24]
call fcn.0045d7f0
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
cmp ecx, 0xa
jne 0x45be2a
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x45be39
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
jmp 0x45be44
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x45bd9b
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
je 0x45be64
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00459a90
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0051aa4c
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x24]
call fcn.0045d810
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x38]
call fcn.0045df10
movzx ecx, al
test ecx, ecx
je 0x45bec2
mov byte [ebp - 0x31], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00459d30
mov al, byte [ebp - 0x31]
jmp 0x45befb
mov byte [ebp - 0x32], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00459d30
mov al, byte [ebp - 0x32]
jmp 0x45befb
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x38]
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