Function at 0x1000b6f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db912
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100ff008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x10103149
call fcn.100d96c4
push 0x10100e80
push 0x40
call fcn.100d872d
mov ebx, eax
add esp, 8
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x1000b762
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0x20
push 0x100e19f4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.10004530
mov dword [esi + 0x18], 0
jmp 0x1000b990
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 0x1000b7a5
mov byte [ebp + 0xb], 0
push 0x100e19f4
jmp 0x1000b7ac
push dword [ebp - 0x10]
mov byte [ebp + 0xb], 1
xor eax, eax
mov word [esi], ax
call fcn.10004530
push dword [ebp - 0x10]
call fcn.100d8373
add esp, 4
cmp byte [ebp + 0xb], 0
je 0x1000b756
push 0x128
call fcn.100d8378
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.1000b4a0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1000b986
push edi
push 1
push 4
push esi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
cmp dword [esi], 0x62647634
jne 0x1000b978
push edi
push 1
lea eax, [esi + 4]
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 8]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0xa]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0xc]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0xe]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0x10]
push 0x80
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0x90]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0x92]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0x94]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0x96]
push 2
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0x98]
push 0x80
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0x118]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
push edi
push eax
lea eax, [esi + 0x120]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1000b978
mov eax, dword [esi + 4]
cmp eax, 0x128
jbe 0x1000b95c
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.100d83a8
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