Function at 0x1000bc60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e01b2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10104008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x101080e9
call fcn.100de193
push 0x10105ef0
push 0x40
call fcn.100dcf2b
mov ebx, eax
add esp, 8
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x1000bcd2
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0x20
push 0x100e6b24
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.10004bc0
mov dword [esi + 0x18], 0
jmp 0x1000bf00
push 0x40
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp + 8]
push edi
push 1
push 0x40
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
call ebx
mov esi, dword [ebp + 0xc]
add esp, 0x1c
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x20
cmp eax, 1
je 0x1000bd15
mov byte [ebp + 0xb], 0
push 0x100e6b24
jmp 0x1000bd1c
push dword [ebp - 0x10]
mov byte [ebp + 0xb], 1
xor eax, eax
mov word [esi], ax
call fcn.10004bc0
push dword [ebp - 0x10]
call fcn.100dcb71
add esp, 4
cmp byte [ebp + 0xb], 0
je 0x1000bcc6
push 0x128
call fcn.100dcb76
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.1000ba10
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1000bef6
push edi
push 1
push 4
push esi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
cmp dword [esi], 0x62647634
jne 0x1000bee8
push edi
push 1
lea eax, [esi + 4]
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 8]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0xa]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0xc]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0xe]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0x10]
push 0x80
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0x90]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0x92]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0x94]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0x96]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0x98]
push 0x80
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0x118]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
push edi
push eax
lea eax, [esi + 0x120]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000bee8
mov eax, dword [esi + 4]
cmp eax, 0x128
jbe 0x1000becc
push 1
add eax, 0xfffffed8
push eax
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], esi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x128
push esi
call fcn.100dcba6
add esp, 8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8