Function at 0x554c60
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 + 0x57d85a]
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 + 0x57d859]
movsx eax, byte [eax + eax*2 + 0x57d858]
dec eax
mov dword [ebp + 8], edx
cmp eax, 9
ja case.default.0x554cad
jmp dword [eax*4 + 0x5552fc]
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.0x554d0c.20
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xc], 1
test eax, 0x10000000
jne 0x554cef
or eax, 0x10000000
test eax, 0x20000000
mov dword [esi + 0x4c], eax
jne case.0x554d0c.19
jmp case.0x554d0c.20
test eax, 0x20000000
je case.0x554d0c.20
mov eax, dword [ebp - 8]
movsx eax, byte [eax]
add eax, 0xffffffed
cmp eax, 0x20
ja case.0x554d0c.20
xor edx, edx
mov dl, byte [eax + 0x55532c]
jmp dword [edx*4 + 0x555324]
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 0x554f54
mov eax, dword [edi]
mov dword [ebp + 8], 0x1c
test ah, 1
je 0x554e6d
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.005553d0
mov edx, dword [ebp - 8]
mov dword [esi + 0xc], eax
add esp, 0x10
mov cl, byte [edx]
cmp cl, 0xb
je 0x554e55
cmp cl, 0xd
je 0x554e55
cmp cl, 0xe
je 0x554e55
cmp eax, 1
jl 0x554da0
cmp eax, 0x7fffffff
jle 0x554e6d
test dword [esi + 0x4c], 0x40000000
je 0x5552af
jmp 0x554e6d
mov dword [esi + 0xc], ecx
mov dword [esi + 0x38], ecx
mov word [esi + 0x40], cx
mov word [esi + 0x42], cx
jmp 0x554f54
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 0x554f54
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 0x554f54
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 0x554f54
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 0x554f54
push 0x520
push 0x589ac0
push 2
push 0xc0000008
call fcn.00547a40
add esp, 0x10
jmp 0x554f54
test eax, eax
jl 0x554e60
cmp eax, 0x7fff
jle 0x554e6d
test dword [esi + 0x4c], 0x40000000
je 0x5552af
mov eax, dword [edi]
test ah, 2
je 0x554ed0
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.005553d0
mov ecx, dword [ebp - 8]
mov dword [esi + 0x38], eax
add esp, 0x10
cmp byte [ecx], 0xa
jne 0x554eb8
cmp al, 0x80
mov byte [esi + 0x44], al
jl 0x554ea9
cmp al, 0x7f
jle 0x554ed0
test dword [esi + 0x4c], 0x40000000
je 0x5552af
jmp 0x554ed0
test eax, eax
jl 0x554ec3
cmp eax, 0x7fff
jle 0x554ed0
test dword [esi + 0x4c], 0x40000000
je 0x5552af
mov eax, dword [edi]
test ah, 4
je 0x554f12
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.005553d0
add esp, 0x10
mov word [esi + 0x40], ax
test ax, ax
jl 0x554f05
cmp ax, 0x7fff
jle 0x554f12
test dword [esi + 0x4c], 0x40000000
je 0x5552af
mov eax, dword [edi]
test ah, 8
je 0x554f54
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.005553d0
add esp, 0x10
mov word [esi + 0x42], ax
test ax, ax
jl 0x554f47
cmp ax, 0xff
jle 0x554f54
test dword [esi + 0x4c], 0x40000000
je 0x5552af
mov ecx, dword [ebp - 8]
mov al, byte [ecx]
movsx ecx, al
cmp ecx, 0x33
ja case.0x554f6d.0
xor edx, edx
mov dl, byte [ecx + 0x555398]
jmp dword [edx*4 + 0x555350]
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 0x554c79
jmp 0x5552e3
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 0x554f82
mov ecx, dword [esi + 0x38]
mov eax, ecx
and eax, 0x80000003
jns 0x554fc9
dec eax
or eax, 0xfffffffc
inc eax
je 0x554fd4
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.0x554f6d.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 + 0x57d85a], 2
jne 0x554f82
or ecx, 0x80000000
mov dword [esi + 0x4c], ecx
jmp 0x554f82
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.0x554f6d.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 0x555058
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 0x554f82
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 0x555096
dec al
mov byte [esi + 0x45], al
jmp 0x554f82
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 0x554f82
mov edx, dword [esi + 0x4c]
and edx, 0xfffffffd
or edx, 1
mov dword [esi + 0x4c], edx
jmp 0x554f82
mov eax, dword [esi + 0x4c]
and al, 0xfe
or al, 2
mov dword [esi + 0x4c], eax
jmp 0x554f82
mov ecx, dword [esi + 0x4c]
and ecx, 0xffffffe7
or ecx, 4
mov dword [esi + 0x4c], ecx
jmp 0x554f82
mov edx, dword [esi + 0x4c]
and edx, 0xffffffeb
or edx, 8
mov dword [esi + 0x4c], edx
jmp 0x554f82
mov eax, dword [esi + 0x4c]
and al, 0xf3
or al, 0x10
mov dword [esi + 0x4c], eax
jmp 0x554f82
mov al, byte [esi + 0x38]
cmp al, 0x80
mov byte [esi + 0x44], al
jl case.0x554f6d.0
cmp al, 0x7f
jg case.0x554f6d.0
jmp 0x554f82
cmp al, 0xb
jne 0x55512e
mov edi, dword [esi + 0xc]
jmp 0x555131
mov edi, dword [esi + 0x38]
mov eax, dword [ebx + 0x12c]
test ah, 2
jne 0x55519e
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
add ecx, edi
cmp ecx, edx
jb 0x555196
mov eax, dword [ebx + 0xbc]
test eax, eax
jl 0x555196
mov al, byte [ebx + 0x123]
cmp al, 2
je 0x555160
cmp al, 0x26
jne 0x555196
cmp byte [ebx + 0x11c], 1
jne 0x55516d
cmp ecx, edx
je 0x555196
mov eax, dword [esi + 0x38]
cmp eax, 0x200
jg 0x55517c
mov eax, 0x200
push eax
push ebx
call fcn.005528f0
add esp, 8
test eax, eax
jne 0x5552bb
add dword [ebx + 0x2c], edi
jmp 0x554f82
mov dword [ebx + 0x2c], ecx
jmp 0x554f82
mov eax, dword [ebx + 0xc4]
test eax, eax
jne 0x5551b2
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x34]
add eax, edi
jmp 0x5551e9
add eax, edi
mov dword [ebx + 0xc4], eax
jmp 0x554f82
mov edx, dword [esi + 0x38]
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x12c]
test ch, 2
lea eax, [edx + eax - 1]
jne 0x5551dc
mov dword [ebx + 0x2c], eax
jmp 0x554f82
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
mov ecx, dword [ebx + 0x34]
jne 0x555205
cmp eax, ecx
ja 0x5551f5
mov dword [ebx + 0x2c], eax
jmp 0x554f82
sub eax, ecx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0xc4], eax
jmp 0x554f82
cmp eax, ecx
jbe 0x555216
sub eax, ecx
mov dword [ebx + 0xc4], eax
jmp 0x554f82
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0xc4], 0
jmp 0x554f82
mov eax, dword [ebx + 0x12c]
test ah, 2
jne 0x555253
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 0x554f82
mov dword [ebx + 0x2c], eax
jmp 0x554f82
mov eax, dword [ebx + 0xc4]
mov edx, dword [esi + 0x38]
test eax, eax
jne 0x55527d
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 0x554f82
mov dword [ebx + 0x2c], eax
jmp 0x554f82
sub eax, edx
test eax, eax
jle 0x55528e
mov dword [ebx + 0xc4], eax
jmp 0x554f82
mov ecx, dword [ebx + 0x34]
add eax, ecx
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
mov dword [ebx + 0x2c], eax
jae 0x5552a0
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0xc4], 0
jmp 0x554f82
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.00547a70
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.0x554d0c.19
and dword [esi + 0x4c], 0xdfffffff
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret