Function at 0x100b0300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0958
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1013d0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x100b035c
mov edx, dword [ebx + 0x2c]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x100b035c
lea eax, [esi - 1]
mov dword [edx], eax
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x100b0513
cmp dword [ebx + 0x4c], 0
jne 0x100b036a
or eax, 0xffffffff
jmp 0x100b0513
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x100b0388
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
cmp dword [ebx + 0x38], 0
jne 0x100b03af
push dword [ebx + 0x4c]
lea eax, [ebp - 0x2a]
push 1
push 1
push eax
call fcn.100c7c9e
add esp, 0x10
cmp eax, 1
jne 0x100b0362
movzx eax, byte [ebp - 0x2a]
jmp 0x100b0513
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push dword [ebx + 0x4c]
mov dword [ebp - 4], 0
call fcn.100c795d
add esp, 4
cmp eax, 0xffffffff
je 0x100b048d
lea ecx, [ebx + 0x40]
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1005cec0
mov ebx, dword [ebx + 0x38]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [ebx]
add ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x3c]
cmovae edi, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29]
push eax
lea eax, [ebp - 0x30]
push eax
push ecx
push edi
push dword [ebp - 0x38]
mov ecx, esi
call dword [0x100f4524]
mov ecx, ebx
call esi
test eax, eax
js 0x100b048d
cmp eax, 1
jg 0x100b04f2
lea eax, [ebp - 0x29]
cmp dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
jne 0x100b04b8
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
sub edi, eax
mov eax, dword [ebp - 0x18]
cmp eax, edi
cmovb edi, eax
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
sub eax, edi
mov dword [ebp - 0x18], eax
inc eax
push eax
lea eax, [edx + edi]
push eax
push edx
call fcn.10007040
mov ebx, dword [ebp - 0x34]
push dword [ebx + 0x4c]
call fcn.100c795d
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100b03e2
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100b0511
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b0507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b052f
jmp 0x100b0507
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
sub esi, ecx
add esi, eax
test esi, esi
jle 0x100b04ec
mov edi, dword [ebp - 0x34]
push dword [edi + 0x4c]
movsx eax, byte [esi + ecx - 1]
dec esi
push eax
call fcn.100c858b
add esp, 8
test esi, esi
jle 0x100b04ec
mov ecx, dword [ebp - 0x30]
jmp 0x100b04d1
movzx esi, byte [ebp - 0x29]
jmp 0x100b0490
cmp eax, 3
jne 0x100b048d
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
movsx esi, byte [eax]
jmp 0x100b0490
push edx
push ecx
call fcn.10005291
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100055f3
mov esp, ebp
pop ebp
ret
call fcn.1000e987
int3