Function at 0x100f4850
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [edi + 4], ebx
jne 0x100f47fc
cmp dword [edi + 0xc], ebx
je 0x100f48a6
mov esi, dword [edi + 0xc]
add esi, dword [ebp + 0xc]
push esi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x100f4822
push esi
call dword [ebp - 0xc8]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x100f4a48
call fcn.100f423d
cmp esp, dword [esp + edi*2 + 0x10478bc4]
mov ecx, dword [ebp + 0xc]
lea esi, [eax + ecx]
mov eax, dword [edi]
cmp eax, ebx
jne 0x100f483f
mov dword [ebp + 0x10], esi
jmp 0x100f4844
add eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x100f4898
jmp 0x100f4852
mov ecx, dword [ebp + 0xc]
dec ebp
or al, 3
enter 0xa9, 0
add byte [eax - 0xdaf78c], al
inc dword [eax]
add byte [eax - 0x15], dl
add al, 0x83
rol dword [edx], 0x51
add ecx, eax
test eax, 0x80000000
je 0x100f4863
and eax, 0xffff
push eax
jmp 0x100f4867
add ecx, 2
push ecx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.100f4202
add esp, 0xc
cmp esi, ebx
mov dword [esi], eax
je 0x100f4a48
add dword [ebp + 0x10], 4
add esi, 4
call fcn.100f423d
popfd
loopne 0x100f48d9
push ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
jne 0x100f484f
mov esi, dword [ebp - 0x88]
add edi, 0x14
jmp 0x100f47ee
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x100f48fc
add eax, dword [ebp + 0xc]
cmp dword [eax], ebx
je 0x100f48fc
lea edi, [eax + 8]
mov ecx, dword [eax + 4]
add ecx, eax
cmp edi, ecx
jae 0x100f48f7
movzx ecx, word [edi]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x100f48eb
mov edx, dword [ebp + 0xc]
and ecx, 0xfff
add ecx, dword [ebp + 0xc]
sub edx, dword [esi + 0x34]
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x100f48f3
cmp edx, ebx
jne 0x100f4a48
inc edi
inc edi
jmp 0x100f48ba
add eax, dword [eax + 4]
jmp 0x100f48b3
mov dword [ebp - 8], ebx
jmp 0x100f4907
mov esi, dword [ebp - 0x88]
mov ax, word [ebp - 8]
cmp ax, word [esi + 6]
jne 0x100f4920
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov esi, 0x60000000
jmp 0x100f4948
call fcn.100f423d
or esp, esi
sub dword [ecx + 0xf], ecx
mov bh, 0x45
clc
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*8 + 0x104]
mov edx, dword [esi + eax*8 + 0x108]
lea eax, [esi + eax*8 + 0xf8]
mov esi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp + 8], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp + 8]
ja 0x100f499e
mov edx, esi
mov edi, esi
and edx, 0x20000000
and edi, 0x40000000
and esi, 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100f4987
or byte [eax + ecx], 1
cmp edi, ebx
je 0x100f498f
or byte [eax + ecx], 2
cmp esi, ebx
je 0x100f4998
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp + 8]
jbe 0x100f497c
inc dword [ebp - 8]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp - 8]
cmp cx, word [eax + 6]
jbe 0x100f4901
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100f49eb
dec eax
je 0x100f49e2
sub eax, 3
je 0x100f49d9
mov dword [ebp - 4], 0x40
jmp 0x100f49ee
mov dword [ebp - 4], 4
jmp 0x100f49ee
mov dword [ebp - 4], 0x20
jmp 0x100f49ee
mov dword [ebp - 4], ecx
call fcn.100f423d
cmp ah, byte [ecx]
stc
call 0x510bc77e
je 0x100f4a15
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esi
call dword [ebp - 0xc4]
test eax, eax
je 0x100f4a48
add esi, dword [ebp - 0xac]
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100f49ba
mov eax, dword [ebp - 0x88]
mov esi, dword [eax + 0x28]
add esi, dword [ebp + 0xc]
call fcn.100f423d
lea esp, [ebx + 0x7b]
jno 0x100f4a39
push dword [ebp + 0x14]
jne 0x100f4a50
push 1
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 0xc]
jmp 0x100f4a56
push 0x8000
push ebx
push dword [ebp + 0xc]
call dword [ebp - 0xc]
xor eax, eax
or al, 0xff
push ebp
hlt
pop edi
pop esi
pop ebx
leave
ret