Function at 0x1007ea80
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x22c
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
mov ebx, dword [esp + 0x240]
push ebp
mov ebp, dword [esp + 0x238]
push esi
mov esi, dword [esp + 0x240]
push edi
mov edi, dword [esp + 0x248]
push 0x1ff
lea eax, [esp + 0x3d]
push 0
push eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x44], 0
call fcn.10112240
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x250], eax
mov dword [esp + 0x10], eax
jne 0x1007ed53
push esi
lea ecx, [esp + 0x3c]
push ecx
push ebp
call fcn.10057990
push ebx
push edi
lea edx, [esp + 0x4c]
push edx
push ebp
call fcn.10069240
add esp, 0x1c
test eax, eax
jne 0x1007ed2d
cmp dword [esp + 0x254], eax
jne 0x1007ec05
mov byte [esp + 0x16], al
push 0x40
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x20], 0x72
mov byte [esp + 0x21], 0x62
call fcn.10112c80
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1007ebac
mov al, 0xce
lea edx, [esp + 0x38]
mov byte [esp + 0x1c], al
mov byte [esp + 0x24], al
push edx
lea eax, [esp + 0x20]
push eax
push ebp
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 + 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], 0
call fcn.10051ef0
add esp, 0xc
xor eax, eax
jmp 0x1007ed32
push 2
push 0
push edi
call fcn.10112bfb
push edi
call fcn.10112b06
push 0
push 0
push edi
mov dword [esp + 0x2c], eax
call fcn.10112bfb
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.10111579
add esp, 0x20
mov esi, eax
test esi, esi
push edi
jne 0x1007ebed
call fcn.1011263b
add esp, 4
xor eax, eax
jmp 0x1007ed32
mov edx, dword [esp + 0x14]
push edx
push 1
push esi
call fcn.10112953
push edi
call fcn.1011263b
add esp, 0x14
jmp 0x1007ec2b
mov eax, dword [ebx]
push eax
call fcn.10111579
mov esi, eax
add esp, 4
test esi, esi
je 0x1007eba5
mov ecx, dword [ebx]
mov edx, dword [edi]
push ecx
push edx
push esi
call fcn.101132a0
mov eax, dword [ebx]
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
push ecx
push esi
call fcn.100562a0
add esp, 8
test eax, eax
je 0x1007ed4b
mov eax, dword [esp + 0x10]
lea edx, [ebp + 0x260f]
push edx
push eax
push esi
call fcn.10056080
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x1007ecd0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
mov al, 0xdc
push edx
push ebp
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], 0
call fcn.10051ef0
push esi
call fcn.1011163c
add esp, 0x10
xor eax, eax
jmp 0x1007ed32
push eax
call fcn.10111579
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x30], edi
jne 0x1007ecf0
push esi
call fcn.1011163c
add esp, 4
xor eax, eax
jmp 0x1007ed32
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esi + 8]
push ecx
push edi
call fcn.101132a0
push esi
call fcn.1011163c
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.1007e6f0
add esp, 0xc
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [edx], edi
mov dword [ebx], eax
mov eax, 1
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10111b17
add esp, 0x22c
ret
mov edi, esi
mov dword [esp + 0x30], edi
jmp 0x1007ed08
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov byte [esp + 0x39], al
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
mov byte [esp + 0x40], 0x25
mov byte [esp + 0x41], 0x64
mov byte [esp + 0x42], 0x2c
mov byte [esp + 0x43], 0x25
mov byte [esp + 0x44], 0x64
call fcn.10113843
mov edx, dword [esp + 0x24]
add esp, 0x10
push 4
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1007ee1b
mov al, 0xb5
mov cl, 0xd6
mov byte [esp + 0x29], al
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x1c], cl
mov byte [esp + 0x2d], cl
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
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 + 0x36], 0xc4
mov byte [esp + 0x38], 0xd8
mov byte [esp + 0x3a], 0xb7
mov byte [esp + 0x3b], 0
call fcn.10051ef0
add esp, 0xc
xor eax, eax
jmp 0x1007ed32
mov edi, dword [esp + 0x14]
jmp 0x1007ed21