Function at 0x5d9b68
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
jmp 0x5d9b8a
movsx eax, byte [esi]
push eax
call fcn.005f8587
test eax, eax
pop ecx
je 0x5d9b92
inc esi
cmp byte [esi], 0
mov dword [ebp - 0xc], esi
jne 0x5d9b7b
cmp byte [esi], 0
mov ebx, esi
je 0x5d9bad
movsx eax, byte [ebx]
push eax
call fcn.005f8605
test eax, eax
pop ecx
je 0x5d9bad
inc ebx
cmp byte [ebx], 0
jne 0x5d9b99
xor eax, eax
cmp byte [esi], al
setne al
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x94]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x5d9c16
cmp byte [ebx], 0x5f
jne 0x5d9c16
push 6
mov edi, str._bias
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9be9
mov dword [ebp - 8], 0x2000000
add ebx, 5
jmp 0x5d9c13
push 5
mov edi, str._bx2
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5d9c09
push 5
mov edi, 0x65cad0
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9c13
mov dword [ebp - 8], 0x4000000
add ebx, 4
mov esi, dword [ebp - 0xc]
cmp byte [ebx], 0
mov edx, dword [ebp + 0xc]
mov eax, 0xfff
jne 0x5d9e70
cmp dword [ebp + 0x10], 0
jne 0x5d9e47
push esi
call fcn.005f88c6
mov edx, eax
mov al, byte [esi]
and byte [esi], 0
mov esi, dword [ebp + 8]
mov byte [ebp + 0xf], al
mov eax, dword [ebp - 0x10]
and edx, 0xfff
cmp dword [eax + 0x94], 0
pop ecx
je 0x5d9d03
push 2
pop eax
mov edi, 0x65cacc
mov ecx, eax
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9c83
cmp dword [ebp - 4], ebx
je 0x5d9c83
cmp edx, 8
jae 0x5d9e3d
mov eax, dword [ebp - 8]
or eax, edx
jmp 0x5d9d80
mov esi, dword [ebp + 8]
mov edi, 0x65cac8
mov ecx, eax
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9cab
cmp dword [ebp - 4], ebx
je 0x5d9cab
cmp edx, 8
jae 0x5d9e3d
mov eax, dword [ebp - 8]
or eax, edx
jmp 0x5d9ed7
mov esi, dword [ebp + 8]
mov edi, 0x65cac4
mov ecx, eax
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9cd3
cmp dword [ebp - 4], ebx
je 0x5d9cd3
cmp edx, 0x10
jae 0x5d9e3d
mov eax, dword [ebp - 8]
or eax, edx
jmp 0x5d9e99
mov esi, dword [ebp + 8]
mov ecx, eax
mov edi, str.tcrv
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9e3d
cmp dword [ebp - 4], eax
je 0x5d9e3d
cmp edx, 8
jae 0x5d9e3d
mov eax, dword [ebp - 8]
or eax, edx
jmp 0x5d9de7
push 5
xor eax, eax
mov eax, dword [ebp - 4]
mov edi, str.oPos
pop ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9d22
test eax, eax
jne 0x5d9d22
mov eax, 0x40000000
jmp 0x5d9ed7
mov esi, dword [ebp + 8]
push 5
mov edi, str.oPts
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9d41
test eax, eax
jne 0x5d9d41
mov eax, 0x40000002
jmp 0x5d9ed7
mov esi, dword [ebp + 8]
push 5
mov edi, str.oFog
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9d60
test eax, eax
jne 0x5d9d60
mov eax, 0x40000001
jmp 0x5d9ed7
mov esi, dword [ebp + 8]
push 2
mov edi, 0x65cacc
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9d8a
test eax, eax
je 0x5d9d8a
cmp edx, 0x10
jae 0x5d9e3d
mov eax, edx
or eax, 0x10000000
jmp 0x5d9ed7
mov esi, dword [ebp + 8]
push 2
mov edi, 0x65cac8
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9daf
test eax, eax
je 0x5d9daf
cmp edx, 0xc
jae 0x5d9e3d
mov eax, edx
jmp 0x5d9ed7
mov esi, dword [ebp + 8]
push 2
mov edi, 0x65cac4
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9dcb
test eax, eax
je 0x5d9dcb
mov eax, edx
jmp 0x5d9e99
mov esi, dword [ebp + 8]
push 2
mov edi, 0x65caa4
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9df1
test eax, eax
je 0x5d9df1
cmp edx, 1
jae 0x5d9e3d
mov eax, edx
or eax, 0x30000000
jmp 0x5d9ed7
mov esi, dword [ebp + 8]
push 3
mov edi, 0x65caa0
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9e17
test eax, eax
je 0x5d9e17
cmp edx, 2
jae 0x5d9e3d
mov eax, edx
or eax, 0x50000000
jmp 0x5d9ed7
mov esi, dword [ebp + 8]
push 3
mov edi, 0x65ca9c
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9e3d
test eax, eax
je 0x5d9e3d
cmp edx, 8
jae 0x5d9e3d
mov eax, edx
or eax, 0x60000000
jmp 0x5d9ed7
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp + 0xf]
mov byte [eax], cl
jmp 0x5d9e76
cmp dword [ebp - 0x14], 0
mov esi, dword [ebp + 8]
push 2
mov edi, 0x65cac4
pop ecx
je 0x5d9e8b
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9e70
cmp dword [ebp - 4], ebx
jne 0x5d9e70
mov ecx, edx
and ecx, eax
cmp ecx, 0x10
jb 0x5d9cc9
cmp dword [ebp + 0x10], 0
jne 0x5d9ea0
push dword [ebp + 8]
push str.invalid_register__s
push dword [ebp - 0x10]
call fcn.005d9345
add esp, 0xc
jmp 0x5d9ec8
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5d9e70
cmp dword [ebp - 4], ebx
jne 0x5d9e70
mov eax, dword [ebp + 0xc]
or eax, 0x20000000
jmp 0x5d9ed7
test dh, 0x20
je 0x5d9eb2
and edx, eax
push edx
push dword [ebp + 8]
push str.invalid_register__s_a0.x___d_
jmp 0x5d9ebd
and edx, eax
push edx
push dword [ebp + 8]
push str.invalid_register__s__d_
push dword [ebp - 0x10]
call fcn.005d9345
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x80], 1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc