Function at 0x5ea080
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
test esi, esi
je 0x5ea4aa
test edi, edi
je 0x5ea4aa
mov edx, dword [ebp + 0x14]
mov bl, byte [esi]
movzx ecx, bl
cmp ecx, 0x9d
jg 0x5ea0fb
lea eax, [ecx - 0x29]
cmp eax, 0xe
ja case.default.0x5ea0d6
xor ecx, 1
mov dword [ebp - 0x20], ecx
jmp dword [eax*4 + 0x720dbc]
mov ecx, esi
call fcn.005edc80
cmp eax, esi
je 0x5ea378
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
mov ebx, dword [ebp + 8]
jmp 0x5ea455
cmp ecx, 0x9e
je case.0x5ea0d6.43
mov eax, ecx
cmp ecx, 0xa2
jne case.0x5ea0d6.44
mov edi, dword [ebp + 0x10]
mov al, byte [esi + 2]
mov edx, dword [esi + 0x10]
xor ecx, ecx
test edx, edx
je 0x5ea424
test byte [edx + 5], 0x20
je 0x5ea422
mov edx, dword [edx + 0xc]
jmp 0x5ea120
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp + 8]
mov ecx, ebx
push eax
call fcn.005e7ed0
add esp, 4
mov edx, dword [edi]
mov ecx, 0x73ef90
cmp byte [edx + 0x57], 0
jne 0x5ea167
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x6c]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
add ecx, 0xffffffec
cmp dword [ecx + 0xc], eax
jne 0x5ea175
cmp byte [ecx], 0x69
jne 0x5ea175
or byte [ecx + 2], 0x80
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x5ea354
lea edx, [ecx + 1]
mov dword [edi + 0x6c], edx
mov esi, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, dword [ebp - 0x20]
mov byte [esi + ecx*4], dl
mov word [esi + ecx*4 + 2], 0
mov dword [esi + ecx*4 + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + ecx*4 + 8], eax
xor eax, eax
mov dword [esi + ecx*4 + 0xc], eax
mov dword [esi + ecx*4 + 0x10], eax
mov byte [esi + ecx*4 + 1], 0
jmp 0x5ea46e
xor eax, eax
cmp bl, 0x2b
sete al
xor eax, 0x33
mov dword [ebp - 0x20], eax
mov edx, 0x80
mov dword [ebp - 0x1c], edx
mov edx, dword [esi + 0xc]
mov al, byte [edx]
cmp al, 0xa3
jne 0x5ea1db
mov al, byte [edx + 2]
cmp al, 0x80
mov ebx, dword [ebp + 8]
je 0x5ea1f1
movzx eax, al
cmp eax, 0xa4
jne 0x5ea1fe
lea eax, [edx + 0x14]
jmp 0x5ea1f7
mov eax, dword [edx + 0x14]
add eax, 0x1c
mov eax, dword [eax]
cmp dword [eax], 1
jg 0x5ea24d
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.005e7ed0
add esp, 4
mov edi, eax
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.005e7ed0
add esp, 4
mov ebx, dword [esi + 4]
mov edx, dword [esi + 0xc]
shr ebx, 0xa
and ebx, 1
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
push eax
push edi
push dword [ebp - 0x20]
push dword [esi + 0x10]
call fcn.005e7ff0
add esp, 0x1c
jmp 0x5ea46e
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 0x20000001
cmp ecx, 0x20000000
jne 0x5ea29c
mov eax, dword [edi + 0x6c]
cmp dword [edi + 0x70], eax
jle 0x5ea36c
lea ecx, [eax + 1]
mov dword [edi + 0x6c], ecx
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4], 9
xor edx, edx
mov dword [ecx + eax*4 + 4], edx
mov esi, dword [ebp + 0x10]
mov dword [ecx + eax*4 + 8], esi
mov dword [ecx + eax*4 + 0xc], edx
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x5ea46b
and eax, 0x10000001
cmp eax, 0x10000000
mov ebx, dword [ebp + 8]
je 0x5ea46e
lea eax, [ebp - 0x14]
mov ecx, ebx
mov dword [ebp - 0x1c], edx
mov edx, esi
push eax
call fcn.005e7ed0
add esp, 4
xor ebx, ebx
cmp dword [ebp - 0x1c], 0
setne bl
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x5ea3a0
lea edx, [ecx + 1]
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4], 0x12
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edx + ecx*4 + 8], eax
mov dword [edx + ecx*4 + 0xc], ebx
mov dword [edx + ecx*4 + 0x10], 0
jmp 0x5ea46b
cmp ecx, 0x10
jne case.0x5ea0d6.44
push edx
push dword [ebp + 0x10]
push dword [esi + 0xc]
mov ebx, dword [ebp + 8]
jmp 0x5ea44a
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov edi, edx
mov edx, esi
push edi
push fcn.005ea080
push dword [ebp + 0x10]
call fcn.005e9cc0
jmp 0x5ea364
test edx, edx
je 0x5ea3b9
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp + 0x10]
push eax
push eax
call fcn.005e8dc0
add esp, 8
jmp 0x5ea46e
mov ecx, edi
mov edx, dword [ebp - 0x20]
push 0
push dword [ebp + 0x10]
push eax
call fcn.005b2e20
add esp, 0xc
jmp 0x5ea46e
xor eax, eax
mov ecx, edi
mov edx, 9
push eax
jmp 0x5ea3a8
cmp bl, 0x2a
mov edx, dword [ebp + 0x14]
jne 0x5ea3d5
push edx
mov edi, dword [ebp + 0x10]
push edi
push dword [esi + 0xc]
mov ebx, dword [ebp + 8]
push ebx
call fcn.005ea080
add esp, 0x10
push dword [ebp + 0x14]
push edi
push dword [esi + 0x10]
jmp 0x5ea455
mov ecx, edi
mov edx, 0x12
push ebx
push dword [ebp + 0x10]
push eax
call fcn.005b2e20
add esp, 0xc
jmp 0x5ea46b
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x38]
lea eax, [ebx - 1]
mov dword [ecx + 0x38], eax
mov edx, esi
push eax
push dword [ebp + 0x10]
call fcn.005e8dc0
add esp, 8
jmp 0x5ea40a
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x38]
lea eax, [ebx - 1]
mov dword [ecx + 0x38], eax
mov ecx, edx
xor ecx, 0x10
push ecx
push eax
push dword [esi + 0xc]
push dword [ebp + 8]
call fcn.005edd10
add esp, 0x10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esi + 0x10]
push dword [ebp + 8]
call fcn.005ea080
add esp, 0x10
mov ecx, dword [edi + 0xc]
neg ebx
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x3c]
js 0x5ea460
mov eax, dword [edi + 0x6c]
mov ecx, dword [ecx + 0x40]
mov dword [ecx + ebx*4], eax
jmp 0x5ea46b
mov ecx, edx
mov ebx, dword [ebp + 8]
xor edx, edx
cmp al, 0x9e
setne dl
sete al
mov ecx, dword [ecx + 8]
cmp byte [ecx + 4], 0
setne cl
xor cl, al
shl edx, 4
mov eax, dword [esi + 0xc]
test cl, cl
je 0x5ea452
push edx
push edi
push eax
push ebx
call fcn.005edd10
jmp 0x5ea45b
push edx
push edi
push eax
push ebx
call fcn.005ea080
add esp, 0x10
jmp 0x5ea46e
mov edx, edi
push ebx
call fcn.005ed800
add esp, 4
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5ea48c
movzx ecx, byte [ebx + 0x13]
cmp ecx, 7
ja 0x5ea48c
mov edx, ecx
inc dl
mov byte [ebx + 0x13], dl
mov dword [ebx + ecx*4 + 0x94], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5ea4aa
movzx ecx, byte [ebx + 0x13]
cmp ecx, 7
ja 0x5ea4aa
mov edx, ecx
inc dl
mov byte [ebx + 0x13], dl
mov dword [ebx + ecx*4 + 0x94], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret