Function at 0x100b03b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b6a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10247db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.100ad4b0
movzx ecx, al
test ecx, ecx
jne 0x100b03f2
xor al, al
jmp 0x100b05d1
push 0
lea edx, [ebp - 0x20]
push edx
push 0x10
mov eax, dword [ebp - 0x1c]
add eax, 0x14c
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xd8
call fcn.100a2e90
mov dword [ebp - 4], 0
jmp 0x100b0430
lea ecx, [ebp - 0x38]
call fcn.100a2ca0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xd8
call fcn.100a2e60
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.100a2ce0
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x44]
call fcn.10051230
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100b04a3
lea ecx, [ebp - 0x38]
call fcn.100a2cc0
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.100acb90
cmp eax, 4
je 0x100b0480
jmp 0x100b0428
mov ecx, dword [ebp - 0x24]
call fcn.100af9d0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x100b04a1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [edx + ecx*4 + 0x13c], eax
jmp 0x100b0428
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10051230
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x18], 0
jle 0x100b0544
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0x10]
call fcn.100432b0
push eax
lea ecx, [ebp - 0xe]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
lea ecx, [ebp - 0x54]
call fcn.1005b5a0
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x54]
call fcn.10056950
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x15c], 0
je 0x100b053c
push 0xfc
push 0x102058b0
push 0x10205890
push 0x10205924
call fcn.100a4d50
add esp, 0x10
lea ecx, [ebp - 0x54]
call fcn.10056a30
push 0
lea ecx, [ebp - 0x20]
push ecx
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x18], 0
jle 0x100b05cf
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x11]
call fcn.100432b0
push eax
lea ecx, [ebp - 0xf]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
lea ecx, [ebp - 0x64]
call fcn.1005b5a0
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x64]
call fcn.10056950
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x160], 0
je 0x100b05c7
push 0x105
push 0x10205938
push 0x10205918
push 0x1020589c
call fcn.100a4d50
add esp, 0x10
lea ecx, [ebp - 0x64]
call fcn.10056a30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4