Function at 0x2607530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x23e4ac5
call fcn.026a74de
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x5a
cmp dword [ebp + 0xc], 0
jne 0x2607573
xor eax, eax
jmp 0x2607957
cmp dword [ebp + 0x10], 0
je 0x260757f
cmp dword [ebp + 0x14], 0
jne 0x2607587
mov eax, dword [ebp - 0x18]
jmp 0x2607957
push 8
push 0x23eb004
mov eax, dword [ebp + 0xc]
push eax
call fcn.026e3af0
add esp, 0xc
test eax, eax
jne 0x26077aa
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [0x23eae58]
cmp dword [ecx + 0x58], 0
jne 0x26075c4
mov eax, dword [ebp - 0x18]
jmp 0x2607957
mov esi, esp
push 0x20
call dword [0x23ea098]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x26075eb
mov eax, 0x1b
jmp 0x2607957
mov esi, esp
push 0x20
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [0x23eae58]
mov eax, dword [edx + 0x58]
call eax
add esp, 0x10
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x2607632
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x20
mov eax, dword [ebp - 0x44]
push eax
call fcn.02648eb0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov esi, esp
mov ecx, dword [ebp - 0x44]
push ecx
call dword [0x23ea09c]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x44], 0
xor edx, edx
jne 0x2607632
cmp dword [ebp - 0x1c], 0
je 0x2607661
mov eax, dword [ebp - 0x1c]
jmp 0x2607957
mov eax, dword [ebp - 0x30]
push eax
push 0x23eb010
mov ecx, dword [ebp + 8]
push ecx
call fcn.02615e00
add esp, 0xc
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
call dword [0x23ea0a4]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x26076c0
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [0x23ea09c]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x30], 0
xor ecx, ecx
jne 0x2607695
mov eax, 0x1b
jmp 0x2607957
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
push 0x23eb030
mov eax, dword [ebp - 0x3c]
push eax
call fcn.026acb60
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x26076ef
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x40]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 8
push ecx
call fcn.026b6310
add esp, 4
cmp dword [ebp - 0x24], eax
jne 0x2607727
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x3c]
add eax, 8
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.026a9b64
add esp, 0xc
test eax, eax
jne 0x2607727
mov dword [ebp - 0x18], 0
jmp 0x2607760
cmp dword [ebp - 0x40], 0
je 0x2607750
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x40]
mov byte [ecx + eax], 0x3b
push 0x23eb03c
mov edx, dword [ebp - 0x40]
push edx
call fcn.026acb60
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x40], 0
je 0x2607760
cmp dword [ebp - 0x3c], 0
jne 0x26076c6
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [0x23ea09c]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x30], 0
xor ecx, ecx
jne 0x2607760
mov esi, esp
mov edx, dword [ebp - 0x38]
push edx
call dword [0x23ea09c]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x38], 0
xor eax, eax
jne 0x2607781
mov eax, dword [ebp - 0x18]
jmp 0x2607957
push 0x23eb048
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0263a1c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x26077cc
mov eax, dword [ebp - 0x18]
jmp 0x2607957
push 2
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.026c51e2
add esp, 0xc
test eax, eax
je 0x26077e5
jmp 0x2607906
mov eax, dword [ebp - 4]
push eax
call fcn.026c5a24
add esp, 4
mov dword [ebp - 0x48], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.026c51e2
add esp, 0xc
test eax, eax
je 0x260780d
jmp 0x2607906
cmp dword [ebp - 0x48], 0
jl 0x260781c
cmp dword [ebp - 0x48], 0x100000
jle 0x2607821
jmp 0x2607906
mov eax, dword [ebp - 0x48]
cdq
push edx
push eax
call fcn.0261c700
add esp, 8
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x4c]
jbe 0x260783f
jmp 0x2607906
mov eax, dword [ebp - 0x4c]
add eax, 1
mov esi, esp
push eax
call dword [0x23ea098]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x2607866
jmp 0x2607906
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.026c4cc8
add esp, 0x10
cmp eax, 1
je 0x2607886
jmp 0x2607906
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0x4c]
jne 0x26078af
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.026a9b64
add esp, 0xc
test eax, eax
jne 0x26078ad
mov dword [ebp - 0x18], 0
jmp 0x2607906
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x4c]
mov byte [edx], 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.02609c90
add esp, 0xc
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x26078d7
jmp 0x2607906
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x54]
jne 0x26078fe
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.026a9b64
add esp, 0xc
test eax, eax
jne 0x26078fe
mov dword [ebp - 0x18], 0
xor ecx, ecx
jne 0x26077cc
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [0x23ea09c]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 8], 0
xor eax, eax
jne 0x2607906
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x23ea09c]
add esp, 4
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x10], 0
xor edx, edx
jne 0x2607927
mov eax, dword [ebp - 4]
push eax
call fcn.026c4728
add esp, 4
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x2607978]
call fcn.026a5faa
pop eax
pop edx
pop edi
pop esi
add esp, 0x5c
cmp ebp, esp
call fcn.026a5ffe
mov esp, ebp
pop ebp
ret