Function at 0x5502f0
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 + 0x57985a]
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 + 0x579859]
movsx eax, byte [eax + eax*2 + 0x579858]
dec eax
mov dword [ebp + 8], edx
cmp eax, 9
ja case.default.0x55033d
jmp dword [eax*4 + 0x55098c]
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.0x55039c.20
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xc], 1
test eax, 0x10000000
jne 0x55037f
or eax, 0x10000000
test eax, 0x20000000
mov dword [esi + 0x4c], eax
jne case.0x55039c.19
jmp case.0x55039c.20
test eax, 0x20000000
je case.0x55039c.20
mov eax, dword [ebp - 8]
movsx eax, byte [eax]
add eax, 0xffffffed
cmp eax, 0x20
ja case.0x55039c.20
xor edx, edx
mov dl, byte [eax + 0x5509bc]
jmp dword [edx*4 + 0x5509b4]
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 0x5505e4
mov eax, dword [edi]
mov dword [ebp + 8], 0x1c
test ah, 1
je 0x5504fd
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.00550a60
mov edx, dword [ebp - 8]
mov dword [esi + 0xc], eax
add esp, 0x10
mov cl, byte [edx]
cmp cl, 0xb
je 0x5504e5
cmp cl, 0xd
je 0x5504e5
cmp cl, 0xe
je 0x5504e5
cmp eax, 1
jl 0x550430
cmp eax, 0x7fffffff
jle 0x5504fd
test dword [esi + 0x4c], 0x40000000
je 0x55093f
jmp 0x5504fd
mov dword [esi + 0xc], ecx
mov dword [esi + 0x38], ecx
mov word [esi + 0x40], cx
mov word [esi + 0x42], cx
jmp 0x5505e4
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 0x5505e4
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 0x5505e4
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 0x5505e4
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 0x5505e4
push 0x520
push 0x585ac0
push 2
push 0xc0000008
call fcn.005430d0
add esp, 0x10
jmp 0x5505e4
test eax, eax
jl 0x5504f0
cmp eax, 0x7fff
jle 0x5504fd
test dword [esi + 0x4c], 0x40000000
je 0x55093f
mov eax, dword [edi]
test ah, 2
je 0x550560
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.00550a60
mov ecx, dword [ebp - 8]
mov dword [esi + 0x38], eax
add esp, 0x10
cmp byte [ecx], 0xa
jne 0x550548
cmp al, 0x80
mov byte [esi + 0x44], al
jl 0x550539
cmp al, 0x7f
jle 0x550560
test dword [esi + 0x4c], 0x40000000
je 0x55093f
jmp 0x550560
test eax, eax
jl 0x550553
cmp eax, 0x7fff
jle 0x550560
test dword [esi + 0x4c], 0x40000000
je 0x55093f
mov eax, dword [edi]
test ah, 4
je 0x5505a2
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.00550a60
add esp, 0x10
mov word [esi + 0x40], ax
test ax, ax
jl 0x550595
cmp ax, 0x7fff
jle 0x5505a2
test dword [esi + 0x4c], 0x40000000
je 0x55093f
mov eax, dword [edi]
test ah, 8
je 0x5505e4
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.00550a60
add esp, 0x10
mov word [esi + 0x42], ax
test ax, ax
jl 0x5505d7
cmp ax, 0xff
jle 0x5505e4
test dword [esi + 0x4c], 0x40000000
je 0x55093f
mov ecx, dword [ebp - 8]
mov al, byte [ecx]
movsx ecx, al
cmp ecx, 0x33
ja case.0x5505fd.0
xor edx, edx
mov dl, byte [ecx + 0x550a28]
jmp dword [edx*4 + 0x5509e0]
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 0x550309
jmp 0x550973
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 0x550612
mov ecx, dword [esi + 0x38]
mov eax, ecx
and eax, 0x80000003
jns 0x550659
dec eax
or eax, 0xfffffffc
inc eax
je 0x550664
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.0x5505fd.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 + 0x57985a], 2
jne 0x550612
or ecx, 0x80000000
mov dword [esi + 0x4c], ecx
jmp 0x550612
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.0x5505fd.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 0x5506e8
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 0x550612
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 0x550726
dec al
mov byte [esi + 0x45], al
jmp 0x550612
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 0x550612
mov edx, dword [esi + 0x4c]
and edx, 0xfffffffd
or edx, 1
mov dword [esi + 0x4c], edx
jmp 0x550612
mov eax, dword [esi + 0x4c]
and al, 0xfe
or al, 2
mov dword [esi + 0x4c], eax
jmp 0x550612
mov ecx, dword [esi + 0x4c]
and ecx, 0xffffffe7
or ecx, 4
mov dword [esi + 0x4c], ecx
jmp 0x550612
mov edx, dword [esi + 0x4c]
and edx, 0xffffffeb
or edx, 8
mov dword [esi + 0x4c], edx
jmp 0x550612
mov eax, dword [esi + 0x4c]
and al, 0xf3
or al, 0x10
mov dword [esi + 0x4c], eax
jmp 0x550612
mov al, byte [esi + 0x38]
cmp al, 0x80
mov byte [esi + 0x44], al
jl case.0x5505fd.0
cmp al, 0x7f
jg case.0x5505fd.0
jmp 0x550612
cmp al, 0xb
jne 0x5507be
mov edi, dword [esi + 0xc]
jmp 0x5507c1
mov edi, dword [esi + 0x38]
mov eax, dword [ebx + 0x12c]
test ah, 2
jne 0x55082e
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
add ecx, edi
cmp ecx, edx
jb 0x550826
mov eax, dword [ebx + 0xbc]
test eax, eax
jl 0x550826
mov al, byte [ebx + 0x123]
cmp al, 2
je 0x5507f0
cmp al, 0x26
jne 0x550826
cmp byte [ebx + 0x11c], 1
jne 0x5507fd
cmp ecx, edx
je 0x550826
mov eax, dword [esi + 0x38]
cmp eax, 0x200
jg 0x55080c
mov eax, 0x200
push eax
push ebx
call fcn.0054df80
add esp, 8
test eax, eax
jne 0x55094b
add dword [ebx + 0x2c], edi
jmp 0x550612
mov dword [ebx + 0x2c], ecx
jmp 0x550612
mov eax, dword [ebx + 0xc4]
test eax, eax
jne 0x550842
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x34]
add eax, edi
jmp 0x550879
add eax, edi
mov dword [ebx + 0xc4], eax
jmp 0x550612
mov edx, dword [esi + 0x38]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x12c]
test ch, 2
lea eax, [edx + eax - 1]
jne 0x55086c
mov dword [ebx + 0x2c], eax
jmp 0x550612
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
mov ecx, dword [ebx + 0x34]
jne 0x550895
cmp eax, ecx
ja 0x550885
mov dword [ebx + 0x2c], eax
jmp 0x550612
sub eax, ecx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0xc4], eax
jmp 0x550612
cmp eax, ecx
jbe 0x5508a6
sub eax, ecx
mov dword [ebx + 0xc4], eax
jmp 0x550612
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0xc4], 0
jmp 0x550612
mov eax, dword [ebx + 0x12c]
test ah, 2
jne 0x5508e3
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 0x550612
mov dword [ebx + 0x2c], eax
jmp 0x550612
mov eax, dword [ebx + 0xc4]
mov edx, dword [esi + 0x38]
test eax, eax
jne 0x55090d
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 0x550612
mov dword [ebx + 0x2c], eax
jmp 0x550612
sub eax, edx
test eax, eax
jle 0x55091e
mov dword [ebx + 0xc4], eax
jmp 0x550612
mov ecx, dword [ebx + 0x34]
add eax, ecx
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
mov dword [ebx + 0x2c], eax
jae 0x550930
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0xc4], 0
jmp 0x550612
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.00543100
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.0x55039c.19
and dword [esi + 0x4c], 0xdfffffff
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret