Function at 0x100b8300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.100d4640
mov eax, dword [0x1015d3c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.100b2350
push ebx
lea esi, [eax - 1]
mov dword [ebp - 0x1020], esi
call fcn.100e6a8a
add esp, 8
test esi, esi
jne 0x100b8359
push 1
push ebx
push edi
call fcn.100b8a40
mov esi, eax
add esp, 0xc
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x101c], eax
jmp 0x100b8504
push str.too_many_arguments
lea eax, [esi + 0x14]
push eax
push edi
call fcn.100b3c30
mov esi, dword [ebp + 0x10]
mov eax, 1
mov ecx, dword [ebp - 0x1020]
add esp, 0xc
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x101c], esi
dec ecx
mov dword [ebp - 0x1020], ecx
test eax, eax
je 0x100b84fe
push esi
push edi
call fcn.100b33f0
add esp, 8
cmp eax, 3
jne 0x100b8435
push esi
push edi
call fcn.100b3a70
mov esi, eax
add esp, 8
test esi, esi
jne 0x100b83e7
push ebx
call fcn.100e6060
mov esi, eax
push ebx
push esi
call fcn.100e6588
push 0x10113eed
push edi
call fcn.100b2910
xor eax, eax
add esp, 0x14
cmp esi, 0xffffffff
mov esi, dword [ebp - 0x101c]
setne al
jmp 0x100b84e3
lea eax, [ebp - 0x1014]
push eax
push edi
call fcn.100b39e0
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.100b4620
push ebx
push esi
push 1
push eax
call fcn.100db191
mov esi, eax
lea eax, [ebp - 0x1014]
add dword [ebp - 0x100c], esi
push eax
call fcn.100b47a0
xor eax, eax
add esp, 0x24
cmp eax, esi
mov esi, dword [ebp - 0x101c]
sbb eax, eax
neg eax
jmp 0x100b84e3
push 0
push esi
push edi
call fcn.100b3af0
add esp, 0xc
mov cl, byte [eax]
cmp cl, 0x2a
jne 0x100b844b
mov cl, byte [eax + 1]
movsx eax, cl
add eax, 0xffffffb4
cmp eax, 0x22
ja case.0x100b8461.77
movzx eax, byte [eax + 0x100b8594]
jmp dword [eax*4 + 0x100b8580]
push ebx
push edi
call fcn.100b8b70
add esp, 8
jmp 0x100b84e3
push 1
push ebx
push edi
call fcn.100b8a40
add esp, 0xc
jmp 0x100b84e3
push 0
push ebx
push edi
call fcn.100b8a40
add esp, 0xc
jmp 0x100b84e3
lea eax, [ebp - 0x1014]
push eax
push edi
call fcn.100b39e0
add esp, 8
lea eax, [ebp - 0x1014]
push 0x1000
push eax
call fcn.100b4620
push ebx
push 0x1000
push 1
push eax
call fcn.100db191
add dword [ebp - 0x100c], eax
add esp, 0x18
cmp eax, 0x1000
je 0x100b84a0
lea eax, [ebp - 0x1014]
push eax
call fcn.100b47a0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x1020]
inc esi
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x101c], esi
test ecx, ecx
jne 0x100b8385
mov esi, dword [ebp - 0x1018]
push ebx
call fcn.100e66d7
add esp, 4
test eax, eax
je 0x100b854f
push 0
push 0
push edi
call fcn.100b3ed0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d37d3
mov esp, ebp
pop ebp
ret
push str.invalid_format
push esi
push edi
call fcn.100b38d0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d37d3
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100b8564
push 0xfffffffffffffffe
push edi
call fcn.100b2fe0
push edi
call fcn.100b28d0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x101c]
xor ecx, ebp
sub eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
call fcn.100d37d3
mov esp, ebp
pop ebp
ret