Function at 0x1014e3d8
Capabilities:
Inspect section memory permissions

Disassembly:
and eax, 0xffffff
mov ecx, dword [ebp - 8]
shr ecx, 4
sub eax, ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x2c]
jbe 0x10122f08
cmp dword [ebp - 0x18], 1
jmp 0x1014dc80
and eax, 0xffffff00
or eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
shr eax, 8
and eax, 0xffffff
shl eax, 4
mov ecx, dword [ebp + 8]
add ecx, 0xc
jmp 0x10166870
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov dword [edx + 8], eax
jmp 0x101638b0
cmp dword [ebp - 0x20], 0
je 0x101638b0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
shr edx, 8
jmp 0x1013b698
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
and edx, 0xff
or edx, 0x10
and edx, 0xff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xffffff00
or ecx, edx
jmp 0x1012edd0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 8]
jne 0x101211de
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
shr edx, 8
and edx, 0xffffff
je 0x1015945c
jmp 0x10159440
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
and ecx, 0xffffff
shl ecx, 8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
and eax, 0xff
or eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
jmp 0x10125b68
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x10125605
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14]
jmp 0x10133b28
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
and eax, 0xff
and eax, 0x10
je 0x10143442
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
and edx, 0xffffff00
or edx, 0x11
jmp 0x10143438
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
and eax, 0xff
and eax, 0x10
je 0x10149392
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
and edx, 0xffffff00
or edx, 0x11
jmp 0x10149388
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
and eax, 0xffffff
shl eax, 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
and edx, 0xff
or edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x10163e90
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x10120a0c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xff
or ecx, 0x20
and ecx, 0xff
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
jmp 0x10120a00
and ecx, 0xffffff00
or ecx, 0x21
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
jmp 0x1012ab45
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
and ecx, 0xffffff00
or ecx, 1
jmp 0x1012ab40
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
and edx, 0xffffff00
or edx, 2
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
and edx, 0xff
or edx, 0x10
jmp 0x101602e0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
and ecx, 0xffffff
shl ecx, 8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
and eax, 0xff
or eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
jmp 0x10129920
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 8]
jne 0x10133b3e
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx + 8], eax
jmp 0x10120a0c
cmp dword [ebp - 0x20], 0
je 0x10120a0c
mov ecx, dword [ebp - 0x10]
jmp 0x1015f7c8
and ecx, 0xffffff00
or ecx, 0x21
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
jmp 0x10159aad
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
and ecx, 0xffffff00
or ecx, 1
jmp 0x10159aa8
and edx, 0xff
or edx, 0x20
and edx, 0xff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xffffff00
or ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x101255f0
and edx, 0x10
je 0x1013739c
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xff
and ecx, 0x20
je 0x1013a0bf
jmp 0x1013a0b8
jne 0x10120a0c
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
and eax, 0xff
and eax, 0x20
jne 0x10120a0c
cmp dword [ebp - 0x18], 1
jne 0x1012edda
jmp 0x10121cc0
and ecx, 0xffffff
jbe 0x1013b5d0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
shr eax, 8
and eax, 0xffffff
shl eax, 4
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x101419b7
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x1c], 0
je 0x1013c6b0
mov dword [ebp - 0x2c], 2
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
shr eax, 8
jmp 0x10120848
and eax, 0xff
or eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xff
jmp 0x10142d08
mov dword [ebp - 0x1c], 0
jmp 0x101419b7
cmp dword [ebp - 0x1c], 0
je 0x1013a0bf
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
and edx, 0xff
jmp 0x10137390
and edx, 0xffffff
and edx, 0xffffff
shl edx, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
and ecx, 0xff
or ecx, edx
mov edx, dword [ebp - 0x20]
mov dword [edx], ecx
jmp 0x101638a0
les edx, [eax]
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x1013c9aa
invalid
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.1013c122
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x1013c721
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.1013c122
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x1013c6ee
call fcn.1013c1b1
push ebx
sbb al, 0xd5
aad 0x79
invalid
jle 0x1013c769
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x1013c9a0
add eax, esi
mov dword [ebp - 0x44], eax
inc ebp
mov esp, 0x75045839
or dword [ecx], edi
pop eax
or al, 0xf
test byte [ebx - 0x75000000], ah
js 0x1013c765
cmp dword [eax + 4], ebx
jne 0x1013c756
cmp dword [eax + 0xc], ebx
je 0x1013c7f9
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.1013c1b1
mov cl, 0x29
sti
dec esi
cmp dword [ebp + 0xc], ebx
jne 0x1013c785
push dword [ecx + 0x394efb29]
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x1013c9a0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x1013c799
mov dword [ebp + 0x10], edi
jmp 0x1013c79e
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.1013c1b1
push ebx
jp 0x1013c746
out dx, al
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x1013c7e7
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x1013c7c2
and eax, 0xffff
push eax
jmp 0x1013c7c6
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1013c176
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x1013c9a0
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x1013c7a7
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x1013c748
call fcn.1013c1b1
push edi
pushfd
sbb ecx, dword [0xa0878b]
add byte [eax], al
cmp eax, ebx
je 0x1013c865
add eax, esi
cmp dword [eax], ebx
je 0x1013c865
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1013c860
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x1013c84a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1013c852
cmp edx, ebx
jne 0x1013c9a0
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1013c821
add eax, dword [eax + 4]
jmp 0x1013c80e
mov dword [ebp + 0xc], ebx
jmp 0x1013c870
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1013c888
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1013c8a6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1013c904
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1013c8eb
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1013c8f4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1013c8fe
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1013c8e0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1013c86a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1013c951
dec eax
je 0x1013c948
sub eax, 3
je 0x1013c93f
mov dword [ebp - 4], 0x40
jmp 0x1013c96e
mov dword [ebp - 4], 4
jmp 0x1013c954
mov dword [ebp - 4], 0x20
jmp 0x1013c954
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1013c9a0
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1013c920
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1013c1b1
xor eax, 0xffd888b8
jne 0x1013c9ab
push 1
push esi
call edi
mov eax, esi
jmp 0x1013c9ac
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
shr ecx, 8
and ecx, 0xffffff
jbe 0x10166243
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
shr eax, 8
jmp 0x10166230
cmp dword [ebp - 0x14], 0
je 0x1014123d
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0x19181716
je 0x1014e018
mov edx, dword [ebp + 0x10]
push edx
push 1
call fcn.1014c1f0
add esp, 8
jmp 0x1014e018
jne 0x1013a0bf
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x1013b5dc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
shr ecx, 8
jmp 0x1014e810
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
shr eax, 4
and eax, 0xffffff
shl eax, 8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
and edx, 0xff
or edx, eax
jmp 0x10145558
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x10159aad
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
and edx, 0xff
and edx, 0x20
je 0x1013430b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x101342f8
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
and edx, 0xffffff00
or edx, 2
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
jmp 0x10136eb8
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1012a528
add esp, 0xc
cmp eax, 1
jne 0x1016624f
nop
jmp 0x1013fbf8
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x1012ab45
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
and edx, 0xff
and edx, 0x20
je 0x101306bb
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
jmp 0x101306a8
mov eax, dword [ebp - 8]
shr eax, 4
and eax, 0xffffff
shl eax, 8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
and edx, 0xff
or edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
jmp 0x10131c10
jne 0x101602fd
mov eax, dword [ebp - 0x24]
shl eax, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
shr edx, 8
and edx, 0xffffff
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
jmp 0x101339e8
cmp dword [ebp - 0x14], 0
je 0x1013c6b0
cmp dword [ebp + 8], 0
jbe 0x1013c6b0
mov eax, dword [ebp + 8]
add eax, 0xc
xor edx, edx
mov ecx, 0x10
div ecx
jmp 0x101670e0
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
jmp 0x10158090
and ecx, 0xffffff
shl ecx, 4
cmp ecx, dword [ebp - 8]
jae 0x1013b5dc
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
shr ecx, 8
jmp 0x10137f70
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
nop
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x10141228
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
shr ecx, 8
and ecx, 0xffffff
shl ecx, 4
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
jmp 0x101211d0
mov dword [ebp - 0x30], 0
jmp 0x101211d0
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
shr ecx, 8
and ecx, 0xffffff
and ecx, 0xffffff
shl ecx, 8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
jmp 0x1013b120
sub ecx, dword [ebp - 0x14]
sar ecx, 4
and ecx, 0xffffff
shl ecx, 8
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
and eax, 0xff
or eax, ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x10120a0c
and edx, 0xff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xffffff00
or ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x101255f0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 8]
jmp 0x10125410
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xff
and ecx, 0x10
jmp 0x10137c28
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x1014c358
and eax, 0xffffff
shl eax, 4
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x101475b3
mov dword [ebp - 0x1c], 0
jmp 0x101475b3
cmp dword [ebp - 0x1c], 0
jmp 0x101419a8
sub eax, ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
and ecx, 0xffffff00
or ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 4], ecx
jmp 0x1013c6b0
mov eax, 0x10
sub eax, edx
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xc]
mov dword [ebp - 8], edx
call fcn.10137e80
nop
and eax, 0xffffffff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
jmp 0x101475b0