Function at 0x10025d80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10094084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 0
jg 0x10025daa
jl 0x10025da1
cmp dword [ebp + 0xc], 0
ja 0x10025daa
xor eax, eax
xor edx, edx
jmp 0x10025f6b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
je 0x10025dcc
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.1000eee0
jmp 0x10025f6b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
cmp dword [edx], 0
je 0x10025df6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
jmp 0x10025dfd
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x10025ebb
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jae 0x10025e1e
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x24], ecx
jmp 0x10025e24
lea edx, [ebp - 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
xor eax, eax
je 0x10025e6f
mov dword [ebp - 0x18], 0
jmp 0x10025e53
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x10025e6d
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x10025e4a
jmp 0x10025e83
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10039dd0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4c], 0
je 0x10025f5c
mov ecx, dword [ebp - 0x10]
call fcn.10025010
mov dword [ebp - 0x40], 0xfff
cmp dword [ebp - 8], 0xfff
jbe 0x10025f2b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.100436d9
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x1c], 0xfff
je 0x10025f29
xor eax, eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
sbb edx, eax
mov eax, ecx
jmp 0x10025f6b
jmp 0x10025ed7
cmp dword [ebp - 8], 0
jbe 0x10025f5c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.100436d9
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x3c]
mov dword [ebp - 8], ecx
xor edx, edx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
sbb ecx, edx
mov edx, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100375db
mov esp, ebp
pop ebp
ret 0xc