Function at 0x546000
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov eax, ecx
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x44], ecx
mov ecx, dword [0x736fdc]
lea edi, [eax + 1]
mov dword [ebp - 0x40], eax
movsx eax, byte [eax]
mov dword [ebp - 0x4c], edi
test al, al
mov byte [ebp - 0x48], al
je 0x54629e
mov edx, edi
mov esi, 0x1505
mov ebx, esi
add edx, 1
shl ebx, 5
add eax, ebx
add esi, eax
movsx eax, byte [edx - 1]
test al, al
jne 0x546035
mov edi, dword [ecx + 4]
xor edx, edx
mov eax, esi
div edi
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x3c], edx
test eax, eax
je 0x54607f
mov ebx, dword [eax]
mov ecx, dword [ebx + 8]
cmp esi, ecx
je 0x5461c7
mov ebx, dword [ebx]
test ebx, ebx
je 0x54607f
mov ecx, dword [ebx + 8]
xor edx, edx
mov eax, ecx
div edi
cmp dword [ebp - 0x3c], edx
je 0x546063
cmp byte [ebp - 0x48], 0
mov esi, 0x1505
mov ecx, dword [0x736fe0]
je 0x5460ab
movsx eax, byte [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov ebx, esi
add edx, 1
shl ebx, 5
add eax, ebx
add esi, eax
movsx eax, byte [edx - 1]
test al, al
jne 0x546097
mov edi, dword [ecx + 4]
xor edx, edx
mov eax, esi
div edi
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x3c], edx
test eax, eax
je 0x5460e1
mov ebx, dword [eax]
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
je 0x546240
mov ebx, dword [ebx]
test ebx, ebx
je 0x5460e1
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, ecx
div edi
cmp dword [ebp - 0x3c], edx
je 0x5460c5
mov eax, dword [ebp - 0x44]
mov edi, dword [eax + 0x20]
call fcn.004cb890
mov dword [esp], 8
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov ebx, eax
call fcn.004cb890
test ebx, ebx
mov esi, eax
je 0x5461bd
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp eax, 0x3ffffffc
mov edx, eax
ja 0x546430
lea ecx, [eax + 0x1d]
cmp ecx, 0x1000
jbe 0x5463b8
test eax, eax
je 0x5463b8
and ecx, 0xfff
lea eax, [eax + 0x1000]
sub eax, ecx
mov ecx, esi
cmp eax, 0x3ffffffc
mov dword [ebp - 0x44], edx
mov edx, 0x3ffffffc
cmova eax, edx
mov dword [ebp - 0x3c], eax
add eax, 0xd
mov dword [esp], eax
call fcn.004cba30
mov edx, dword [ebp - 0x44]
mov ecx, eax
mov eax, dword [ebp - 0x3c]
sub esp, 4
mov dword [ecx + 8], 0
mov dword [ecx + 4], eax
lea eax, [ecx + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], 0
mov dword [ecx], edx
mov byte [eax + edx], 0
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov dword [edi + 0x18], ebx
mov eax, 0xdd
jmp 0x546233
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x54606b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 4]
sub edx, dword [ecx]
cmp edx, 0xf
jg 0x5461fe
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
mov edx, dword [edx + 0x70]
add ecx, 0xc
mov dword [esp], eax
mov dword [esp + 0x14], 0x6e465e
mov dword [esp + 0x10], 0x6e465e
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.Reserved_word.
mov dword [esp + 4], ecx
call edx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x5460cd
mov eax, dword [ebx + 8]
mov edi, dword [ebp - 0x44]
cmp eax, 0xe5
mov dword [edi + 0x28], eax
jle 0x5462a8
cmp eax, 0xea
jne 0x54638b
mov edi, dword [ebp - 0x40]
mov ecx, 5
mov esi, 0x6e438e
repe cmpsb byte [esi], byte es:[edi]
mov edi, dword [ebp - 0x44]
setb dl
seta cl
cmp cl, dl
mov edx, dword [edi + 0x20]
jne 0x546382
mov byte [edx + 0x18], 1
jmp 0x546233
mov esi, 0x1505
jmp 0x546049
cmp eax, 0xde
jge 0x546233
lea edx, [eax - 1]
cmp edx, 0xdb
jbe 0x546233
mov edi, dword [ebp - 0x44]
lea esi, [ebp - 0x30]
mov eax, dword [edi + 4]
mov ebx, dword [eax + 4]
mov dword [esp], str.INTERNAL_ERROR:
mov ecx, ebx
call fcn.004d0840
mov eax, dword [edi + 0x14]
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6e467f
mov dword [esp + 4], 0x18
mov dword [esp], esi
call sub.msvcrt.dll_sprintf_s
mov eax, dword [edi + 0xc]
test eax, eax
je 0x5463f7
lea edx, [ebp - 0x35]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x34]
mov dword [esp], eax
call fcn.00600990
sub esp, 8
mov eax, dword [ebp - 0x34]
mov ecx, ebx
mov dword [esp], eax
call fcn.004d0840
mov eax, dword [ebp - 0x34]
mov edx, 0xffffffff
sub esp, 4
lock xadd dword [eax - 4], edx
test edx, edx
jle 0x5463a5
mov ecx, ebx
mov dword [esp], esi
call fcn.004d0840
mov ecx, ebx
sub esp, 4
mov dword [esp], 0x6e4688
call fcn.004d0840
mov ecx, ebx
sub esp, 4
mov dword [esp], str.Unknown_glslang_keyword
call fcn.004d0840
mov ecx, ebx
sub esp, 4
mov dword [esp], 0x6e46a3
call fcn.004d0840
xor eax, eax
sub esp, 4
jmp 0x546233
mov byte [edx + 0x18], 0
jmp 0x546233
jl 0x5462be
lea edx, [eax - 0xec]
cmp edx, 0xb
jbe 0x546233
jmp 0x5462be
lea ecx, [eax - 0xc]
lea eax, [ebp - 0x35]
mov dword [esp], eax
call fcn.005ff250
sub esp, 4
jmp 0x54633b
lea eax, [edx + 0xd]
mov ecx, esi
mov dword [esp], eax
mov dword [ebp - 0x3c], edx
call fcn.004cba30
mov edx, dword [ebp - 0x3c]
mov dword [eax + 8], 0
sub esp, 4
mov ecx, eax
mov dword [eax + 4], edx
cmp edx, 1
lea eax, [eax + 0xc]
mov dword [ebp - 0x3c], eax
jne 0x546186
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
mov byte [ecx + 0xc], al
jmp 0x5461a8
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x34]
mov edx, dword [edi + 0x10]
mov dword [esp + 0xc], str._lld
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0x543030
mov dword [esp + 0x10], edx
sar edx, 0x1f
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.005cabd0
jmp 0x54631a
mov dword [esp], 0x6e4619
call fcn.0064ba80
lea esi, [esi]
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x45c
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
mov byte [ebp - 0x430], 0
mov dword [ebp - 0x428], 0
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x440]
mov dword [esp], eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x420], 0
call fcn.0051e950
sub esp, 4
cmp eax, 0xffffffff
je 0x5469c0
lea esi, [ebp - 0x420]
mov edx, dword [ebp - 0x434]
mov dword [edi + 0x24], esi
mov esi, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x438]
mov ebx, dword [edi + 0x20]
mov dword [edi + 0x18], edx
mov dword [edi + 0xc], esi
mov esi, dword [ebp - 0x43c]
mov dword [ebp - 0x44c], edx
mov edx, dword [ebp - 0x440]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], esi
mov dword [ebx], edx
mov edx, dword [ebp - 0x44c]
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
lea edx, [eax - 0x21]
cmp edx, 0x81
ja case.0x546517.34
jmp dword [edx*4 + 0x6e46dc]
mov eax, 0x115
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, 0x11c
jmp 0x546525
mov eax, 0x11d
jmp 0x546525
mov eax, 0x10f
jmp 0x546525
mov eax, 0x10e
jmp 0x546525
mov eax, 0x124
jmp 0x546525
mov eax, 0x11f
jmp 0x546525
mov eax, 0x119
jmp 0x546525
mov ecx, edi
call fcn.00546000
jmp 0x546525
call fcn.004cb890
mov dword [esp], 8
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov edi, eax
call fcn.004cb890
test edi, edi
mov dword [ebp - 0x44c], eax
je 0x54668a
lea edx, [ebp - 0x420]
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x5465a1
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea esi, [edx + 2]
cmovne esi, edx
add al, al
sbb esi, 3
lea eax, [ebp - 0x420]
sub esi, eax
cmp esi, 0x3ffffffc
ja 0x546a02
lea edx, [esi + 0x1d]
cmp edx, 0x1000
jbe 0x5469c7
test esi, esi
je 0x5469c7
and edx, 0xfff
mov ecx, dword [ebp - 0x44c]
lea eax, [esi + 0x1000]
sub eax, edx
mov edx, 0x3ffffffc
cmp eax, 0x3ffffffc
cmova eax, edx
mov dword [ebp - 0x450], eax
add eax, 0xd
mov dword [esp], eax
call fcn.004cba30
mov edx, eax
mov eax, dword [ebp - 0x450]
sub esp, 4
mov dword [edx + 8], 0
lea ecx, [edx + 0xc]
mov dword [edx + 4], eax
lea eax, [ebp - 0x420]
mov dword [esp], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x450], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x454]
mov ecx, dword [ebp - 0x450]
mov eax, dword [ebp - 0x44c]
mov dword [edx + 8], 0
mov dword [edx], esi
mov byte [ecx + esi], 0
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [ebx + 0x18], edi
mov eax, 0xeb
jmp 0x546525
fld qword [ebp - 0x428]
mov eax, 0xe7
fstp qword [ebx + 0x18]
jmp 0x546525
fld qword [ebp - 0x428]
mov eax, 0xe6
fstp qword [ebx + 0x18]
jmp 0x546525
mov eax, dword [ebp - 0x428]
mov dword [ebx + 0x18], eax
mov eax, 0xe9
jmp 0x546525
mov eax, dword [ebp - 0x428]
mov dword [ebx + 0x18], eax
mov eax, 0xe8
jmp 0x546525
mov eax, 0x117
jmp 0x546525
mov eax, 0xfa
jmp 0x546525
mov eax, 0xfb
jmp 0x546525
mov eax, 0xfc
jmp 0x546525
mov eax, 0xfd
jmp 0x546525
mov eax, 0xff
jmp 0x546525
mov eax, 0xfe
jmp 0x546525
mov eax, 0x102
jmp 0x546525
mov eax, 0x101
jmp 0x546525
mov eax, 0x100
jmp 0x546525
mov eax, 0x10b
jmp 0x546525
mov eax, 0x10c
jmp 0x546525
mov eax, 0x10a
jmp 0x546525
mov eax, 0x108
jmp 0x546525
mov eax, 0x109
jmp 0x546525
mov eax, 0xf8
jmp 0x546525
mov eax, 0xf9
jmp 0x546525
mov eax, 0x107
jmp 0x546525
mov eax, 0x105
jmp 0x546525
mov eax, 0x104
jmp 0x546525
mov eax, 0x10d
jmp 0x546525
mov eax, 0x106
jmp 0x546525
mov eax, 0x11b
jmp 0x546525
mov eax, 0x113
jmp 0x546525
mov eax, 0x122
jmp 0x546525
mov eax, 0x112
jmp 0x546525
mov eax, 0x123
jmp 0x546525
mov eax, 0x111
jmp 0x546525
mov eax, dword [edi + 4]
lea ecx, [edi + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
mov dword [esp + 0x10], 0x6e465e
mov dword [esp + 0xc], 0x6e46a5
mov dword [esp + 8], str.illegal_use_of_escape_character
mov dword [esp + 4], ecx
mov dword [esp], eax
call edx
jmp 0x54644e
mov eax, 0x110
jmp 0x546525
mov eax, 0x125
jmp 0x546525
mov eax, 0x121
jmp 0x546525
mov eax, 0x103
jmp 0x546525
mov eax, 0x120
jmp 0x546525
mov eax, 0x118
jmp 0x546525
mov eax, 0x116
jmp 0x546525
mov eax, 0x11e
jmp 0x546525
mov eax, 0x114
jmp 0x546525
mov eax, 0x11a
jmp 0x546525
mov byte [ebp - 0x444], al
mov eax, dword [edi + 4]
lea ebx, [ebp - 0x444]
mov byte [ebp - 0x443], 0
lea ecx, [edi + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
mov dword [esp + 0x10], 0x6e465e
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.unexpected_token
mov dword [esp + 4], ecx
mov dword [esp], eax
call edx
jmp 0x54644e
xor eax, eax
jmp 0x546525
mov ecx, dword [ebp - 0x44c]
lea eax, [esi + 0xd]
mov dword [esp], eax
call fcn.004cba30
sub esp, 4
cmp esi, 1
mov edx, eax
mov dword [eax + 4], esi
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
jne 0x546644
movzx eax, byte [ebp - 0x420]
mov byte [edx + 0xc], al
jmp 0x546672
mov dword [esp], 0x6e4619
call fcn.0064ba80
nop