Function at 0x694eb0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ba4e7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x188
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x180], esi
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x184], ecx
mov ecx, dword [ebx + 0x14]
push eax
mov dword [ebp - 0x188], ecx
call fcn.00694d60
mov ecx, dword [esi]
add esp, 4
mov edi, 1
mov esi, ecx
mov edx, dword [ecx + 4]
cmp byte [edx + 0xd], 0
jne 0x694f44
lea ecx, [ecx]
cmp dword [edx + 0x10], eax
jae 0x694f3a
mov edx, dword [edx + 8]
jmp 0x694f3e
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x694f30
cmp esi, ecx
je 0x694f53
mov dword [ebp - 0x17c], esi
cmp eax, dword [esi + 0x10]
jae 0x694f59
mov dword [ebp - 0x17c], ecx
lea esi, [ebp - 0x17c]
mov esi, dword [esi]
cmp esi, ecx
je 0x6951e9
mov edi, dword [esi + 0x20]
cmp edi, dword [esi + 0x24]
jne 0x69507f
mov eax, dword [ebp - 0x180]
cmp dword [ebx + 0x10], edi
push 0
cmovb edi, dword [ebx + 0x10]
push 0
push dword [esi + 0x1c]
mov dword [ebp - 0x17c], edi
push dword [esi + 0x18]
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x180]
push edi
push dword [ebp - 0x184]
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 4], 0
lea eax, [ecx + 0x48]
push eax
lea eax, [ecx + 8]
push 0x20
push eax
lea ecx, [ebp - 0x178]
call fcn.00694740
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x174]
push edi
push eax
push eax
mov byte [ebp - 4], 1
call fcn.00467b10
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 2
call fcn.00694a30
lea eax, [ebp - 0x128]
neg eax
lea ecx, [ebp - 0x128]
and eax, 0xf
add eax, ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x695032
mov edi, ecx
xor eax, eax
mov ecx, dword [ebp - 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x17c]
cmp edi, dword [esi + 0x20]
jne 0x695054
push 0xdedaeac
push edi
push dword [ebp - 0x184]
call fcn.006a4b50
add esp, 0xc
cmp eax, dword [esi + 0x28]
jne 0x6951a0
mov eax, dword [ebp - 0x188]
test eax, eax
je 0x6951e7
mov dword [eax], edi
jmp 0x6951e7
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x194]
add eax, edi
push eax
call fcn.006948b0
mov eax, dword [ebp - 0x180]
push 0
push 0
push dword [esi + 0x1c]
mov dword [ebp - 4], 4
push dword [esi + 0x18]
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov edi, dword [ebp - 0x194]
lea eax, [ebp - 0x19c]
push 0
push eax
push dword [esi + 0x20]
mov eax, dword [ebp - 0x180]
push edi
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x180]
mov byte [ebp - 4], 5
lea eax, [ecx + 0x48]
push eax
lea eax, [ecx + 8]
push 0x20
push eax
lea ecx, [ebp - 0x178]
call fcn.00694740
push dword [esi + 0x20]
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 6
push edi
push edi
call fcn.00467b10
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 7
call fcn.00694a30
lea eax, [ebp - 0x128]
neg eax
lea ecx, [ebp - 0x128]
and eax, 0xf
add eax, ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x695143
mov edi, ecx
xor eax, eax
mov ecx, dword [ebp - 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x194]
mov eax, dword [esi + 0x20]
push dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
add eax, edi
push eax
push edi
mov dword [ebp - 0x17c], ecx
call fcn.006a4900
mov ecx, dword [ebp - 0x17c]
add esp, 0xc
cmp eax, ecx
je 0x69517c
test edi, edi
je 0x695175
push edi
call fcn.004623e0
add esp, 4
mov eax, 6
jmp 0x6951eb
push 0xdedaeac
push dword [esi + 0x24]
lea eax, [edi + ecx]
push eax
call fcn.006a4b50
add esp, 0xc
cmp eax, dword [esi + 0x28]
je 0x6951a7
lea ecx, [ebp - 0x194]
call fcn.0055cdb0
mov eax, 2
jmp 0x6951eb
mov eax, dword [esi + 0x24]
cmp dword [ebx + 0x10], eax
cmovb eax, dword [ebx + 0x10]
push eax
mov eax, dword [esi + 0x20]
add eax, edi
push eax
push dword [ebp - 0x184]
call fcn.00658d70
mov edx, dword [ebp - 0x188]
add esp, 0xc
test edx, edx
je 0x6951dc
mov eax, dword [esi + 0x24]
cmp dword [ebx + 0x10], eax
cmovb eax, dword [ebx + 0x10]
mov dword [edx], eax
lea ecx, [ebp - 0x194]
call fcn.0055cdb0
xor edi, edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10