Function at 0x10068b87
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b8
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call fcn.100680fb
cmp dword [0x101aef34], ebx
pop ecx
jne 0x10068bb0
push 0x1f87
push 2
jmp 0x10068cf0
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push 1
push eax
push ebx
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call esi
push ebx
push ebx
push ebx
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call esi
mov ecx, 0xf7
xor eax, eax
lea edi, [ebp - 0x7b7]
mov byte [ebp - 0x7b8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x7b8]
push 0x3e0
push eax
push dword [ebp + 8]
call fcn.1006bccb
add esp, 0xc
mov edi, eax
lea eax, [ebp - 8]
push ebx
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call esi
cmp edi, ebx
jne 0x10068c1e
push 0x1f9b
push 0xf
jmp 0x10068cf0
mov ecx, 0xe1
xor eax, eax
lea edi, [ebp - 0x3d7]
mov byte [ebp - 0x3d8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x3d8]
push eax
lea eax, [ebp - 0x7b8]
push eax
call fcn.1006b7ad
pop ecx
test eax, eax
pop ecx
jne 0x10068c5b
push 0x1fa3
push 0x14
jmp 0x10068cf0
lea eax, [ebp - 0x3d8]
push eax
call fcn.10071139
test eax, eax
pop ecx
jne 0x10068c75
push 0x1faa
push 0x1f
jmp 0x10068cf0
cmp dword [ebp + 0xc], ebx
je 0x10068c91
lea eax, [ebp - 0x3d8]
push 0x388
push eax
push dword [ebp + 0xc]
call fcn.1007dea0
add esp, 0xc
cmp dword [ebp + 0x10], ebx
mov edi, dword [ebp + 0x18]
jne 0x10068c9d
cmp edi, ebx
je 0x10068cb9
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x10068cc1
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
call fcn.1007e1e0
add esp, 0xc
cmp edi, ebx
je 0x10068cb9
mov dword [edi], ebx
push 1
pop eax
jmp 0x10068e2e
cmp dword [ebp + 0x14], eax
jae 0x10068cd9
cmp edi, ebx
je 0x10068ccc
mov dword [edi], eax
xor eax, eax
cmp dword [ebp + 0x10], ebx
sete al
jmp 0x10068e2e
push eax
call fcn.1007e238
mov edi, eax
pop ecx
cmp edi, ebx
mov dword [ebp + 0xc], edi
jne 0x10068cfe
push 0x1fce
push 0x21
call fcn.100680dd
pop ecx
xor eax, eax
pop ecx
jmp 0x10068e2e
push dword [ebp - 0x58]
push ebx
push edi
call fcn.1007e1e0
add esp, 0xc
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
push ebx
push eax
push dword [ebp - 0x60]
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x58]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
lea eax, [ebp - 8]
push ebx
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call esi
cmp edi, ebx
je 0x10068e0b
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp + 0xc]
call fcn.10074c8c
add esp, 0xc
test eax, eax
je 0x10068e14
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x4f]
mov byte [ebp - 0x50], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x798]
call fcn.10066281
add esp, 0xc
cmp eax, ebx
jne 0x10068dae
push dword [ebp - 0x58]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.1007dea0
mov eax, dword [ebp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x10068da5
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov dword [ebp - 4], 1
jmp 0x10068e22
push eax
call fcn.1005fb73
mov esi, eax
pop ecx
cmp esi, ebx
je 0x10068e02
lea eax, [ebp + 8]
mov edi, dword [esi]
push eax
lea eax, [ebp - 0x50]
push dword [ebp + 0x14]
mov dword [ebp + 8], ebx
push dword [ebp + 0x10]
push dword [ebp - 0x58]
push dword [ebp + 0xc]
push eax
call fcn.1007e450
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call dword [edi + 0x14]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10068df9
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x10068e22
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x10068e22
push 0x200c
push 0x12
jmp 0x10068e1b
push 0x2011
push 0xc
jmp 0x10068e1b
push 0x1fe0
push 0xd
jmp 0x10068e1b
push 0x1fe7
push 0x1c
call fcn.100680dd
pop ecx
pop ecx
push dword [ebp + 0xc]
call fcn.1007de95
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret