Function at 0x553c10
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 0x48]
mov dword [ebp - 4], 0
mov edi, dword [esi + 8]
movsx eax, byte [edi]
xor ecx, ecx
lea edx, [eax + eax*2 + 0x57d49a]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [esi + 0x48], dl
movsx edx, byte [eax + eax*2 + 0x57d499]
movsx eax, byte [eax + eax*2 + 0x57d498]
dec eax
mov dword [ebp + 8], edx
cmp eax, 9
ja case.default.0x553c5d
jmp dword [eax*4 + 0x5542ac]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x38], ecx
mov word [esi + 0x40], cx
mov word [esi + 0x42], cx
mov eax, dword [edi]
test ah, 0xf
je case.0x553cbc.20
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xc], 1
test eax, 0x10000000
jne 0x553c9f
or eax, 0x10000000
test eax, 0x20000000
mov dword [esi + 0x4c], eax
jne case.0x553cbc.19
jmp case.0x553cbc.20
test eax, 0x20000000
je case.0x553cbc.20
mov eax, dword [ebp - 8]
movsx eax, byte [eax]
add eax, 0xffffffed
cmp eax, 0x20
ja case.0x553cbc.20
xor edx, edx
mov dl, byte [eax + 0x5542dc]
jmp dword [edx*4 + 0x5542d4]
mov eax, dword [edi + 4]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 8]
xor eax, eax
mov dword [esi + 0x38], edx
mov al, byte [edi + 3]
xor edx, edx
mov word [esi + 0x40], ax
mov eax, dword [ebp - 0xc]
mov dl, byte [edi + 2]
cmp eax, ecx
mov word [esi + 0x42], dx
je 0x553f04
mov eax, dword [edi]
mov dword [ebp + 8], 0x1c
test ah, 1
je 0x553e1d
xor ecx, ecx
xor edx, edx
mov cl, byte [edi + 0xf]
mov dl, byte [edi + 0xe]
xor eax, eax
push ecx
mov ax, word [edi + 0xc]
mov ecx, dword [ebx + 0x58]
push edx
push eax
push ecx
call fcn.00554380
mov edx, dword [ebp - 8]
mov dword [esi + 0xc], eax
add esp, 0x10
mov cl, byte [edx]
cmp cl, 0xb
je 0x553e05
cmp cl, 0xd
je 0x553e05
cmp cl, 0xe
je 0x553e05
cmp eax, 1
jl 0x553d50
cmp eax, 0x7fffffff
jle 0x553e1d
test dword [esi + 0x4c], 0x40000000
je 0x55425f
jmp 0x553e1d
mov dword [esi + 0xc], ecx
mov dword [esi + 0x38], ecx
mov word [esi + 0x40], cx
mov word [esi + 0x42], cx
jmp 0x553f04
xor eax, eax
mov ax, word [edi + 2]
mov dword [esi + 0x38], ecx
mov dword [esi + 0xc], eax
mov word [esi + 0x40], cx
mov word [esi + 0x42], cx
jmp 0x553f04
xor edx, edx
mov dx, word [edi + 2]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x38], edx
mov word [esi + 0x40], cx
mov word [esi + 0x42], cx
jmp 0x553f04
xor eax, eax
xor edx, edx
mov al, byte [edi + 1]
mov dword [esi + 0xc], eax
mov dx, word [edi + 2]
mov dword [esi + 0x38], edx
mov word [esi + 0x40], cx
mov word [esi + 0x42], cx
jmp 0x553f04
xor eax, eax
xor edx, edx
mov al, byte [edi + 1]
mov dword [esi + 0xc], eax
mov dl, byte [edi + 2]
mov dword [esi + 0x38], edx
movzx ax, byte [edi + 3]
mov word [esi + 0x40], ax
mov word [esi + 0x42], cx
jmp 0x553f04
push 0x520
push 0x588ac8
push 2
push 0xc0000008
call fcn.005469f0
add esp, 0x10
jmp 0x553f04
test eax, eax
jl 0x553e10
cmp eax, 0x7fff
jle 0x553e1d
test dword [esi + 0x4c], 0x40000000
je 0x55425f
mov eax, dword [edi]
test ah, 2
je 0x553e80
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 0x13]
mov cl, byte [edi + 0x12]
xor edx, edx
push eax
mov dx, word [edi + 0x10]
mov eax, dword [ebx + 0x58]
push ecx
push edx
push eax
call fcn.00554380
mov ecx, dword [ebp - 8]
mov dword [esi + 0x38], eax
add esp, 0x10
cmp byte [ecx], 0xa
jne 0x553e68
cmp al, 0x80
mov byte [esi + 0x44], al
jl 0x553e59
cmp al, 0x7f
jle 0x553e80
test dword [esi + 0x4c], 0x40000000
je 0x55425f
jmp 0x553e80
test eax, eax
jl 0x553e73
cmp eax, 0x7fff
jle 0x553e80
test dword [esi + 0x4c], 0x40000000
je 0x55425f
mov eax, dword [edi]
test ah, 4
je 0x553ec2
xor edx, edx
xor eax, eax
mov dl, byte [edi + 0x17]
mov al, byte [edi + 0x16]
xor ecx, ecx
push edx
mov cx, word [edi + 0x14]
mov edx, dword [ebx + 0x58]
push eax
push ecx
push edx
call fcn.00554380
add esp, 0x10
mov word [esi + 0x40], ax
test ax, ax
jl 0x553eb5
cmp ax, 0x7fff
jle 0x553ec2
test dword [esi + 0x4c], 0x40000000
je 0x55425f
mov eax, dword [edi]
test ah, 8
je 0x553f04
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 0x1b]
mov cl, byte [edi + 0x1a]
xor edx, edx
push eax
mov dx, word [edi + 0x18]
mov eax, dword [ebx + 0x58]
push ecx
push edx
push eax
call fcn.00554380
add esp, 0x10
mov word [esi + 0x42], ax
test ax, ax
jl 0x553ef7
cmp ax, 0xff
jle 0x553f04
test dword [esi + 0x4c], 0x40000000
je 0x55425f
mov ecx, dword [ebp - 8]
mov al, byte [ecx]
movsx ecx, al
cmp ecx, 0x33
ja case.0x553f1d.0
xor edx, edx
mov dl, byte [ecx + 0x554348]
jmp dword [edx*4 + 0x554300]
or dword [esi + 0x4c], 0x200000
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 4]
add ecx, edx
test eax, eax
mov dword [esi + 8], ecx
mov edi, ecx
je 0x553c29
jmp 0x554293
mov eax, dword [esi + 0x4c]
or eax, 0x200000
mov dword [esi + 0x4c], eax
mov eax, 1
mov word [esi + 0x40], ax
mov dword [ebp - 4], eax
jmp 0x553f32
mov ecx, dword [esi + 0x38]
mov eax, ecx
and eax, 0x80000003
jns 0x553f79
dec eax
or eax, 0xfffffffc
inc eax
je 0x553f84
mov edx, 4
sub edx, eax
mov eax, edx
add ecx, eax
mov eax, dword [ebp + 8]
add eax, ecx
add edi, 4
mov dword [ebp + 8], eax
mov dword [esi + 0x3c], edi
jmp case.0x553f1d.14
mov eax, dword [esi + 0x4c]
mov edx, dword [ebp + 8]
and eax, 0xffdfffff
mov word [esi + 0x46], 0
mov dword [esi + 0x4c], eax
mov ecx, eax
mov eax, dword [esi + 8]
mov dword [esi + 4], edi
mov eax, dword [eax + edx]
and eax, 0xff
cmp byte [eax + eax*2 + 0x57d49a], 2
jne 0x553f32
or ecx, 0x80000000
mov dword [esi + 0x4c], ecx
jmp 0x553f32
movsx eax, word [esi + 0x46]
mov ecx, dword [esi + 4]
mov byte [esi + 0x45], 0
add eax, ecx
mov dword [ebp + 8], 0
mov dword [esi + 8], eax
jmp case.0x553f1d.14
mov dl, byte [esi + 0x45]
sub di, word [esi + 4]
inc dl
mov al, dl
mov byte [esi + 0x45], dl
cmp al, 1
jne 0x554008
mov word [esi + 0x46], di
mov ecx, dword [ebp + 8]
movsx edx, al
add ecx, edi
mov word [esi + edx*2 + 0x26], cx
mov cx, word [esi + 0xc]
movsx eax, byte [esi + 0x45]
mov word [esi + eax*2 + 0x14], cx
jmp 0x553f32
mov al, byte [esi + 0x45]
movsx edx, al
lea ecx, [esi + edx*2 + 0x14]
mov dx, word [esi + edx*2 + 0x14]
cmp dx, 1
jne 0x554046
dec al
mov byte [esi + 0x45], al
jmp 0x553f32
dec edx
mov dword [ebp + 8], 0
mov word [ecx], dx
xor ecx, ecx
movsx eax, byte [esi + 0x45]
mov cx, word [esi + eax*2 + 0x26]
mov eax, dword [esi + 4]
add ecx, eax
mov dword [esi + 8], ecx
jmp 0x553f32
mov edx, dword [esi + 0x4c]
and edx, 0xfffffffd
or edx, 1
mov dword [esi + 0x4c], edx
jmp 0x553f32
mov eax, dword [esi + 0x4c]
and al, 0xfe
or al, 2
mov dword [esi + 0x4c], eax
jmp 0x553f32
mov ecx, dword [esi + 0x4c]
and ecx, 0xffffffe7
or ecx, 4
mov dword [esi + 0x4c], ecx
jmp 0x553f32
mov edx, dword [esi + 0x4c]
and edx, 0xffffffeb
or edx, 8
mov dword [esi + 0x4c], edx
jmp 0x553f32
mov eax, dword [esi + 0x4c]
and al, 0xf3
or al, 0x10
mov dword [esi + 0x4c], eax
jmp 0x553f32
mov al, byte [esi + 0x38]
cmp al, 0x80
mov byte [esi + 0x44], al
jl case.0x553f1d.0
cmp al, 0x7f
jg case.0x553f1d.0
jmp 0x553f32
cmp al, 0xb
jne 0x5540de
mov edi, dword [esi + 0xc]
jmp 0x5540e1
mov edi, dword [esi + 0x38]
mov eax, dword [ebx + 0x12c]
test ah, 2
jne 0x55414e
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
add ecx, edi
cmp ecx, edx
jb 0x554146
mov eax, dword [ebx + 0xbc]
test eax, eax
jl 0x554146
mov al, byte [ebx + 0x123]
cmp al, 2
je 0x554110
cmp al, 0x26
jne 0x554146
cmp byte [ebx + 0x11c], 1
jne 0x55411d
cmp ecx, edx
je 0x554146
mov eax, dword [esi + 0x38]
cmp eax, 0x200
jg 0x55412c
mov eax, 0x200
push eax
push ebx
call fcn.005518a0
add esp, 8
test eax, eax
jne 0x55426b
add dword [ebx + 0x2c], edi
jmp 0x553f32
mov dword [ebx + 0x2c], ecx
jmp 0x553f32
mov eax, dword [ebx + 0xc4]
test eax, eax
jne 0x554162
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x34]
add eax, edi
jmp 0x554199
add eax, edi
mov dword [ebx + 0xc4], eax
jmp 0x553f32
mov edx, dword [esi + 0x38]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x12c]
test ch, 2
lea eax, [edx + eax - 1]
jne 0x55418c
mov dword [ebx + 0x2c], eax
jmp 0x553f32
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
mov ecx, dword [ebx + 0x34]
jne 0x5541b5
cmp eax, ecx
ja 0x5541a5
mov dword [ebx + 0x2c], eax
jmp 0x553f32
sub eax, ecx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0xc4], eax
jmp 0x553f32
cmp eax, ecx
jbe 0x5541c6
sub eax, ecx
mov dword [ebx + 0xc4], eax
jmp 0x553f32
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0xc4], 0
jmp 0x553f32
mov eax, dword [ebx + 0x12c]
test ah, 2
jne 0x554203
mov ecx, dword [esi + 0x38]
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x38]
sub edi, ecx
mov ecx, edi
mov dword [ebx + 0x2c], edi
cmp ecx, eax
jae 0x553f32
mov dword [ebx + 0x2c], eax
jmp 0x553f32
mov eax, dword [ebx + 0xc4]
mov edx, dword [esi + 0x38]
test eax, eax
jne 0x55422d
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x38]
sub edi, edx
mov ecx, edi
mov dword [ebx + 0x2c], edi
cmp ecx, eax
jae 0x553f32
mov dword [ebx + 0x2c], eax
jmp 0x553f32
sub eax, edx
test eax, eax
jle 0x55423e
mov dword [ebx + 0xc4], eax
jmp 0x553f32
mov ecx, dword [ebx + 0x34]
add eax, ecx
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
mov dword [ebx + 0x2c], eax
jae 0x554250
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0xc4], 0
jmp 0x553f32
pop edi
pop esi
mov eax, 0xc0000044
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0xc0000042
push 0xc0000042
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xc000003e
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
test eax, eax
jne case.0x553cbc.19
and dword [esi + 0x4c], 0xdfffffff
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret