Function at 0x1007eca0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x230
mov eax, dword [0x101cc114]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x23c]
push ebx
push ebp
mov ebp, dword [esp + 0x23c]
push esi
mov esi, dword [esp + 0x244]
push edi
mov edi, dword [esp + 0x250]
xor ebx, ebx
push 0x1ff
lea ecx, [esp + 0x41]
push ebx
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov byte [esp + 0x48], bl
call fcn.101183f0
add esp, 0xc
mov ebx, ebx
mov edx, edx
mov dword [esp + 0x10], ebx
nop
mov ecx, ecx
cmp dword [esp + 0x254], ebx
jne 0x1007efd5
push esi
lea edx, [esp + 0x40]
push edx
push ebp
call fcn.10057f00
add esp, 0xc
mov ecx, ecx
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esp + 0x44]
push ecx
push ebp
call fcn.1006a3d0
add esp, 0x10
test eax, eax
jne 0x1007efad
cmp dword [esp + 0x258], ebx
jne 0x1007ee55
mov byte [esp + 0x14], 0x72
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], bl
mov esi, esi
push 0x40
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.101190f9
add esp, 0xc
mov edi, eax
xchg ebx, eax
xchg ebx, eax
cmp edi, ebx
jne 0x1007ede5
mov al, 0xce
mov byte [esp + 0x28], al
mov byte [esp + 0x29], 0xde
mov byte [esp + 0x2a], 0xb7
mov byte [esp + 0x2b], 0xa8
mov byte [esp + 0x2c], 0xb4
mov byte [esp + 0x2d], 0xf2
mov byte [esp + 0x2e], 0xbf
mov byte [esp + 0x2f], 0xaa
mov byte [esp + 0x30], al
mov byte [esp + 0x31], 0xc4
mov byte [esp + 0x32], 0xbc
mov byte [esp + 0x33], 0xfe
mov byte [esp + 0x34], 0x3c
mov byte [esp + 0x35], 0x25
mov byte [esp + 0x36], 0x73
mov byte [esp + 0x37], 0x3e
mov byte [esp + 0x38], bl
mov bl, bl
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebp
call fcn.10051e90
add esp, 0xc
mov dh, dh
xor eax, eax
jmp 0x1007efb2
push 2
push ebx
push edi
call fcn.10119074
add esp, 0xc
mov dh, dh
push edi
call fcn.10118f7f
add esp, 4
mov dword [esp + 0x10], eax
push ebx
pop ebx
push ebx
push ebx
push edi
call fcn.10119074
add esp, 0xc
mov cl, cl
mov eax, dword [esp + 0x10]
push eax
call fcn.10117399
add esp, 4
mov esi, eax
mov ebp, ebp
cmp esi, ebx
push edi
jne 0x1007ee36
call fcn.10118ab4
add esp, 4
mov dh, dh
xor eax, eax
jmp 0x1007efb2
mov ecx, dword [esp + 0x14]
push ecx
push 1
push esi
call fcn.10118dcc
add esp, 0x10
mov al, al
push edi
call fcn.10118ab4
add esp, 4
mov bl, bl
jmp 0x1007ee89
mov edx, dword [edi]
push edx
call fcn.10117399
add esp, 4
mov esi, eax
mov ebx, ebx
cmp esi, ebx
je 0x1007edde
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
push edx
push esi
call fcn.10119710
add esp, 0xc
mov ecx, ecx
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov dh, dh
mov ecx, dword [esp + 0x10]
push ecx
push esi
call fcn.100568e0
add esp, 8
test eax, eax
je 0x1007efcb
mov eax, dword [esp + 0x10]
lea edx, [ebp + 0x2613]
push edx
push eax
push esi
call fcn.10056750
add esp, 0xc
mov dword [esp + 0x10], eax
mov bh, bh
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x1007ef3b
mov al, 0xdc
mov byte [esp + 0x28], 0xcd
mov byte [esp + 0x29], 0xbc
mov byte [esp + 0x2a], 0xc6
mov byte [esp + 0x2b], 0xac
mov byte [esp + 0x2c], 0x5b
mov byte [esp + 0x2d], 0x25
mov byte [esp + 0x2e], 0x73
mov byte [esp + 0x2f], 0x5d
mov byte [esp + 0x30], 0xbd
mov byte [esp + 0x31], 0xe2
mov byte [esp + 0x32], 0xc3
mov byte [esp + 0x33], al
mov byte [esp + 0x34], 0xca
mov byte [esp + 0x35], 0xa7
mov byte [esp + 0x36], 0xb0
mov byte [esp + 0x37], al
mov byte [esp + 0x38], bl
nop
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebp
call fcn.10051e90
add esp, 0xc
mov ebp, ebp
push esi
call fcn.1011745c
add esp, 4
push ebx
pop ebx
xor eax, eax
jmp 0x1007efb2
push eax
call fcn.10117399
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
mov eax, eax
cmp edi, ebx
jne 0x1007ef5f
push esi
call fcn.1011745c
add esp, 4
mov ebx, ebx
xor eax, eax
jmp 0x1007efb2
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esi + 8]
push ecx
push edi
call fcn.10119710
add esp, 0xc
mov edx, edx
push esi
call fcn.1011745c
add esp, 4
mov dl, dl
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
call fcn.1007e900
add esp, 0xc
mov dh, dh
mov edx, dword [esp + 0x18]
mov dword [edx], edi
mov ebx, ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov edx, edx
mov eax, 1
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117937
add esp, 0x230
ret
mov edi, esi
mov dword [esp + 0x20], edi
mov ecx, ecx
jmp 0x1007ef7e
mov dword [esp + 0x14], ebx
mov dl, dl
mov byte [esp + 0x20], 0x25
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x22], 0x2c
mov byte [esp + 0x23], 0x25
mov byte [esp + 0x24], 0x64
mov byte [esp + 0x25], bl
mov cl, cl
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.10119c85
add esp, 0x10
mov ebp, ebp
mov edx, dword [esp + 0x14]
push 4
push edx
call dword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
test eax, eax
je 0x1007f0aa
mov cl, 0xd6
mov al, 0xb5
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0xb8
mov byte [esp + 0x2a], 0xd5
mov byte [esp + 0x2b], 0xeb
mov byte [esp + 0x2c], 0x3a
mov byte [esp + 0x2d], 0x25
mov byte [esp + 0x2e], 0x64
mov byte [esp + 0x2f], 0xca
mov byte [esp + 0x30], 0xc7
mov byte [esp + 0x31], 0xce
mov byte [esp + 0x32], 0xde
mov byte [esp + 0x33], 0xd0
mov byte [esp + 0x34], 0xa7
mov byte [esp + 0x35], al
mov byte [esp + 0x36], 0xc4
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0xd8
mov byte [esp + 0x39], cl
mov byte [esp + 0x3a], 0xb7
mov byte [esp + 0x3b], bl
mov ecx, ecx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
call fcn.10051e90
add esp, 0xc
mov cl, cl
xor eax, eax
jmp 0x1007efb2
mov edi, dword [esp + 0x14]
mov ch, ch
jmp 0x1007ef99