Function at 0x100904b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [ebx + 0x48]
test byte [eax], 8
mov dword [esp + 4], eax
jne 0x100904cc
mov dword [ebx + 0x40], 0x6f
xor eax, eax
add esp, 8
ret
push esi
lea eax, [ebx + 0x1c]
push eax
mov esi, ebx
call fcn.100909a0
add esp, 4
test eax, eax
je 0x10090702
lea eax, [ebx + 0x20]
push eax
call fcn.100909a0
add esp, 4
test eax, eax
je 0x10090702
lea eax, [ebx + 0x24]
push eax
call fcn.100909a0
add esp, 4
test eax, eax
je 0x10090702
lea eax, [ebx + 0x28]
push eax
call fcn.100909a0
add esp, 4
test eax, eax
je 0x10090702
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx + 0x3c]
push edi
xor edi, edi
cmp eax, edi
je 0x1009053b
push 1
lea ecx, [esp + 0xc]
push ecx
push ebx
call eax
add esp, 0xc
jmp 0x10090550
mov edx, dword [ecx + 0x38]
push edx
push 1
lea eax, [esp + 0x10]
push 1
push eax
call fcn.100d174e
add esp, 0x10
mov esi, dword [ebx + 0x30]
cmp eax, 1
je 0x1009056f
mov dword [ebx + 0x40], 0x66
call fcn.10091040
mov dword [ebx + 0x30], edi
pop edi
xor eax, eax
pop esi
add esp, 8
ret
movzx eax, byte [esp + 8]
push ebp
mov ebp, eax
and ebp, 7
shr eax, 6
and eax, 1
inc ebp
mov dword [ebx + 0x2c], eax
cmp esi, edi
je 0x10090590
call fcn.10091040
mov dword [ebx + 0x30], edi
test byte [esp + 0xc], 0x80
je 0x1009062c
push edi
mov ecx, ebp
mov edi, 1
shl edi, cl
call fcn.10090fb0
add esp, 4
mov dword [ebx + 0x30], eax
test eax, eax
je 0x100906c8
xor edi, edi
cmp dword [eax], edi
jbe 0x1009062a
xor esi, esi
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x100905d9
push 3
lea edx, [esp + 0x10]
push edx
push ebx
call ecx
add esp, 0xc
jmp 0x100905ee
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.100d174e
add esp, 0x10
cmp eax, 3
jne 0x1009064d
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0xc]
movzx ecx, byte [esp + 0xc]
mov byte [esi + eax], cl
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0xc]
movzx ecx, byte [esp + 0xd]
mov byte [eax + esi + 1], cl
mov edx, dword [ebx + 0x30]
movzx ecx, byte [esp + 0xe]
mov eax, dword [edx + 0xc]
mov byte [eax + esi + 2], cl
mov edx, dword [ebx + 0x30]
inc edi
add esi, 3
cmp edi, dword [edx]
jb 0x100905c0
xor edi, edi
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x1009066c
mov ecx, dword [ebx + 0x18]
inc ecx
push eax
call fcn.10091140
add esp, 4
cmp eax, edi
je 0x100906c8
mov dword [ebx + 0x34], eax
jmp 0x1009067d
mov esi, dword [ebx + 0x30]
call fcn.10091040
pop ebp
pop edi
mov dword [ebx + 0x40], 0x66
mov dword [ebx + 0x30], 0
xor eax, eax
pop esi
add esp, 8
ret
push 0x24
call fcn.100cf978
add esp, 4
mov dword [ebx + 0x34], eax
cmp eax, edi
je 0x100906c8
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x1c]
lea eax, [eax + eax*8]
lea esi, [ecx + eax*4]
mov dword [esi], edx
mov eax, dword [ebx + 0x20]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x24]
mov dword [esi + 8], ecx
mov edx, dword [ebx + 0x28]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x30]
mov dword [esi + 0x14], ecx
mov eax, dword [ebx + 0x30]
cmp eax, edi
je 0x100906da
mov edx, dword [eax + 0xc]
mov edi, dword [eax]
push edx
call fcn.10090fb0
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
jne 0x100906d8
pop ebp
pop edi
mov dword [ebx + 0x40], 0x6d
xor eax, eax
pop esi
add esp, 8
ret
xor edi, edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, dword [ebx + 0x28]
imul eax, dword [ebx + 0x24]
inc dword [ebx + 0x18]
mov dword [ecx + 0x34], eax
mov eax, ebx
call fcn.10090ab0
pop ebp
pop edi
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret