Function at 0x51c7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov ecx, dword [ebp + 0x1c]
xor eax, eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ecx - 0x38]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0xfc00
mov dword [ebp - 0x18], 0xdc00
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x84]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x44], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
mov eax, ecx
mov ecx, dword [ebp + 0x20]
shr esi, 0x13
and esi, 1
mov dword [ebp - 0x44], 0xd800
mov dword [eax + 0x40], 0
xor edx, edx
mov dword [eax + 0x50], 0
mov dword [ebp - 8], esi
mov dword [eax + 0x4c], 0xffffffff
mov dword [ebp + 8], edx
mov dword [ebp - 0x40], 0xff
mov dword [ebp - 0x48], 0x2029
mov dword [ebp - 0x28], 0x180e
mov dword [ebp - 0x2c], 0x205f
mov dword [ebp - 0x30], 0x85
mov dword [ebp - 0x34], 0x2028
mov dword [ebp - 0x20], ecx
mov dword [eax + 0x1c], edx
mov dword [eax], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [eax + 0x10], ebx
test edx, edx
je 0x51c8a8
sub eax, dword [edi + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], eax
mov eax, edx
and eax, 0xffff0000
cmp eax, 0x40000
jne 0x51c8a3
movzx eax, dx
mov dword [ecx + 0x44], eax
xor edx, edx
mov dword [ebp + 8], edx
mov edx, dword [edi + 0x28]
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
cmp edx, dword [edi + 0x20]
jae 0x524b6b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp eax, dword [edi + 0x24]
jb 0x51c8e1
pop edi
pop esi
mov eax, 0xffffffcb
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x20]
jmp 0x51c8de
lea eax, [ecx + 4]
mov dword [ebx], eax
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
mov byte [eax + 0x31], dl
movzx eax, dl
cmp eax, 0xa4
ja case.0x522d54.15
movzx eax, byte [eax + 0x524cd4]
jmp dword [eax*4 + 0x524b78]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0xffffffff
jne 0x51c982
mov eax, dword [eax]
mov ecx, dword [ebp + 0x20]
movzx edi, word [eax + 2]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
cmp eax, 0xffffffff
je case.0x522d54.15
mov ebx, dword [ecx + 0x10]
add ebx, eax
mov eax, edi
mov edx, ebx
mov dword [ebp - 0x10], ebx
sub edx, dword [ebp + 0x1c]
or eax, 0x10000
cmp dword [ebx + 0x1c], eax
je 0x51c949
mov eax, dword [edx + 0x4c]
jmp 0x51c922
mov eax, dword [ebp - 4]
lea esi, [edi + edi]
mov ebx, dword [ebp - 4]
lea ecx, [esi - 2]
mov dword [eax + 0x48], edi
mov edi, dword [ebp + 0x20]
mov eax, dword [edx + 0x38]
sub eax, dword [edi + 0x58]
sar eax, 1
mov dword [ebx + ecx*4 + 0x54], eax
mov eax, ebx
mov eax, dword [eax + 0x38]
sub eax, dword [edi + 0x58]
sar eax, 1
mov dword [ebx + ecx*4 + 0x58], eax
mov eax, ebx
cmp ecx, dword [eax + 0x50]
jb 0x51c97f
mov dword [eax + 0x50], esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x51c8db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x68]
jbe 0x51c9a9
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 4]
mov esi, 0xfffffc19
mov dword [ebp - 0x20], eax
jmp 0x51e2bf
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0xffffffff
je 0x51ca0b
mov eax, dword [eax + 0x4c]
cmp eax, 0xffffffff
je case.0x522d54.15
mov edx, dword [edi + 0x10]
add edx, eax
mov ecx, edx
mov dword [ebp - 0x10], edx
sub ecx, ebx
mov eax, dword [edx + 0x1c]
and eax, 0xffff0000
cmp eax, 0x40000
je 0x51c9ee
mov eax, dword [ecx + 0x4c]
jmp 0x51c9c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
add dword [ecx], 4
jmp 0x51c8e1
mov esi, dword [eax + 0x38]
mov edi, dword [eax + 0x3c]
cmp esi, edi
jne 0x51ca3a
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx + 0x80]
test al, 4
jne 0x51ca33
test al, 8
je 0x51ca3a
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*2]
cmp edi, eax
jne 0x51ca3a
mov edi, ebx
jmp case.0x51c903.160
mov eax, dword [ebp + 0x20]
cmp esi, dword [eax + 0x5c]
jae 0x524aa9
mov edi, dword [ebp + 0x20]
mov eax, dword [eax + 0x84]
or eax, dword [edi + 0x80]
test eax, 0x20000000
je 0x524aa7
test dl, dl
je case.0x51c903.160
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x20]
mov edi, eax
mov esi, dword [eax + 0x90]
test esi, esi
je 0x51caab
mov eax, dword [ebp - 4]
mov edx, dword [edi + 0x5c]
mov ecx, dword [eax + 0x38]
cmp ecx, edx
jae 0x51caec
push dword [ebp - 8]
lea eax, [edi + 0x94]
push eax
push edx
push esi
push ecx
call fcn.00532060
add esp, 0x14
test eax, eax
je 0x51cae9
jmp case.0x51c903.160
mov esi, dword [eax + 0x94]
mov eax, dword [ebp - 4]
mov ecx, dword [edi + 0x5c]
mov edx, dword [eax + 0x38]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x51cae9
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x51cae9
cmp esi, 1
je case.0x51c903.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x51c903.160
mov eax, dword [ebp - 4]
cmp word [edi + 0x48], 0
je case.0x51c903.13
mov ecx, dword [eax + 0x38]
mov eax, dword [edi + 0x5c]
sub eax, 2
cmp ecx, eax
jne case.0x51c903.13
mov eax, dword [ebp + 0x20]
cmp dword [eax + 0x90], 0
jne 0x51cb38
cmp dword [eax + 0x94], 2
jne 0x51cb38
mov edi, dword [ebp + 0x20]
mov ax, word [ecx]
cmp ax, word [edi + 0x98]
jne case.0x51c903.13
mov eax, edi
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x51d9eb
mov edi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x51cb70
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x51cb66
cmp ecx, dword [eax + 0x64]
jbe 0x51cb66
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x51d9eb
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x51e2bc
mov esi, dword [ebp - 8]
add ecx, 2
mov dword [eax + 0x38], ecx
test esi, esi
je 0x51cbf1
cmp ecx, dword [edi + 0x5c]
jae 0x51cbf1
mov ax, word [ecx]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x51cbee
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov eax, ecx
add dword [eax], 2
jmp 0x51c8e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51cbe5
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jbe case.0x51c903.160
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x51d9eb
mov edi, eax
jmp case.0x51c903.160
mov ecx, dword [ebp - 4]
add eax, 2
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x51c8e1
mov eax, dword [ebp - 4]
test esi, esi
je 0x51cca2
mov dword [eax + 0xc], 1
mov ecx, 0xfc00
add dword [eax], 2
mov eax, dword [eax]
mov ax, word [eax]
and ax, cx
mov ecx, 0xd800
cmp ax, cx
mov eax, dword [ebp - 4]
jne 0x51cc30
inc dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
jmp 0x51cc36
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov esi, dword [edi + 0x5c]
mov eax, esi
sub eax, edx
sar eax, 1
cmp ecx, eax
jbe 0x51cc64
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x51cb66
cmp edx, esi
jb 0x51cb66
cmp edx, dword [eax + 0x64]
jmp 0x51cb52
mov esi, dword [ebp - 8]
test ecx, ecx
je 0x51c8e1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax]
movzx edx, word [ecx]
movzx esi, word [eax]
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov eax, ecx
add dword [eax], 2
cmp si, dx
jne case.0x51c903.160
add dword [eax + 0xc], 0xffffffff
jne 0x51cc72
mov esi, dword [ebp - 8]
jmp 0x51c8e1
mov esi, dword [eax + 0x38]
mov eax, dword [edi + 0x5c]
sub eax, esi
and eax, 0xfffffffe
cmp eax, 2
jge 0x51ccc8
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x51cb66
cmp esi, dword [eax + 0x64]
jmp 0x51cb52
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
movzx ecx, word [esi]
mov eax, dword [eax]
movzx edx, word [eax + 2]
lea eax, [esi + 2]
mov dword [ebx + 0x38], eax
mov eax, ebx
cmp dx, cx
je 0x51cf98
xor esi, esi
jmp 0x51e2bf
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x5c]
jae 0x51ccb2
cmp dword [ebp - 8], 0
je 0x51ce07
mov dword [eax + 0xc], 1
add dword [eax], 2
mov ecx, dword [eax]
movzx esi, word [ecx]
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51cd43
movzx eax, word [ecx + 2]
and esi, 0x3ff
and eax, 0x3ff
shl esi, 0xa
or esi, eax
mov eax, dword [ebp - 4]
add esi, 0x10000
inc dword [eax + 0xc]
jmp 0x51cd46
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
movzx edx, word [ecx]
cmp esi, 0x80
jae 0x51cd84
mov eax, dword [edi + 0x34]
cmp edx, 0xff
ja 0x51cd63
movzx edx, byte [eax + edx]
movzx eax, byte [eax + esi]
cmp eax, edx
mov eax, dword [ebp - 4]
je 0x51cd75
xor esi, esi
jmp 0x51e2bf
add dword [eax], 2
add dword [eax + 0x38], 2
mov esi, dword [ebp - 8]
jmp 0x51c8e1
add ecx, 2
mov dword [eax + 0x38], ecx
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51cdba
movzx eax, word [ecx]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
add edx, 0x10000
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, eax
add dword [ecx], eax
cmp edx, esi
je 0x521fcb
mov eax, esi
shr eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, esi
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x5550f4]
add eax, esi
cmp edx, eax
je 0x521fcb
jmp case.0x51c903.160
mov eax, dword [eax]
mov ecx, 0xff
movzx eax, word [eax + 2]
cmp ax, cx
ja 0x51ce22
mov ecx, eax
mov eax, dword [edi + 0x34]
movzx edx, byte [eax + ecx]
jmp 0x51ce24
mov edx, eax
movzx eax, word [esi]
mov ecx, eax
cmp ax, word [ebp - 0x40]
ja 0x51ce36
mov eax, dword [edi + 0x34]
movzx ecx, byte [eax + ecx]
cmp edx, ecx
jne case.0x51c903.160
mov ecx, dword [ebp - 4]
lea eax, [esi + 2]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x38], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51c8e1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
cmp edx, dword [edi + 0x5c]
jb 0x51ce75
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x51cb66
cmp edx, dword [eax + 0x64]
jmp 0x51cb52
test esi, esi
je 0x51cf5d
add dword [eax], 2
mov eax, dword [eax]
movzx edx, word [eax]
lea ecx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51cebc
movzx eax, word [ecx]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
add edx, 0x10000
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
movzx esi, word [eax]
lea ecx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ecx
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51cefe
movzx eax, word [ecx]
and esi, 0x3ff
and eax, 0x3ff
shl esi, 0xa
or esi, eax
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
add esi, 0x10000
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 4]
cmp edx, esi
jne 0x51cf0c
xor esi, esi
jmp 0x51e2bf
cmp byte [eax + 0x31], 0x20
jne 0x521fcb
cmp edx, 0x7f
jbe 0x51cf46
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea eax, [eax + eax*2]
add edx, dword [eax*4 + 0x5550f4]
jmp 0x51cf4d
mov eax, dword [edi + 0x38]
movzx edx, byte [eax + edx]
cmp edx, esi
mov esi, dword [ebp - 8]
jne 0x51c8e1
jmp case.0x51c903.160
mov eax, dword [eax]
mov ebx, dword [ebp - 4]
movzx esi, word [edx]
movzx ecx, word [eax + 2]
lea eax, [edx + 2]
mov dword [ebx + 0x38], eax
cmp ecx, esi
je case.0x51c903.160
mov eax, ebx
cmp byte [eax + 0x31], 0x20
jne 0x51cf98
cmp ecx, 0xff
ja 0x51cf90
mov eax, dword [edi + 0x38]
movzx ecx, byte [eax + ecx]
mov eax, ebx
cmp ecx, esi
je case.0x51c903.160
add dword [eax], 4
jmp 0x51c8db
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51d08d
mov dword [ebp - 0xc], 2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x20], 0
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51d08a
mov dword [ebp - 0xc], 1
jmp 0x51cfc3
mov dword [ebp - 0xc], 0
jmp 0x51cfc3
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0xffffffff
add dword [eax], 2
jmp 0x51d08a
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], 0xffffffff
add dword [eax], 2
jmp 0x51d08a
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 1
add dword [eax], 2
jmp 0x51d08a
mov eax, dword [ebp - 4]
cmp dl, 0x2e
mov ecx, dword [eax]
sbb eax, eax
and eax, 0xfffffff3
add eax, 0x2e
movzx edx, word [ecx]
sub edx, eax
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [edx*4 + 0x5539a0]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x5539cc]
mov dword [ecx + 0x24], eax
mov eax, dword [edx*4 + 0x5539f8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
test esi, esi
je 0x51d42c
mov dword [eax + 0xc], 1
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov eax, ecx
mov ecx, dword [eax]
movzx edx, word [ecx]
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51d0df
movzx eax, word [ecx + 2]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
mov eax, dword [ebp - 4]
mov ecx, eax
add edx, 0x10000
inc dword [eax + 0xc]
mov ecx, dword [ecx]
jmp 0x51d0e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax + 0xc], 1
jbe 0x51d427
cmp byte [eax + 0x31], 0x2e
jb 0x51d140
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, edx
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x5550f4]
add ecx, edx
cmp ecx, edx
je 0x51d140
mov eax, dword [ebp - 4]
add eax, 0x32
push eax
push ecx
call fcn.005321f0
add esp, 8
jmp 0x51d142
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], 1
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
cmp eax, 1
jb 0x51d27d
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
jmp 0x51d169
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 0x20]
add edi, edi
mov ecx, dword [eax + 0x5c]
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x1c], ecx
cmp ebx, eax
ja 0x51d1ea
mov eax, dword [ebp - 4]
mov esi, edi
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x51d1a1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x51d1aa
add ecx, 4
add edx, 4
sub esi, 4
jae 0x51d190
cmp esi, 0xfffffffc
je 0x51d25d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x51d1e7
cmp esi, 0xfffffffd
je 0x51d25d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x51d1e7
cmp esi, 0xfffffffe
je 0x51d25d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x51d1e7
cmp esi, 0xffffffff
je 0x51d25d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x51d25d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x51d2b6
lea edi, [eax + eax]
mov eax, ecx
sub eax, edi
cmp ebx, eax
ja 0x51d2b6
mov edx, dword [ebp - 4]
mov esi, edi
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x51d227
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x51d22c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x51d216
cmp esi, 0xfffffffc
je 0x51d25d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x51d2b6
cmp esi, 0xfffffffd
je 0x51d25d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x51d2b6
cmp esi, 0xfffffffe
je 0x51d25d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x51d2b6
cmp esi, 0xffffffff
je 0x51d25d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x51d2b6
mov eax, dword [ebp - 4]
add ebx, edi
mov edx, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x24], edx
mov dword [eax + 0x38], ebx
mov eax, dword [eax + 0x20]
cmp edx, eax
jbe 0x51d166
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0x1c]
cmp eax, dword [ecx + 0x24]
je 0x51c8e1
cmp dword [ebp - 0xc], 0
je 0x5245ac
mov eax, ecx
mov eax, dword [eax + 0x38]
mov dword [ecx + 4], eax
mov eax, ecx
mov eax, dword [eax + 0x20]
cmp eax, dword [ecx + 0x24]
mov dword [ebp - 0x24], eax
mov eax, ecx
jae 0x51d40c
mov ebx, dword [eax + 0x38]
jmp 0x51d2d8
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x51cb66
cmp ebx, dword [eax + 0x5c]
jb 0x51cb66
cmp ebx, dword [eax + 0x64]
jmp 0x51cb52
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 0x20]
add edi, edi
mov ecx, dword [eax + 0x5c]
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x1c], ecx
cmp ebx, eax
ja 0x51d35a
mov eax, dword [ebp - 4]
mov esi, edi
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x51d311
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x51d31a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x51d300
cmp esi, 0xfffffffc
je 0x51d3c9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x51d357
cmp esi, 0xfffffffd
je 0x51d3c9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x51d357
cmp esi, 0xfffffffe
je 0x51d3c9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x51d357
cmp esi, 0xffffffff
je 0x51d3c9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x51d3c9
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x51d3e3
lea edi, [eax + eax]
mov eax, ecx
sub eax, edi
cmp ebx, eax
ja 0x51d3e3
mov edx, dword [ebp - 4]
mov esi, edi
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x51d397
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x51d39c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x51d386
cmp esi, 0xfffffffc
je 0x51d3c9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x51d3e3
cmp esi, 0xfffffffd
je 0x51d3c9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x51d3e3
cmp esi, 0xfffffffe
je 0x51d3c9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x51d3e3
cmp esi, 0xffffffff
je 0x51d3c9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x51d3e3
mov eax, dword [ebp - 4]
add ebx, edi
mov edx, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x24], edx
mov dword [eax + 0x38], ebx
cmp edx, dword [eax + 0x24]
jb 0x51d2d5
jmp 0x51d40c
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x51d409
cmp ebx, dword [eax + 0x5c]
jb 0x51d409
cmp ebx, dword [eax + 0x64]
jbe 0x51d409
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x51d9eb
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc], 2
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 0x1c]
je 0x51c8e1
mov ecx, dword [eax + 0x38]
jmp 0x523374
mov dword [eax + 0x28], edx
jmp 0x51d43a
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 4]
add dword [eax], 2
cmp byte [eax + 0x31], 0x2e
jb 0x51d57a
test esi, esi
je 0x51d48d
mov edx, dword [eax + 0x28]
cmp edx, 0x7f
jbe 0x51d48d
mov eax, edx
test eax, eax
jns 0x51d459
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, edx
shl ecx, 7
and eax, 0x8000007f
jns 0x51d475
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x5550f4]
add ecx, edx
jmp 0x51d49f
mov ecx, dword [eax + 0x28]
cmp ecx, 0xff
ja 0x51d49f
mov eax, dword [edi + 0x38]
movzx ecx, byte [eax + ecx]
mov eax, dword [ebp - 4]
mov edx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [eax + 0x20]
cmp eax, edx
jb 0x51d4f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
nop word [eax + eax]
mov eax, dword [ebp + 0x20]
cmp ecx, dword [eax + 0x5c]
jae 0x51cb48
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x51d4e0
cmp dword [ebx + 0x2c], eax
jne 0x51cb66
mov eax, dword [ebp - 4]
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
mov eax, dword [eax + 0x20]
cmp edx, eax
jbe 0x51d4c0
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x51c8de
cmp dword [ebp - 0xc], 0
je 0x522afb
mov eax, ebx
mov ecx, ebx
mov eax, dword [eax + 0x38]
mov dword [ecx + 4], eax
mov eax, ebx
mov edx, dword [eax + 0x20]
cmp edx, dword [eax + 0x24]
jae 0x51d562
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x51d541
movzx ecx, word [eax]
cmp dword [ebx + 0x28], ecx
je 0x51d533
cmp dword [ebx + 0x2c], ecx
jne 0x51d562
add eax, 2
inc edx
mov dword [ebx + 0x38], eax
cmp edx, dword [ebx + 0x24]
jb 0x51d521
jmp 0x51d562
cmp word [edi + 0x48], 0
je 0x51d562
cmp eax, dword [edi + 0x64]
jbe 0x51d562
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x51d9eb
cmp dword [ebp - 0xc], 2
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
je 0x51c8e1
mov ebx, dword [ebp - 4]
jmp 0x522b18
mov eax, dword [eax + 0x20]
mov esi, 1
cmp eax, esi
jb 0x51d5ba
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
nop dword [eax]
mov eax, dword [ebp + 0x20]
cmp edx, dword [eax + 0x5c]
jae 0x51ce62
mov ebx, dword [ebp - 4]
movzx eax, word [edx]
add edx, 2
mov dword [ebx + 0x38], edx
cmp dword [ebx + 0x28], eax
mov eax, ebx
jne 0x51d610
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x51d590
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x51c8de
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x522b79
mov eax, ebx
mov ecx, ebx
mov eax, dword [eax + 0x38]
mov dword [ecx + 4], eax
mov eax, ebx
mov edx, dword [eax + 0x20]
cmp edx, dword [eax + 0x24]
jae 0x51d638
mov ecx, dword [eax + 0x38]
nop dword [eax + eax]
cmp ecx, dword [edi + 0x5c]
jae 0x51d61a
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
jne 0x51d63b
mov eax, ebx
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
cmp edx, dword [eax + 0x24]
jb 0x51d5f0
jmp 0x51d638
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x51e2bf
cmp word [edi + 0x48], 0
je 0x51d638
cmp ecx, dword [edi + 0x64]
jbe 0x51d638
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
mov ebx, dword [ebp - 4]
cmp esi, 2
mov esi, dword [ebp - 8]
je 0x51c8de
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jbe 0x51c8db
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1c
jmp 0x5249d1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51d78c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], 1
mov dword [eax + 0x20], 0
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51d78c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], 0
mov dword [eax + 0x20], 0
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51d78c
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0xffffffff
add dword [eax], 2
jmp 0x51d78c
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], 0xffffffff
add dword [eax], 2
jmp 0x51d78c
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 1
add dword [eax], 2
jmp 0x51d78c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 0
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51d78c
mov eax, dword [ebp - 4]
cmp dl, 0x48
mov ecx, dword [eax]
sbb eax, eax
and eax, 0xfffffff3
add eax, 0x48
movzx edx, word [ecx]
sub edx, eax
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [edx*4 + 0x5539a0]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x5539cc]
mov dword [ecx + 0x24], eax
mov eax, dword [edx*4 + 0x5539f8]
mov dword [ebp - 0xc], eax
mov eax, ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
movzx eax, word [eax]
mov dword [ecx + 0x28], eax
mov eax, ecx
mov edx, dword [eax]
add edx, 2
mov dword [eax], edx
test esi, esi
je 0x51d7db
mov ecx, dword [eax + 0x28]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51d7d8
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or eax, ecx
mov ecx, dword [ebp - 4]
add eax, 0x10000
mov dword [ecx + 0x28], eax
mov eax, ecx
add dword [eax], 2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0x48
jb 0x51da6d
test esi, esi
je 0x51d82e
mov edx, dword [eax + 0x28]
cmp edx, 0x7f
jbe 0x51d82e
mov eax, edx
test eax, eax
jns 0x51d7fa
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, edx
shl ecx, 7
and eax, 0x8000007f
jns 0x51d816
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x5550f4]
add ecx, edx
jmp 0x51d840
mov ecx, dword [eax + 0x28]
cmp ecx, 0xff
ja 0x51d840
mov eax, dword [edi + 0x38]
movzx ecx, byte [eax + ecx]
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ecx
mov eax, dword [eax + 0x20]
test esi, esi
je 0x51d8d9
mov esi, 1
cmp eax, esi
jb 0x51d8d4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
jmp 0x51d873
mov eax, dword [ebp - 4]
cmp edx, dword [edi + 0x5c]
jae 0x51ec1c
movzx ecx, word [edx]
add edx, 2
mov dword [eax + 0x38], edx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51d8b7
movzx eax, word [edx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
add edx, 2
mov dword [eax + 0x38], edx
jmp 0x51d8ba
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], ecx
je case.0x51c903.160
cmp dword [eax + 0x2c], ecx
je case.0x51c903.160
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x51d870
mov esi, dword [ebp - 8]
jmp 0x51d921
mov edx, 1
cmp eax, edx
jb 0x51d921
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
nop dword [eax + eax]
cmp ecx, dword [edi + 0x5c]
jae 0x51fe96
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je case.0x51c903.160
cmp dword [ebx + 0x2c], eax
je case.0x51c903.160
mov eax, ebx
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
mov eax, dword [eax + 0x20]
cmp edx, eax
jbe 0x51d8f0
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x51c8de
cmp dword [ebp - 0xc], 0
je 0x524406
mov eax, ebx
mov ecx, ebx
mov eax, dword [eax + 0x38]
mov dword [ecx + 4], eax
mov eax, ebx
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test esi, esi
je 0x51d9fc
cmp edi, eax
jae 0x51d9f7
mov eax, ebx
mov edx, dword [eax + 0x38]
nop
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x51d9d4
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51d99d
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], ecx
je 0x51d9b6
cmp dword [eax + 0x2c], ecx
je 0x51d9b6
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x51d960
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x51c8e1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
jmp 0x52343f
mov edi, eax
cmp word [edi + 0x48], 0
je 0x51d9b9
cmp edx, dword [edi + 0x64]
jbe 0x51d9b9
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
jbe 0x51d9b9
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x20]
jmp 0x51d9bc
cmp edi, eax
jae 0x51da31
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x38]
nop dword [eax]
mov ecx, dword [ebp + 0x20]
cmp eax, dword [ecx + 0x5c]
jae 0x51da4f
movzx ecx, word [eax]
cmp dword [edx + 0x28], ecx
je 0x51da31
cmp dword [edx + 0x2c], ecx
je 0x51da31
add eax, 2
inc edi
mov dword [edx + 0x38], eax
cmp edi, dword [edx + 0x24]
jb 0x51da10
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x51c8e1
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 0x38]
jmp 0x522c0a
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x51da34
cmp eax, dword [edi + 0x64]
jbe 0x51da34
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
jmp 0x51da34
mov eax, dword [eax + 0x20]
test esi, esi
mov esi, 1
je 0x51daed
cmp eax, esi
jb 0x51db28
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
jmp 0x51da93
mov eax, dword [ebp - 4]
cmp edx, dword [edi + 0x5c]
jae 0x51ec1c
movzx ecx, word [edx]
add edx, 2
mov dword [eax + 0x38], edx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51dad7
movzx eax, word [edx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
add edx, 2
mov dword [eax + 0x38], edx
jmp 0x51dada
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], ecx
je case.0x51c903.160
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x51da90
jmp 0x51db28
cmp eax, 1
jb 0x51db28
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
nop dword [eax + eax]
cmp edx, dword [edi + 0x5c]
jae 0x51ec1c
mov ebx, dword [ebp - 4]
movzx eax, word [edx]
add edx, 2
mov dword [ebx + 0x38], edx
cmp dword [ebx + 0x28], eax
mov eax, ebx
je 0x51cce8
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x51db00
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x51c8de
cmp dword [ebp - 0xc], 0
je 0x52441c
mov eax, ebx
mov ecx, ebx
mov eax, dword [eax + 0x38]
mov dword [ecx + 4], eax
mov eax, ebx
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test esi, esi
je 0x51dc01
cmp edi, eax
jae 0x51dbfc
mov eax, ebx
mov edx, dword [eax + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x51dbdf
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51dbad
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], ecx
je 0x51dbc1
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x51db70
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x51c8e1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
jmp 0x523501
mov edi, eax
cmp word [edi + 0x48], 0
je 0x51dbc4
cmp edx, dword [edi + 0x64]
jbe 0x51dbc4
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x51d9eb
jmp 0x51dbc4
mov edi, dword [ebp + 0x20]
jmp 0x51dbc7
cmp edi, eax
jae 0x51dc31
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
cmp ecx, dword [eax + 0x5c]
jae 0x51dc4f
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x51dc31
mov eax, ebx
add ecx, 2
inc edi
mov dword [eax + 0x38], ecx
cmp edi, dword [eax + 0x24]
jb 0x51dc10
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x51c8e1
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 0x38]
jmp 0x522c88
mov edi, eax
cmp word [edi + 0x48], 0
je 0x51dc34
cmp ecx, dword [edi + 0x64]
jbe 0x51dc34
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
jmp 0x51dc34
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
add eax, 2
mov dword [ecx + 8], eax
mov eax, ecx
add dword [eax], 0x22
mov edx, dword [eax]
movzx ecx, word [edx]
lea eax, [ecx - 0x62]
cmp eax, 0xb
ja case.default.0x51dc9c
movzx eax, byte [eax + 0x524d84]
jmp dword [eax*4 + 0x524d7c]
lea eax, [edx + 2]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ecx*4 + 0x553818]
mov dword [edx + 0x20], eax
mov eax, dword [ecx*4 + 0x553844]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x553870]
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0x20]
jmp 0x51dd29
mov ecx, dword [ebp - 4]
movzx eax, word [edx + 2]
mov dword [ecx + 0x20], eax
mov eax, ecx
mov ecx, 0xffffffff
mov eax, dword [eax]
movzx eax, word [eax + 4]
test eax, eax
cmove eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov eax, ecx
mov ecx, dword [eax]
movzx eax, word [ecx]
mov eax, dword [eax*4 + 0x553870]
mov dword [ebp - 0xc], eax
lea eax, [ecx + 6]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, ecx
mov eax, dword [eax + 0x20]
jmp 0x51dd29
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 1
mov dword [eax + 0x20], 1
mov eax, 1
mov ebx, 1
test esi, esi
je 0x51de09
cmp eax, ebx
jb 0x51de67
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [ecx + 0x5c]
jae 0x51ddd7
movzx esi, word [edi]
add edi, 2
mov dword [eax + 0x38], edi
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51dd8b
movzx eax, word [edi]
and esi, 0x3ff
and eax, 0x3ff
shl esi, 0xa
or esi, eax
mov eax, dword [ebp - 4]
add esi, 0x10000
add edi, 2
mov dword [eax + 0x38], edi
jmp 0x51dd8e
mov eax, dword [ebp - 4]
cmp esi, 0xff
jbe 0x51dda2
cmp byte [eax + 0x31], 0x6e
je 0x51cb66
jmp 0x51ddc3
mov eax, dword [eax + 8]
mov ecx, esi
and ecx, 7
shr esi, 3
mov edx, 1
shl edx, cl
test byte [esi + eax], dl
mov eax, dword [ebp - 4]
je 0x51d610
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + 0x20]
inc ebx
cmp ebx, eax
ja 0x51de67
mov eax, dword [ebp - 4]
jmp 0x51dd47
cmp word [ecx + 0x48], 0
je 0x51de01
cmp edi, dword [ecx + 0x64]
mov edi, dword [ebp + 0x20]
jbe case.0x51c903.160
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
jmp case.0x51c903.160
mov edi, dword [ebp + 0x20]
jmp case.0x51c903.160
cmp eax, 1
jb 0x51de67
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [ecx + 0x5c]
jae 0x51ddd7
movzx esi, word [edi]
add edi, 2
mov dword [eax + 0x38], edi
cmp esi, 0xff
jbe 0x51de39
cmp byte [eax + 0x31], 0x6e
je 0x51cb66
jmp 0x51de5a
mov eax, dword [eax + 8]
mov ecx, esi
and ecx, 7
shr esi, 3
mov edx, 1
shl edx, cl
test byte [esi + eax], dl
mov eax, dword [ebp - 4]
je 0x51d610
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + 0x20]
inc ebx
cmp ebx, eax
ja 0x51de67
mov eax, dword [ebp - 4]
jmp 0x51de17
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x51c8d1
cmp dword [ebp - 0xc], 0
je 0x524432
mov eax, ebx
mov ecx, ebx
mov eax, dword [eax + 0x38]
mov dword [ecx + 4], eax
mov eax, ebx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1c], ecx
test esi, esi
je 0x51df73
cmp ecx, eax
jae 0x51df4e
mov eax, ebx
mov edi, dword [eax + 0x38]
nop word [eax + eax]
mov eax, dword [ebp + 0x20]
mov ebx, 1
cmp edi, dword [eax + 0x5c]
jae 0x51df31
movzx esi, word [edi]
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51deed
movzx eax, word [edi + 2]
and esi, 0x3ff
and eax, 0x3ff
shl esi, 0xa
or esi, eax
mov ebx, 2
add esi, 0x10000
mov eax, dword [ebp - 4]
cmp esi, 0xff
jbe 0x51df00
cmp byte [eax + 0x31], 0x6e
je 0x51df2c
jmp 0x51df1d
mov eax, dword [eax + 8]
mov ecx, esi
and ecx, 7
shr esi, 3
mov edx, 1
shl edx, cl
test byte [esi + eax], dl
je 0x51df2c
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
lea edi, [edi + ebx*2]
inc ecx
mov dword [eax + 0x38], edi
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [eax + 0x24]
jb 0x51deb0
mov edi, dword [ebp + 0x20]
jmp 0x51df55
cmp word [eax + 0x48], 0
je 0x51df53
cmp edi, dword [eax + 0x64]
mov edi, eax
jbe 0x51df55
mov dword [edi + 0x2c], ebx
cmp word [edi + 0x48], bx
ja 0x51d9eb
jmp 0x51df55
mov edi, dword [ebp + 0x20]
jmp 0x51df58
mov edi, eax
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
je 0x51c8de
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc9
jmp 0x5249d1
cmp ecx, eax
jae 0x51e01b
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [edx + 0x5c]
jae 0x51dff8
movzx esi, word [edi]
cmp esi, 0xff
jbe 0x51dfc7
cmp byte [eax + 0x31], 0x6e
jne 0x51dfe7
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
je 0x51c8de
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jb case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x18
jmp 0x5249d1
mov eax, dword [eax + 8]
mov ecx, esi
and ecx, 7
shr esi, 3
mov edx, 1
shl edx, cl
test byte [esi + eax], dl
je 0x51df9a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
add edi, 2
inc ecx
mov dword [eax + 0x38], edi
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [eax + 0x24]
jb 0x51df84
jmp 0x51df9a
cmp word [edx + 0x48], 0
je 0x51df9a
cmp edi, dword [edx + 0x64]
mov edi, dword [ebp + 0x20]
jbe 0x51df9d
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
jmp 0x51df9d
mov edi, dword [ebp + 0x20]
jmp 0x51dfa0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
add eax, 4
mov dword [ecx + 8], eax
mov eax, ecx
mov ecx, dword [eax]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov dword [eax], ecx
movzx edx, word [ecx]
lea eax, [edx - 0x62]
cmp eax, 0xb
ja case.default.0x51e054
movzx eax, byte [eax + 0x524d98]
jmp dword [eax*4 + 0x524d90]
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [edx*4 + 0x553818]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x553844]
mov edx, dword [edx*4 + 0x553870]
mov dword [ecx + 0x24], eax
mov eax, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0x20]
jmp 0x51e0e0
movzx eax, word [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov eax, ecx
mov ecx, 0xffffffff
mov eax, dword [eax]
movzx eax, word [eax + 4]
test eax, eax
cmove eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov eax, ecx
mov ecx, dword [eax]
movzx eax, word [ecx]
mov eax, dword [eax*4 + 0x553870]
mov dword [ebp - 0xc], eax
lea eax, [ecx + 6]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, ecx
mov eax, dword [eax + 0x20]
jmp 0x51e0e0
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 1
mov dword [eax + 0x20], 1
mov eax, 1
mov esi, 1
cmp eax, esi
jb 0x51e166
nop dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x51e252
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x51e144
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e141
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
push dword [ebp - 8]
push dword [eax + 8]
push ecx
call fcn.00532940
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 4]
je 0x51cce8
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x51e0f0
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x51c8db
cmp dword [ebp - 0xc], 0
je 0x5230c0
mov eax, ebx
mov ecx, ebx
mov eax, dword [eax + 0x38]
mov dword [ecx + 4], eax
mov eax, ebx
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x51e20c
mov edx, dword [eax + 0x38]
mov ebx, dword [ebp - 8]
jmp 0x51e1a3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [ecx + 0x5c]
jae 0x51e22a
movzx ecx, word [edx]
test ebx, ebx
je 0x51e1e7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e1e4
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov eax, dword [ebp - 4]
push ebx
push dword [eax + 8]
push ecx
call fcn.00532940
add esp, 0xc
test eax, eax
je 0x51e20c
mov ecx, dword [ebp - 4]
lea eax, [esi + esi]
inc edi
add dword [ecx + 0x38], eax
mov eax, ecx
mov edx, dword [eax + 0x38]
cmp edi, dword [eax + 0x24]
jb 0x51e1a0
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
je 0x51c8db
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x65
jmp 0x5249d1
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x51e20f
cmp edx, dword [edi + 0x64]
jbe 0x51e20f
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x51d9eb
jmp 0x51e20f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e261
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e2a1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e2a1
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
ja 0x51e370
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je 0x51e370
xor esi, esi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x524b32
sub eax, dword [eax + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0xa0]
mov ebx, dword [ebp - 4]
or dword [eax + 0x3c], 2
movzx eax, byte [ebx + 0x30]
dec eax
cmp eax, 0xdd
ja case.0x522d54.15
movzx eax, byte [eax + 0x524e90]
jmp dword [eax*4 + 0x524da4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e317
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e357
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e357
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
ja case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x51c903.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x51c8de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e399
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e3d9
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e3d9
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
ja 0x51e370
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jmp 0x51e2b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e40b
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e44b
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e44b
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
ja case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x51c903.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x51c8de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e48d
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e4cd
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e4cd
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
ja 0x51e370
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jmp 0x51e2b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e503
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e543
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e543
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
ja case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x51c903.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x51c8de
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x51e585
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp esi, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [esi]
add esi, 2
cmp dword [ebp - 8], 0
mov edx, esi
mov dword [eax + 0x38], esi
je 0x51e5c6
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e5c6
movzx eax, word [esi]
lea edx, [esi + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
mov dword [eax + 0x38], edx
cmp ecx, 0xd
ja 0x51e62e
je 0x51e5e1
cmp ecx, 0xa
je 0x51e659
jbe case.0x51c903.160
cmp ecx, 0xc
jmp 0x51e648
cmp edx, dword [edi + 0x5c]
jb 0x51e612
cmp word [edi + 0x48], 0
je 0x51e659
cmp edx, dword [edi + 0x64]
jbe 0x51e659
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
add dword [eax], 2
jmp 0x51c8e1
cmp word [edx], 0xa
jne 0x51e659
mov ecx, dword [ebp - 4]
lea eax, [edx + 2]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x38], eax
mov eax, ecx
add dword [eax], 2
jmp 0x51c8e1
cmp ecx, 0x85
je 0x51e64e
cmp ecx, 0x2027
jbe case.0x51c903.160
cmp ecx, 0x2029
ja case.0x51c903.160
cmp word [edi + 0x4a], 2
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
add dword [eax], 2
jmp 0x51c8e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e685
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e6c8
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e6c5
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
cmp ecx, 0x180e
ja 0x51e712
je case.0x51c903.160
cmp ecx, 0xa0
ja 0x51e6fe
je case.0x51c903.160
cmp ecx, 9
je case.0x51c903.160
cmp ecx, 0x20
je case.0x51c903.160
add dword [eax], 2
jmp 0x51c8de
cmp ecx, 0x1680
je case.0x51c903.160
add dword [eax], 2
jmp 0x51c8de
cmp ecx, 0x205f
ja 0x51e74c
je case.0x51c903.160
cmp ecx, 0x2000
jb 0x51e373
cmp ecx, 0x200a
jbe case.0x51c903.160
cmp ecx, 0x202f
je case.0x51c903.160
add dword [eax], 2
jmp 0x51c8de
cmp ecx, 0x3000
je case.0x51c903.160
add dword [eax], 2
jmp 0x51c8de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e77e
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e7c1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e7be
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
cmp ecx, 0x180e
ja 0x51e7f3
je 0x51e373
cmp ecx, 0xa0
ja 0x51e7eb
je 0x51e373
cmp ecx, 9
je 0x51e373
cmp ecx, 0x20
jmp 0x51e827
cmp ecx, 0x1680
jmp 0x51e827
cmp ecx, 0x205f
ja 0x51e821
je 0x51e373
cmp ecx, 0x2000
jb case.0x51c903.160
cmp ecx, 0x200a
jbe 0x51e373
cmp ecx, 0x202f
jmp 0x51e827
cmp ecx, 0x3000
je 0x51e373
jmp case.0x51c903.160
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e850
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e890
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e890
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0x85
ja 0x51e8bb
je case.0x51c903.160
cmp ecx, 0xa
jb 0x51e370
cmp ecx, 0xd
jbe case.0x51c903.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x51c8de
lea eax, [ecx - 0x2028]
cmp eax, 1
ja 0x51e370
jmp case.0x51c903.160
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e8ed
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x51e92d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e92d
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0x85
ja 0x51e952
je 0x51e370
cmp ecx, 0xa
jb case.0x51c903.160
cmp ecx, 0xd
jbe 0x51e370
jmp case.0x51c903.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x51c903.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x51c8de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x51e98a
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx edx, word [eax]
lea ecx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ecx
test esi, esi
je 0x51e9ca
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51e9ca
movzx eax, word [ecx]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
add edx, 0x10000
mov dword [ecx + 0x38], eax
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
movzx eax, word [esi + 2]
cmp eax, 0xa
ja case.0x522d54.15
jmp dword [eax*4 + 0x524f70]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0xf
je case.0x51c903.160
add dword [eax], 6
jmp 0x51c8db
mov al, byte [ecx*4 + 0x5550f1]
cmp al, 9
je 0x51ea31
cmp al, 5
je 0x51ea31
cmp al, 8
je 0x51ea31
xor ecx, ecx
jmp 0x51ea36
mov ecx, 1
mov ebx, dword [ebp - 4]
xor eax, eax
cmp byte [ebx + 0x31], 0xf
sete al
cmp ecx, eax
mov eax, dword [ebp - 4]
jne 0x51ea12
xor esi, esi
jmp 0x51e2bf
movzx ecx, byte [ecx*4 + 0x5550f1]
xor edx, edx
movzx eax, word [esi + 4]
cmp eax, dword [ecx*4 + 0x5541d8]
mov ecx, dword [ebp - 4]
setne dl
xor eax, eax
cmp byte [ecx + 0x31], 0x10
sete al
cmp edx, eax
mov eax, ecx
jne 0x51ea12
xor esi, esi
jmp 0x51e2bf
movzx eax, byte [ecx*4 + 0x5550f1]
mov ebx, dword [ebp - 4]
xor ecx, ecx
cmp word [esi + 4], ax
setne cl
xor eax, eax
cmp byte [ebx + 0x31], 0x10
jmp 0x51ea3f
movzx eax, byte [ecx*4 + 0x5550f0]
jmp 0x51ea89
movzx eax, byte [ecx*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x51ea31
cmp eax, 3
je 0x51ea31
xor ecx, ecx
jmp 0x51ea36
cmp edx, 0x180e
ja 0x51eb02
je case.0x51eb1e.8192
cmp edx, 0x85
ja 0x51eaf2
je case.0x51eb1e.8192
cmp edx, 9
jb case.0x51eb1e.8203
cmp edx, 0xd
jbe case.0x51eb1e.8192
cmp edx, 0x20
jmp 0x51eb33
cmp edx, 0xa0
je case.0x51eb1e.8192
cmp edx, 0x1680
jmp 0x51eb33
cmp edx, 0x202f
ja 0x51eb25
je case.0x51eb1e.8192
add edx, 0xffffe000
cmp edx, 0x29
ja case.0x51eb1e.8203
movzx eax, byte [edx + 0x524fa4]
jmp dword [eax*4 + 0x524f9c]
cmp edx, 0x205f
je case.0x51eb1e.8192
cmp edx, 0x3000
je case.0x51eb1e.8192
movzx eax, byte [ecx*4 + 0x5550f1]
xor ecx, ecx
cmp dword [eax*4 + 0x5541d8], 6
sete cl
jmp 0x51ea36
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0xf
jmp 0x51ea44
movzx eax, byte [ecx*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x51ea31
cmp eax, 3
je 0x51ea31
cmp edx, 0x5f
je 0x51ea31
xor ecx, ecx
jmp 0x51ea36
movzx eax, word [esi + 4]
mov ecx, dword [eax*4 + 0x554d38]
lea eax, [eax*4 + 0x554d38]
cmp edx, ecx
jb 0x51ebaf
lea eax, [eax + 4]
cmp edx, ecx
je 0x51ebbb
mov ecx, dword [eax]
cmp edx, ecx
jae 0x51eba2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0x10
jmp 0x51ea44
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0x10
je 0x51ea12
xor esi, esi
jmp 0x51e2bf
cmp edx, 0x24
je 0x51ea31
cmp edx, 0x40
je 0x51ea31
cmp edx, 0x60
je 0x51ea31
cmp edx, 0xa0
jb 0x51ebfe
cmp edx, 0xd7ff
jbe 0x51ea31
cmp edx, 0xe000
jae 0x51ea31
xor ecx, ecx
jmp 0x51ea36
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
cmp edx, dword [edi + 0x5c]
jb 0x51ec2f
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp edx, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [edx]
add edx, 2
mov ebx, dword [ebp - 8]
mov esi, edx
mov dword [eax + 0x38], edx
test ebx, ebx
je 0x51ec71
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51ec71
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
mov dword [eax + 0x38], esi
push 0
push ebx
push dword [edi + 0x5c]
push dword [edi + 0x58]
push esi
push ecx
call fcn.00531e80
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ecx + 0x38], eax
cmp word [edi + 0x48], 0
je 0x51ecad
cmp eax, dword [edi + 0x5c]
jb 0x51ecad
cmp eax, dword [edi + 0x64]
jbe 0x51ecad
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
mov eax, dword [ebp - 4]
mov esi, ebx
add dword [eax], 2
jmp 0x51c8de
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x20], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51edb6
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp - 4]
mov ebx, ecx
mov dword [eax + 0x20], 0
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov eax, ecx
mov eax, dword [eax]
cmp word [eax], 0x5c
setne dl
add eax, 4
mov dword [ebp - 0xc], edx
mov dword [ebx], eax
jmp 0x51edbb
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0xffffffff
add dword [eax], 2
jmp 0x51edb6
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], 0xffffffff
add dword [eax], 2
jmp 0x51edb6
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 1
add dword [eax], 2
jmp 0x51edb6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax + 0x20], 0
mov eax, dword [eax]
movzx eax, word [eax + 2]
mov dword [ecx + 0x24], eax
mov eax, ecx
add dword [eax], 4
jmp 0x51edb6
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [eax]
movzx ecx, word [eax]
add eax, 2
mov dword [edx], eax
mov eax, dword [ecx*4 + 0x55384c]
mov dword [edx + 0x20], eax
mov eax, dword [ecx*4 + 0x553878]
mov dword [edx + 0x24], eax
mov eax, dword [ecx*4 + 0x5538a4]
mov dword [ebp - 0xc], eax
mov eax, edx
mov ebx, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
add ecx, 2
mov dword [eax], ecx
mov eax, dword [eax + 0x28]
cmp eax, 0x10
je 0x51ede0
cmp eax, 0xf
je 0x51ede0
mov eax, dword [ebp - 4]
or ebx, 0xffffffff
jmp 0x51edf6
movzx ebx, word [ecx]
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
movzx eax, word [eax]
mov dword [ecx + 0x2c], eax
mov eax, ecx
add dword [eax], 2
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x1c], ebx
test edx, edx
je 0x51ef50
test ebx, ebx
js 0x51f5d6
cmp ebx, 0xa
ja case.0x522d54.15
jmp dword [ebx*4 + 0x524fd0]
cmp dword [eax + 0x28], 0xf
je case.0x51c903.160
mov ecx, dword [eax + 0x38]
mov esi, 1
mov ebx, dword [ebp - 8]
cmp ecx, dword [edi + 0x5c]
jae 0x51ee6f
movzx edx, word [ecx]
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov ecx, eax
test ebx, ebx
je 0x51ee61
and edx, 0xfc00
cmp edx, 0xd800
jne 0x51ee61
lea ecx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ecx
jmp 0x51ee64
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax + 0x20]
jbe 0x51ee31
jmp 0x51ef4d
cmp word [edi + 0x48], 0
je 0x51ee8d
cmp ecx, dword [edi + 0x64]
jbe 0x51ee8d
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
mov eax, dword [ebp - 4]
xor esi, esi
mov edx, ebx
jmp 0x51e2c2
mov esi, dword [eax + 0x38]
mov edi, 1
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x51ef8c
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x51eeee
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51eeee
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
mov dword [eax + 0x38], esi
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x5550f1]
cmp al, 9
je 0x51ef25
cmp al, 5
je 0x51ef25
cmp al, 8
je 0x51ef25
xor ecx, ecx
jmp 0x51ef2a
mov ecx, 1
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x51d610
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x51eea1
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 0x20]
cmp eax, dword [ebx + 0x24]
je 0x51c8db
cmp dword [ebp - 0xc], 0
je 0x52444b
mov eax, ebx
mov eax, dword [eax + 0x38]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x520b3d
cmp eax, 0xa
ja case.0x522d54.15
jmp dword [eax*4 + 0x524ffc]
mov edi, ecx
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp esi, dword [edi + 0x64]
jmp 0x51dde4
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x51ef8c
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x51eff9
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51eff9
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
mov dword [eax + 0x38], esi
mov edx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x51d610
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x51efb0
jmp 0x51ef4a
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x51ef8c
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x51f0ad
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51f0ad
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
mov dword [eax + 0x38], esi
mov edx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x51d610
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x51f060
jmp 0x51ef4a
mov esi, dword [eax + 0x38]
mov edi, 1
nop word [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x51ef8c
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x51f15d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51f15d
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
mov dword [eax + 0x38], esi
mov edx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f0]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x51d610
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x51f110
jmp 0x51ef4a
mov esi, dword [eax + 0x38]
mov edi, 1
nop word [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x51ef8c
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x51f20d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51f20d
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
mov dword [eax + 0x38], esi
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x51f24a
cmp eax, 3
je 0x51f24a
xor ecx, ecx
jmp 0x51f24f
mov ecx, 1
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x51d610
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x51f1c0
jmp 0x51ef4a
mov esi, 1
nop dword [eax]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x51e252
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x51f2d0
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51f2d0
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
mov edx, dword [ebp - 4]
add ecx, 0x10000
mov dword [edx + 0x38], eax
jmp 0x51f2d3
mov edx, dword [ebp - 4]
cmp ecx, 0x180e
ja 0x51f316
je case.0x51f332.8192
cmp ecx, 0x85
ja 0x51f302
je case.0x51f332.8192
cmp ecx, 9
jb case.0x51f332.8203
cmp ecx, 0xd
jbe case.0x51f332.8192
cmp ecx, 0x20
jmp 0x51f347
cmp ecx, 0xa0
je case.0x51f332.8192
cmp ecx, 0x1680
jmp 0x51f347
cmp ecx, 0x202f
ja 0x51f339
je case.0x51f332.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x51f332.8203
movzx eax, byte [eax + 0x525030]
jmp dword [eax*4 + 0x525028]
cmp ecx, 0x205f
je case.0x51f332.8192
cmp ecx, 0x3000
je case.0x51f332.8192
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
cmp dword [eax*4 + 0x5541d8], 6
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, dword [ebp - 4]
je 0x51cce8
jmp 0x51f3a1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je case.0x51c903.160
inc esi
cmp esi, dword [eax + 0x20]
mov eax, dword [ebp - 4]
ja 0x51ef50
jmp 0x51f280
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x51ef8c
cmp dword [ebp - 8], 0
lea ecx, [esi + 2]
movzx edx, word [esi]
mov esi, ecx
mov dword [eax + 0x38], ecx
je 0x51f40d
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51f40d
movzx eax, word [ecx]
lea esi, [ecx + 2]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
mov eax, dword [ebp - 4]
add edx, 0x10000
mov dword [eax + 0x38], esi
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x51f451
cmp eax, 3
je 0x51f451
cmp edx, 0x5f
je 0x51f451
xor ecx, ecx
jmp 0x51f456
mov ecx, 1
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x51d610
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x51f3c0
jmp 0x51ef4a
mov esi, 1
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x51e252
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x51f4d1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51f4ce
movzx eax, word [edx]
and ecx, 0x3ff
mov ebx, dword [ebp - 4]
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax*4 + 0x554d38]
lea eax, [eax*4 + 0x554d38]
cmp ecx, edx
jb 0x51f4f3
lea eax, [eax + 4]
cmp ecx, edx
je 0x51f512
mov edx, dword [eax]
cmp ecx, edx
jae 0x51f4e6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
jne 0x51cce8
inc esi
cmp esi, dword [eax + 0x20]
mov eax, dword [ebp - 4]
ja 0x51ef50
jmp 0x51f480
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je case.0x51c903.160
jmp 0x51f500
mov esi, 1
nop word [eax + eax]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x51e252
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x51f580
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51f580
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
mov edx, dword [ebp - 4]
add ecx, 0x10000
mov dword [edx + 0x38], eax
jmp 0x51f583
mov edx, dword [ebp - 4]
cmp ecx, 0x24
je 0x51f5ae
cmp ecx, 0x40
je 0x51f5ae
cmp ecx, 0x60
je 0x51f5ae
cmp ecx, 0xa0
jb 0x51f5a2
cmp ecx, 0xd7ff
jbe 0x51f5ae
cmp ecx, 0xe000
jae 0x51f5ae
xor ecx, ecx
jmp 0x51f5b3
mov ecx, 1
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, dword [ebp - 4]
je 0x51cce8
inc esi
cmp esi, dword [eax + 0x20]
jbe 0x51f530
jmp 0x51ef4d
mov eax, dword [eax + 0x28]
cmp eax, 0x16
jne 0x51f6a7
mov ebx, dword [ebp + 0x20]
lea edi, [eax - 0x15]
mov eax, dword [ebp - 4]
nop dword [eax + eax]
mov eax, dword [eax + 0x38]
cmp eax, dword [ebx + 0x5c]
jae 0x51f692
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov esi, edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x51f640
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x51f640
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, 0x10000
mov dword [eax + 0x38], esi
push 0
push dword [ebp - 8]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push esi
push ecx
call fcn.00531e80
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ecx + 0x38], eax
cmp word [ebx + 0x48], 0
je 0x51f67e
cmp eax, dword [ebx + 0x5c]
jb 0x51f67e
cmp eax, dword [ebx + 0x64]
jbe 0x51f67e
mov dword [ebx + 0x2c], 1
cmp word [ebx + 0x48], 1
ja 0x51d9eb
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x51f5f0
mov edi, ebx
jmp 0x51ef4d
mov edi, ebx
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x522d54.15
test esi, esi
je 0x51fd99
jmp dword [eax*4 + 0x52505c]
jmp dword [eax*4 + 0x52509c]
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp ecx, dword [edi + 0x64]
jmp 0x51dde4
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x20]
cmp esi, dword [eax + 0x24]
jae 0x52042f
mov edx, dword [eax + 0x38]
mov ebx, dword [ebp - 8]
mov ecx, 1
cmp edx, dword [edi + 0x5c]
jae 0x520346
test ebx, ebx
je 0x52032b
mov eax, 0xfc00
and ax, word [edx]
cmp ax, word [ebp - 0x44]
mov eax, 2
cmove ecx, eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je 0x52042f
lea edx, [edx + ecx*2]
inc esi
mov dword [eax + 0x38], edx
cmp esi, dword [eax + 0x24]
jb 0x520306
jmp 0x52042f
cmp word [edi + 0x48], 0
je 0x52042f
cmp edx, dword [edi + 0x64]
jbe 0x52042f
mov dword [edi + 0x2c], ecx
cmp word [edi + 0x48], cx
ja 0x51d9eb
jmp 0x52042f
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x520429
mov edx, dword [eax + 0x38]
nop
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x520447
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x5203c7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5203c7
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x5550f1]
cmp al, 9
je 0x5203fe
cmp al, 5
je 0x5203fe
cmp al, 8
je 0x5203fe
xor ecx, ecx
jmp 0x520403
mov ecx, 1
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x520878
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x520380
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc], 2
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 0x1c]
je 0x51c8e1
mov ecx, dword [eax + 0x38]
jmp 0x5243bb
mov edi, eax
cmp word [edi + 0x48], 0
je 0x52042c
cmp edx, dword [edi + 0x64]
jbe 0x52042c
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x51d9eb
jmp 0x52042c
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x520429
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x520447
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x5204b5
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5204b5
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov ebx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x520878
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x520472
jmp 0x520429
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x520429
mov edx, dword [eax + 0x38]
nop dword [eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x520447
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x520577
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x520577
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov ebx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x520878
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x520530
jmp 0x520429
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x520429
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x520447
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x52062b
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x52062b
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov ebx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f0]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x520878
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x5205e4
jmp 0x520429
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x520429
mov edx, dword [eax + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x520447
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x5206e7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5206e7
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x520724
cmp eax, 3
je 0x520724
xor ecx, ecx
jmp 0x520729
mov ecx, 1
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x520878
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x5206a0
jmp 0x520429
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
cmp ebx, dword [eax + 0x24]
jae 0x52042c
mov edx, dword [eax + 0x38]
mov edi, edx
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x520447
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x5207b7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5207b7
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
cmp ecx, 0x180e
ja 0x5207fa
je case.0x52081a.8192
cmp ecx, 0x85
ja 0x5207e6
je case.0x52081a.8192
cmp ecx, 9
jb case.0x52081a.8203
cmp ecx, 0xd
jbe case.0x52081a.8192
cmp ecx, 0x20
jmp 0x52082f
cmp ecx, 0xa0
je case.0x52081a.8192
cmp ecx, 0x1680
jmp 0x52082f
cmp ecx, 0x202f
ja 0x520821
je case.0x52081a.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x52081a.8203
movzx eax, byte [eax + 0x5250e4]
jmp dword [eax*4 + 0x5250dc]
cmp ecx, 0x205f
je case.0x52081a.8192
cmp ecx, 0x3000
je case.0x52081a.8192
mov edx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
cmp dword [eax*4 + 0x5541d8], 6
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
jne 0x52088f
mov edi, dword [ebp + 0x20]
jmp 0x52042f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je 0x520429
mov edi, edx
lea edx, [edi + esi*2]
inc ebx
mov dword [eax + 0x38], edx
mov edi, edx
cmp ebx, dword [eax + 0x24]
jb 0x520770
jmp 0x520429
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
cmp ebx, dword [eax + 0x24]
jae 0x52042c
mov esi, dword [eax + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov edi, 1
cmp esi, dword [eax + 0x5c]
jae 0x52097b
cmp dword [ebp - 8], 0
movzx edx, word [esi]
je 0x520907
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x520907
movzx eax, word [esi + 2]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
mov edi, 2
add edx, 0x10000
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x52094b
cmp eax, 3
je 0x52094b
cmp edx, 0x5f
je 0x52094b
xor ecx, ecx
jmp 0x520950
mov ecx, 1
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x520878
lea esi, [esi + edi*2]
inc ebx
mov dword [eax + 0x38], esi
cmp ebx, dword [eax + 0x24]
jb 0x5208c0
jmp 0x520429
mov edi, eax
cmp word [edi + 0x48], 0
je 0x52042c
cmp esi, dword [edi + 0x64]
jbe 0x52042c
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
jmp 0x52042c
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x520429
mov edx, dword [eax + 0x38]
mov ebx, dword [ebp - 8]
nop dword [eax]
mov ecx, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [ecx + 0x5c]
jae 0x520a64
movzx ecx, word [edx]
test ebx, ebx
je 0x520a08
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x520a05
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax*4 + 0x554d38]
lea eax, [eax*4 + 0x554d38]
cmp ecx, edx
jb 0x520a2d
nop dword [eax]
lea eax, [eax + 4]
cmp ecx, edx
je 0x520a55
mov edx, dword [eax]
cmp ecx, edx
jae 0x520a20
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0xf
jne 0x520429
lea eax, [esi + esi]
inc edi
add dword [ecx + 0x38], eax
mov edx, dword [ecx + 0x38]
mov eax, dword [ebp - 4]
cmp edi, dword [ecx + 0x24]
jb 0x5209c0
jmp 0x520429
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0xf
je 0x520429
jmp 0x520a3a
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x52042c
cmp edx, dword [edi + 0x64]
jbe 0x52042c
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x51d9eb
jmp 0x52042c
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x24]
jae 0x520429
mov edx, dword [ebx + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x520447
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x520ae7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x520ae7
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
cmp ecx, 0x24
je 0x520b12
cmp ecx, 0x40
je 0x520b12
cmp ecx, 0x60
je 0x520b12
cmp ecx, 0xa0
jb 0x520b06
cmp ecx, 0xd7ff
jbe 0x520b12
cmp ecx, 0xe000
jae 0x520b12
xor ecx, ecx
jmp 0x520b17
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je 0x520429
lea edx, [edx + esi*2]
inc edi
mov dword [ebx + 0x38], edx
cmp edi, dword [ebx + 0x24]
jb 0x520aa0
jmp 0x520429
mov eax, dword [ebx + 0x28]
cmp eax, 0x16
jne 0x520c34
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x24]
jae 0x520c1c
mov ecx, dword [ebp + 0x20]
nop dword [eax + eax]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ecx + 0x5c]
jae 0x520bf9
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov esi, edx
mov dword [ebx + 0x38], edx
je 0x520baa
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x520baa
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
mov dword [ebx + 0x38], esi
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
mov eax, dword [ebp + 0x20]
push 0
push dword [ebp - 8]
push dword [eax + 0x5c]
push dword [eax + 0x58]
push esi
push ecx
call fcn.00531e80
mov ecx, dword [ebp + 0x20]
add esp, 0x18
mov dword [ebx + 0x38], eax
cmp word [ecx + 0x48], 0
je 0x520beb
cmp eax, dword [ecx + 0x5c]
jb 0x520beb
cmp eax, dword [ecx + 0x64]
jbe 0x520beb
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x51d9eb
inc edi
cmp edi, dword [ebx + 0x24]
jb 0x520b60
mov edi, ecx
jmp 0x520c1f
mov edi, dword [ebp + 0x20]
cmp word [edi + 0x48], 0
je 0x520c1f
cmp eax, dword [edi + 0x64]
jbe 0x520c1f
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
jmp 0x520c1f
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov esi, dword [ebp - 8]
je 0x51c8de
mov edx, dword [ebx + 4]
jmp 0x5243a1
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x522d54.15
mov esi, dword [ebp - 8]
test esi, esi
je 0x521393
jmp dword [eax*4 + 0x525110]
jmp dword [eax*4 + 0x525150]
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dl, 0x74
sete al
mov dword [ebx + 0x28], eax
mov edx, dword [ebx]
movzx eax, word [edi + 0x4e]
movzx ecx, word [edx + 2]
movzx esi, word [edx + 4]
imul ecx, eax
mov eax, dword [edi + 0x50]
lea ecx, [eax + ecx*2]
lea eax, [edx + 6]
mov dword [ebx], eax
test esi, esi
je 0x5219e8
nop dword [eax]
movzx eax, word [ecx]
dec esi
lea eax, [eax*2 - 2]
mov dword [ebx + 0x14], eax
cmp eax, dword [ebx + 0x50]
jae 0x5219ba
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
jne 0x5219e8
movzx eax, word [edi + 0x4e]
lea ecx, [ecx + eax*2]
test esi, esi
jg 0x5219a0
jmp 0x5219e8
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dl, 0x72
sete al
mov dword [ebx + 0x28], eax
mov eax, dword [ebx]
movzx eax, word [eax + 2]
lea eax, [eax*2 - 2]
mov dword [ebx + 0x14], eax
add dword [ebx], 4
mov ecx, dword [ebx]
movzx edx, word [ecx]
lea eax, [edx - 0x62]
cmp eax, 7
ja case.default.0x521a00
movzx eax, byte [eax + 0x525198]
jmp dword [eax*4 + 0x525190]
mov esi, dword [edx*4 + 0x553870]
lea eax, [ecx + 2]
mov dword [ebx], eax
mov eax, dword [edx*4 + 0x553818]
mov dword [ebx + 0x20], eax
mov eax, dword [edx*4 + 0x553844]
mov dword [ebx + 0x24], eax
mov dword [ebp - 0xc], esi
jmp 0x521a5b
movzx eax, word [ecx + 2]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx]
movzx ecx, word [eax + 4]
mov dword [ebx + 0x24], ecx
mov edx, dword [ebx]
movzx eax, word [edx]
mov eax, dword [eax*4 + 0x553870]
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x521a56
mov dword [ebx + 0x24], 0xffffffff
lea eax, [edx + 6]
mov dword [ebx], eax
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x50]
jae 0x521a7e
mov ecx, dword [ebx + eax*4 + 0x54]
cmp ecx, 0xffffffff
je 0x521a7e
mov esi, dword [ebp - 8]
cmp ecx, dword [ebx + eax*4 + 0x58]
je 0x51c8de
mov eax, dword [ebx + 0x20]
jmp 0x521a9c
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp - 8]
test eax, eax
je 0x51c8de
test dword [edi + 0x84], 0x200
jne 0x51c8de
mov esi, 1
cmp eax, esi
jb 0x521ad1
lea eax, [ebp - 0x4c]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.005252e0
add esp, 0x14
test eax, eax
jne 0x521b42
mov eax, dword [ebp - 0x4c]
inc esi
add eax, eax
add dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x20]
cmp esi, eax
jbe 0x521aa5
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x51c8de
cmp dword [ebp - 0xc], 0
je 0x524529
mov eax, dword [ebx + 0x38]
mov esi, 1
mov dword [ebx + 4], eax
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + ecx*4 + 0x58]
sub eax, dword [ebx + ecx*4 + 0x54]
mov dword [ebx + 0xc], eax
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x24]
jae 0x521b97
nop dword [eax]
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0x20]
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.005252e0
add esp, 0x14
test eax, eax
jne 0x521b69
mov eax, dword [ebp - 0x50]
xor ecx, ecx
cmp eax, dword [ebx + 0xc]
cmovne esi, ecx
add eax, eax
add dword [ebx + 0x38], eax
inc edi
cmp edi, dword [ebx + 0x24]
jb 0x521b10
jmp 0x521b8f
jle 0x521b4a
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
jle 0x521b8f
mov ecx, dword [ebp + 0x20]
cmp word [ecx + 0x48], 0
je 0x521b8f
mov eax, dword [ecx + 0x5c]
cmp eax, dword [ecx + 0x64]
jbe 0x521b8f
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x51d9eb
test esi, esi
je 0x524484
mov edi, dword [ebp + 0x20]
jmp 0x5229ad
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.005252e0
add esp, 0x14
test eax, eax
je 0x521bde
jle 0x521bbf
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
mov eax, dword [ebp + 0xc]
add eax, eax
add dword [ebx + 0x38], eax
jmp 0x51c8db
mov edx, dword [ebp - 4]
add dword [edx], 2
mov ecx, dword [edx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [edx], ecx
cmp word [ecx], 0x78
je 0x521bf3
lea eax, [ecx + 4]
mov dword [edx], eax
jmp 0x51c8e1
cmp dword [edi + 0x30], 0
mov ebx, dword [ebp - 4]
jne 0x524498
cmp dword [ebx + 0x18], 0
je 0x524498
mov ecx, dword [ebx]
jmp 0x5225c0
mov ebx, dword [ebp - 4]
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
call fcn.0051c6c0
mov esi, eax
add esp, 0xc
test esi, esi
jg case.0x51c903.160
js 0x51e2bc
mov eax, dword [ebp + 0xc]
add eax, eax
add dword [ebx], eax
jmp 0x51c8db
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
movzx eax, word [eax + 2]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx]
cmp word [ecx + eax*2], 0x78
je 0x521c72
add eax, 0xfffffffe
mov dword [ebx + 0xc], eax
add ecx, 4
mov dword [ebx], ecx
movzx eax, word [ecx]
mov edx, eax
cmp eax, 0x76
je 0x521c86
cmp eax, 0x77
jne 0x521cb4
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
call fcn.0051c6c0
mov esi, eax
add esp, 0xc
test esi, esi
jg case.0x51c903.160
js 0x51e2bc
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + ecx]
add dword [ebx], eax
sub dword [ebx + 0xc], ecx
mov ecx, dword [ebx]
movzx edx, word [ecx]
movzx eax, dx
add eax, 0xffffff72
movzx esi, dx
cmp eax, 0x12
ja case.0x521ccf.148
movzx eax, byte [eax + 0x5251bc]
jmp dword [eax*4 + 0x5251a0]
mov edx, dword [ebx + 0x44]
cmp edx, 0xffffffff
je case.0x521ccf.146
movzx eax, word [ecx + 2]
cmp eax, 0xffff
je case.0x521ccf.147
cmp eax, edx
je case.0x521ccf.147
jmp case.0x521ccf.146
mov esi, dword [ebx + 0x44]
cmp esi, 0xffffffff
je case.0x521ccf.146
movzx edx, word [ecx + 4]
movzx ecx, word [ecx + 2]
movzx edi, word [edi + 0x4e]
mov eax, dword [ebp + 0x20]
imul ecx, edi
mov eax, dword [eax + 0x50]
lea ecx, [eax + ecx*2]
test edx, edx
je 0x521dc5
nop word [eax + eax]
movzx eax, word [ecx]
xor ebx, ebx
dec edx
cmp eax, esi
sete bl
je 0x521d44
lea ecx, [ecx + edi*2]
test edx, edx
jg 0x521d30
mov edi, dword [ebp + 0x20]
test ebx, ebx
mov ebx, dword [ebp - 4]
je case.0x521ccf.146
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
jmp 0x521dcd
movzx eax, word [ecx + 2]
lea eax, [eax*2 - 2]
cmp eax, dword [ebx + 0x50]
jae case.0x521ccf.146
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
je case.0x521ccf.146
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
jmp 0x521dcd
movzx edx, word [ecx + 4]
movzx ecx, word [ecx + 2]
movzx esi, word [edi + 0x4e]
mov eax, dword [edi + 0x50]
imul ecx, esi
lea ecx, [eax + ecx*2]
test edx, edx
je case.0x521ccf.146
mov edi, dword [ebx + 0x50]
movzx eax, word [ecx]
dec edx
lea eax, [eax*2 - 2]
cmp eax, edi
jae 0x521dbe
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
jne 0x524234
lea ecx, [ecx + esi*2]
test edx, edx
jg 0x521da4
mov edi, dword [ebp + 0x20]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov dword [eax], ebx
cmp byte [eax + 0x31], 0x8d
jne 0x51c8db
mov edx, 0x2008d
mov byte [eax + 0x30], 0x23
mov dword [ebp + 8], edx
jmp 0x5249d1
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
movzx edx, word [eax + 2]
test esi, esi
je 0x521e30
test edx, edx
je 0x521e2b
mov ecx, dword [ebx + 0x38]
dec edx
cmp ecx, dword [edi + 0x58]
jbe case.0x51c903.160
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
mov ax, word [ecx]
and ax, word [ebp - 0x14]
cmp ax, word [ebp - 0x18]
jne 0x521e27
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
test edx, edx
jne 0x521e04
mov ecx, dword [ebx + 0x38]
jmp 0x521e4a
mov ecx, dword [ebx + 0x38]
mov eax, ecx
sub eax, dword [edi + 0x58]
sar eax, 1
cmp edx, eax
jg case.0x51c903.160
lea eax, [edx + edx]
sub ecx, eax
mov dword [ebx + 0x38], ecx
cmp ecx, dword [edi + 0x64]
jae 0x521e52
mov dword [edi + 0x64], ecx
add dword [ebx], 4
jmp 0x51c8de
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
nop
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [edx], ecx
cmp word [ecx], 0x78
je 0x521e60
jmp 0x51c8e1
mov edi, dword [ebp - 4]
mov ecx, 0x84
mov ebx, dword [edi]
movzx eax, word [ebx + 2]
add eax, eax
sub ebx, eax
movzx eax, word [ebx]
cmp ax, cx
je 0x521efc
mov ecx, 0x88
cmp ax, cx
je 0x521efc
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx + 0x10]
add edx, dword [edi + 0x4c]
mov esi, edx
mov dword [ebp - 0x10], edx
sub esi, dword [ebp + 0x1c]
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [edx + 0x1c]
and eax, 0xffff0000
cmp eax, 0x30000
jne 0x521ef7
mov eax, dword [edi + 0x50]
shl eax, 2
push eax
lea eax, [edi + 0x54]
push eax
lea eax, [esi + 0x54]
push eax
call fcn.00537770
mov eax, dword [edi + 0x50]
add esp, 0xc
mov dword [esi + 0x50], eax
mov eax, edi
sub eax, esi
mov dword [edi + 0x10], eax
mov edi, dword [ebp + 0x20]
mov esi, 1
jmp 0x51e2bc
movzx eax, word [ebx]
jmp 0x521f04
mov ecx, dword [ebp + 0x20]
xor esi, esi
mov edx, dword [ebp - 0x10]
movzx eax, ax
add eax, 0xffffff82
cmp eax, 0xe
ja case.0x521f1a.132
movzx eax, byte [eax + 0x5251e8]
jmp dword [eax*4 + 0x5251d0]
mov eax, dword [edi + 0x38]
cmp eax, dword [ecx + 0x68]
jbe 0x521f2c
mov dword [ecx + 0x68], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, edi
sub eax, esi
mov dword [edi + 0x10], eax
mov ecx, dword [esi]
movzx eax, word [ecx + 2]
cmp word [ecx + eax*2], 0x78
lea ecx, [ecx + eax*2]
jne case.0x521f1a.132
nop dword [eax]
mov dword [esi], ecx
movzx eax, word [ecx + 2]
cmp word [ecx + eax*2], 0x78
lea ecx, [ecx + eax*2]
je 0x521f50
jmp case.0x521f1a.132
push dword [ebp - 8]
push dword [edi + 0x38]
push dword [esi + 0x38]
call fcn.00532240
add esp, 0xc
test eax, eax
jne case.0x521f1a.132
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x51e2bc
movzx eax, word [ebx + 4]
cmp dword [edi + 0x44], eax
jne 0x521fd3
mov ebx, dword [ebp + 0x1c]
mov esi, edx
sub esi, ebx
mov eax, dword [esi + 0x50]
shl eax, 2
push eax
lea eax, [esi + 0x54]
push eax
lea eax, [edi + 0x54]
push eax
call fcn.00537770
mov eax, dword [esi + 0x50]
add esp, 0xc
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi]
add eax, 4
mov dword [edi], eax
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
jmp 0x51c8e1
lea edx, [eax + eax]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x38]
lea ecx, [edx - 2]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp + 0x20]
sub eax, dword [edx + 0x58]
sar eax, 1
mov dword [edi + ecx*4 + 0x54], eax
mov eax, dword [edi + 0x38]
sub eax, dword [edx + 0x58]
mov edx, dword [ebp - 0x38]
sar eax, 1
mov dword [edi + ecx*4 + 0x58], eax
cmp ecx, dword [edi + 0x50]
jb case.0x521f1a.132
mov dword [edi + 0x50], edx
mov edx, dword [edi]
cmp word [edx], 0x7c
jne 0x52202d
push dword [ebp - 0x3c]
lea eax, [edi + 0x38]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.00537770
mov edi, dword [ebp + 0x20]
add esp, 0xc
mov esi, 0xfffffc1a
jmp 0x51e2bc
mov cl, byte [edi + 0x31]
cmp cl, 0x79
je 0x522049
test esi, esi
je 0x5244eb
mov eax, dword [edi + 0x38]
cmp eax, dword [esi + 0x38]
jne 0x5244eb
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
add dword [ebx], 4
jmp 0x51c8db
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x58]
jne case.0x51c903.160
test byte [edi + 0x80], 1
jne case.0x51c903.160
add dword [ecx], 2
jmp 0x51c8e1
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x58]
je 0x522073
jmp case.0x51c903.160
test byte [edi + 0x80], 2
jne case.0x51c903.160
test byte [edi + 0x84], 0x10
je case.0x51c903.23
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x51c903.160
cmp word [edi + 0x48], 0
je 0x522073
cmp eax, dword [edi + 0x64]
jbe 0x522073
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
add dword [ecx], 2
jmp 0x51c8e1
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edx, dword [edi + 0x38]
mov esi, dword [ecx + 0x5c]
cmp edx, esi
jae 0x52215b
mov eax, dword [ecx + 0x90]
lea ebx, [ecx + 0x94]
test eax, eax
je 0x522121
push dword [ebp - 8]
push ebx
push esi
push eax
push edx
call fcn.00532060
add esp, 0x14
test eax, eax
je 0x522187
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp - 4]
mov edi, dword [ebx]
mov esi, dword [ecx + 0x5c]
mov edx, dword [eax + 0x38]
jmp 0x52214f
mov edi, dword [ebx]
mov ecx, esi
lea eax, [edi + edi]
sub ecx, eax
cmp edx, ecx
ja 0x522184
mov ecx, dword [ebp + 0x20]
mov ax, word [edx]
cmp ax, word [ecx + 0x98]
jne 0x522184
cmp edi, 1
je 0x52214f
mov ax, word [edx + 2]
cmp ax, word [ecx + 0x9a]
jne 0x522184
lea eax, [edi + edi]
mov edi, dword [ebp - 4]
sub esi, eax
cmp edx, esi
jne 0x522187
cmp word [ecx + 0x48], 0
je 0x522179
cmp edx, dword [ecx + 0x64]
jbe 0x522179
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x51d9eb
add dword [edi], 2
mov edi, dword [ebp + 0x20]
jmp 0x51c8db
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x51cbde
mov ecx, dword [edi + 0x38]
mov edi, dword [ebp + 0x20]
lea eax, [ecx + 2]
cmp eax, dword [edi + 0x5c]
jb case.0x51c903.160
cmp dword [edi + 0x90], 0
jne case.0x51c903.160
cmp dword [ebx], 2
jne case.0x51c903.160
mov ax, word [ecx]
cmp ax, word [edi + 0x98]
jne case.0x51c903.160
jmp 0x51ddea
test byte [edi + 0x80], 1
mov ebx, dword [ebp - 4]
je 0x5221ea
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x58]
je case.0x51c903.160
mov ecx, dword [ebx + 0x38]
mov edx, dword [edi + 0x58]
cmp ecx, edx
je 0x52236a
cmp ecx, dword [edi + 0x5c]
jne 0x52220d
test dword [edi + 0x84], 0x200000
je case.0x51c903.160
mov esi, dword [edi + 0x90]
test esi, esi
je 0x522244
cmp ecx, edx
jbe case.0x51c903.160
push dword [ebp - 8]
lea eax, [edi + 0x94]
push eax
push edx
push esi
push ecx
call fcn.00532110
add esp, 0x14
test eax, eax
je case.0x51c903.160
add dword [ebx], 2
jmp 0x51c8db
mov edi, dword [edi + 0x94]
lea esi, [edi + edi]
lea eax, [edx + esi]
cmp ecx, eax
jb 0x51de01
mov edx, dword [ebp + 0x20]
sub ecx, esi
mov ax, word [ecx]
cmp ax, word [edx + 0x98]
jne 0x52228a
cmp edi, 1
mov edi, edx
je 0x52236a
mov ax, word [ecx + 2]
cmp ax, word [edi + 0x9a]
je 0x52236a
jmp case.0x51c903.160
mov edi, edx
jmp case.0x51c903.160
mov ebx, dword [ebp - 4]
mov ecx, dword [edi + 0x5c]
mov edx, dword [ebx + 0x38]
cmp edx, ecx
jae 0x522335
mov eax, dword [edi + 0x90]
add edi, 0x94
test eax, eax
je 0x5222ce
push esi
push edi
push ecx
push eax
push edx
call fcn.00532060
add esp, 0x14
test eax, eax
je 0x5222fe
mov edi, dword [ebp + 0x20]
add dword [ebx], 2
jmp 0x51c8db
mov esi, dword [edi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x5222fe
mov ecx, dword [ebp + 0x20]
mov ax, word [edx]
cmp ax, word [ecx + 0x98]
jne 0x5222fe
cmp esi, 1
je 0x522368
mov ax, word [edx + 2]
cmp ax, word [ecx + 0x9a]
je 0x522368
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x51cbde
mov ecx, dword [ebx + 0x38]
mov ebx, dword [ebp + 0x20]
lea eax, [ecx + 2]
cmp eax, dword [ebx + 0x5c]
jb 0x51ca33
cmp dword [ebx + 0x90], 0
jne 0x51ca33
cmp dword [edi], 2
mov edi, ebx
jmp 0x5221b7
test byte [edi + 0x80], 2
jne case.0x51c903.160
cmp word [edi + 0x48], 0
je 0x52236a
cmp edx, dword [edi + 0x64]
jbe 0x52236a
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
add dword [ebx], 2
jmp 0x51c8db
mov edi, ecx
add dword [ebx], 2
jmp 0x51c8db
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x58]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], eax
je 0x522073
jmp case.0x51c903.160
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
mov dword [ecx + 0x3c], eax
add dword [ecx], 2
jmp 0x51c8e1
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x58]
je 0x522480
cmp dword [ebp - 8], 0
lea edx, [esi - 2]
je 0x522423
movzx eax, word [edx]
mov ecx, eax
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x5223d1
movzx ecx, word [edx - 2]
sub edx, 2
movzx ecx, cx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5223fc
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
mov eax, dword [ebp - 4]
cmp edx, dword [edi + 0x64]
jae 0x52240a
mov dword [edi + 0x64], edx
mov esi, dword [eax + 0x38]
test dword [edi + 0x84], 0x20000
je 0x522468
cmp ecx, 0x5f
jne 0x522428
lea ebx, [ecx - 0x5e]
jmp 0x522482
movzx ecx, word [edx]
jmp 0x5223ff
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x522461
cmp eax, 3
jne 0x522480
mov ebx, 1
jmp 0x522482
cmp ecx, 0xff
ja 0x522480
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je 0x522480
mov ebx, 1
jmp 0x522482
xor ebx, ebx
mov eax, dword [edi + 0x5c]
cmp esi, eax
jb 0x5224d0
cmp word [edi + 0x48], 0
je 0x5224a7
cmp esi, dword [edi + 0x64]
jbe 0x5224a7
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
xor edx, edx
mov esi, dword [ebp - 4]
xor edx, ebx
mov eax, dword [esi]
movzx ecx, word [eax]
add eax, 2
mov dword [esi], eax
cmp ecx, 5
jne 0x5224c0
xor edx, 1
mov ebx, dword [ebp + 0x1c]
test edx, edx
je 0x521fcb
jmp case.0x51c903.160
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
je 0x522522
cmp edx, eax
jae 0x5224f5
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x5224f5
add edx, 2
movzx ecx, word [esi]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x522525
movzx eax, word [esi + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
jmp 0x522525
movzx ecx, word [esi]
mov edi, dword [ebp + 0x20]
cmp edx, dword [edi + 0x68]
jbe 0x522530
mov dword [edi + 0x68], edx
test dword [edi + 0x84], 0x20000
je 0x522590
cmp ecx, 0x5f
jne 0x522549
lea edx, [ecx - 0x5e]
jmp 0x5224a9
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x522586
cmp eax, 3
jne 0x5224a7
mov edx, 1
jmp 0x5224a9
cmp ecx, 0xff
ja 0x5224a7
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je 0x5224a7
mov edx, 1
jmp 0x5224a9
test esi, esi
jne case.0x51e2f6.35
mov ecx, dword [ebx + 4]
mov dword [ebx], ecx
movzx eax, word [ecx + 2]
lea edx, [ecx + eax*2]
mov dword [ebx + 4], edx
cmp word [edx], 0x78
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
je 0x52450e
mov dword [eax], ebx
jmp 0x51c8db
cmp esi, 0xfffffc1f
jne 0x522613
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea eax, [ecx + eax*2]
cmp dword [edi + 0x74], eax
jae case.0x51e2f6.35
cmp word [ecx], 0x78
je 0x52261b
cmp word [eax], 0x78
jmp 0x522615
test esi, esi
jne case.0x51e2f6.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x5247c2
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x51e2c2
cmp esi, 0xfffffc19
je 0x524179
test esi, esi
je 0x522656
cmp esi, 0xfffffc1f
jne case.0x51e2f6.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x524884
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x51e2c2
cmp esi, 0xfffffc1f
jg 0x5226b9
je 0x5241b5
cmp esi, 0xfffffc19
je 0x5226d0
cmp esi, 0xfffffc1a
jle case.0x51e2f6.35
cmp esi, 0xfffffc1d
jg case.0x51e2f6.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x5226a5
jmp 0x51c8d6
mov eax, esi
sub eax, 0
je 0x5241b5
sub eax, 1
mov eax, dword [ebp - 4]
jne 0x51e2c2
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x51e2c2
cmp esi, 0xfffffc1f
jg 0x522714
je 0x5241f7
cmp esi, 0xfffffc19
je 0x5241cf
cmp esi, 0xfffffc1a
jle case.0x51e2f6.35
cmp esi, 0xfffffc1d
jle 0x52420e
mov eax, dword [ebp - 4]
jmp 0x51e2c2
mov eax, esi
sub eax, 0
je 0x5241f7
sub eax, 1
je 0x5241ef
mov eax, dword [ebp - 4]
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
add eax, eax
sub ecx, eax
mov dword [ebx], ecx
jmp 0x51c8db
test esi, esi
je 0x52204f
mov eax, dword [ebp - 4]
jmp 0x51e2c2
cmp esi, 0xfffffc1a
jne 0x522787
mov dword [ebx + 0x24], 1
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jne 0x524517
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x522776
jmp 0x5227ca
cmp esi, 0xfffffc1f
jne 0x5227ad
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea eax, [ecx + eax*2]
cmp dword [edi + 0x74], eax
jae case.0x51e2f6.35
cmp word [ecx], 0x78
je 0x5227b5
cmp word [eax], 0x78
jmp 0x5227af
test esi, esi
jne case.0x51e2f6.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x52477b
cmp dword [ebx + 0x24], 0
jne 0x51c8d6
cmp dword [ebx + 0x28], 0
jne 0x51c8d6
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov ecx, dword [ebx + 4]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx + 4], ecx
cmp word [ecx], 0x78
je 0x5227f3
jmp 0x51c8d6
test esi, esi
je 0x52236a
mov eax, dword [ebp - 4]
jmp 0x51e2c2
mov edx, dword [ebx + 4]
movzx eax, word [edx + 2]
lea ecx, [edx + eax*2]
lea eax, [esi + 0x3e5]
cmp eax, 4
ja 0x522860
mov eax, dword [ebx + 0x20]
xor eax, 0x40000
cmp dword [edi + 0x7c], eax
jne 0x522860
cmp esi, 0xfffffc1f
jne case.0x51c903.160
cmp dword [edi + 0x74], ecx
jae case.0x51c903.160
cmp word [edx], 0x78
je 0x52286b
cmp word [ecx], 0x78
je 0x52286b
jmp case.0x51c903.160
mov edx, dword [ebp - 8]
test esi, esi
jne case.0x51e2f6.35
mov dword [ebx + 4], ecx
cmp word [ecx], 0x78
je 0x524852
jmp case.0x51c903.160
cmp esi, 0xfffffc1e
jne case.0x51e2f6.35
mov eax, dword [ebx]
push dword [edi + 0x78]
add eax, 4
push eax
call fcn.00532780
mov edx, dword [ebp - 8]
add esp, 8
test eax, eax
jne case.0x51e2f6.35
mov eax, dword [ebx + 0x38]
mov esi, 0xfffffc1d
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov eax, dword [ebx + 0x44]
mov esi, 0xfffffc1b
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov eax, dword [ebx + 0x44]
mov esi, 0xfffffc1c
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov eax, dword [ebx + 0x38]
mov esi, 0xfffffc1d
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov eax, dword [ebx]
mov esi, 0xfffffc1e
add eax, 4
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov eax, dword [ebx]
mov esi, 0xfffffc1f
mov dword [edi + 0x74], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
lea eax, [ebp - 0x54]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.005252e0
add esp, 0x14
test eax, eax
je 0x524521
jle 0x522980
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
test esi, esi
jne case.0x51e2f6.35
mov eax, dword [ebx + 0xc]
neg eax
add eax, eax
add dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jb case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x15
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov eax, dword [ebx + 4]
cmp dword [ebx + 0x38], eax
je case.0x51c903.160
mov dword [ebx + 0x38], eax
dec dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
cmp esi, dword [ebx + 0x24]
jae 0x522a18
mov edi, dword [ebx + 0x38]
nop dword [eax]
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x20]
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.005252e0
mov eax, dword [ebp - 0x58]
inc esi
add esp, 0x14
lea edi, [edi + eax*2]
mov dword [ebx + 0x38], edi
cmp esi, dword [ebx + 0x24]
jb 0x5229f0
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x16
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x522a5a
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
add eax, 2
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
jbe 0x522a83
cmp byte [ebx + 0x31], 0x6e
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x17
jmp 0x5249d1
mov edx, dword [ebx + 8]
mov esi, ecx
shr esi, 3
and ecx, 7
mov eax, 1
shl eax, cl
test byte [esi + edx], al
jne 0x522a75
jmp case.0x51c903.160
test esi, esi
jne case.0x51e2f6.35
add dword [ebx + 0x38], 0xfffffffe
jmp 0x51dfad
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov ecx, dword [ebx + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x522ae4
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp ecx, dword [edi + 0x64]
jmp 0x51dde4
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x522af5
cmp dword [ebx + 0x2c], eax
jne case.0x51c903.160
lea eax, [ecx + 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x19
jmp 0x5249d1
add dword [ebx + 0x38], 0xfffffffe
test esi, esi
jne case.0x51e2f6.35
mov esi, dword [ebp - 8]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
je 0x51c8de
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1a
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov esi, dword [ebx + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x522b67
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp esi, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [esi]
lea eax, [esi + 2]
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ecx
jne case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1b
jmp 0x5249d1
add dword [ebx + 0x38], 0xfffffffe
test esi, esi
je 0x51d647
mov eax, dword [ebp - 4]
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov ecx, dword [ebx + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x522bcf
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp ecx, dword [edi + 0x64]
jmp 0x51dde4
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je case.0x51c903.160
cmp dword [ebx + 0x2c], eax
je case.0x51c903.160
lea eax, [ecx + 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1d
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
add dword [ebx + 0x38], 0xfffffffe
mov eax, dword [ebx + 0x38]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 4]
je 0x51c8de
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1e
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov esi, dword [ebx + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x522c56
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp esi, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [esi]
lea eax, [esi + 2]
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ecx
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1f
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
add dword [ebx + 0x38], 0xfffffffe
mov eax, dword [ebx + 0x38]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 4]
je 0x51c8de
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x20
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov edx, dword [ebx + 0x38]
mov ecx, dword [edi + 0x5c]
cmp edx, ecx
jb 0x522cd5
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp edx, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebx + 0x28], 0xc
jne 0x522d3c
mov eax, dword [edi + 0x90]
lea esi, [edi + 0x94]
test eax, eax
je 0x522d0b
push dword [ebp - 8]
push esi
push ecx
push eax
push edx
call fcn.00532060
add esp, 0x14
test eax, eax
jne case.0x51c903.160
mov edx, dword [ebx + 0x38]
jmp 0x522d3c
mov esi, dword [esi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x522d3c
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x522d3c
cmp esi, 1
je case.0x51c903.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x51c903.160
movzx ecx, word [edx]
add edx, 2
mov dword [ebx + 0x38], edx
mov eax, dword [ebx + 0x28]
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x522d54.15
jmp dword [eax*4 + 0x5251f8]
cmp ecx, 0xd
ja 0x522d7f
je 0x524537
cmp ecx, 0xa
je case.0x522d54.13
jbe case.0x51c903.160
cmp ecx, 0xc
jbe 0x522d9f
jmp case.0x51c903.160
cmp ecx, 0x85
je 0x522d9f
cmp ecx, 0x2027
jbe case.0x51c903.160
cmp ecx, 0x2029
ja case.0x51c903.160
cmp word [edi + 0x4a], 2
jne case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x180e
ja 0x522df3
je case.0x51c903.160
cmp ecx, 0xa0
ja 0x522de2
je case.0x51c903.160
cmp ecx, 9
je case.0x51c903.160
cmp ecx, 0x20
jne case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x1680
jne case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x205f
ja 0x522e2a
je case.0x51c903.160
cmp ecx, 0x2000
jb case.0x522d54.13
cmp ecx, 0x200a
jbe case.0x51c903.160
cmp ecx, 0x202f
jne case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x3000
jne case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x180e
ja 0x522e7f
je case.0x522d54.13
cmp ecx, 0xa0
ja 0x522e6e
je case.0x522d54.13
cmp ecx, 9
je case.0x522d54.13
cmp ecx, 0x20
je case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x1680
je case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x205f
ja 0x522eb6
je case.0x522d54.13
cmp ecx, 0x2000
jb case.0x51c903.160
cmp ecx, 0x200a
jbe case.0x522d54.13
cmp ecx, 0x202f
je case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x3000
je case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x85
ja 0x522ee6
je case.0x51c903.160
lea eax, [ecx - 0xa]
cmp eax, 3
ja case.0x522d54.13
jmp case.0x51c903.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x85
ja 0x522f1f
je case.0x522d54.13
cmp ecx, 0xa
jb case.0x51c903.160
cmp ecx, 0xd
jbe case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0x2028
jb case.0x51c903.160
cmp ecx, 0x2029
jbe case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0xff
ja case.0x522d54.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0xff
ja case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
jne case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0xff
ja case.0x522d54.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0xff
ja case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jne case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0xff
ja case.0x522d54.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x522d54.13
jmp case.0x51c903.160
cmp ecx, 0xff
ja case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jne case.0x522d54.13
jmp case.0x51c903.160
test esi, esi
jne case.0x51e2f6.35
mov eax, dword [ebx + 0x38]
add eax, 0xfffffffe
mov dword [ebx + 0x38], eax
mov ecx, eax
cmp dword [ebx + 0x28], 0x11
jne 0x523023
cmp eax, dword [ebx + 4]
jbe 0x523023
cmp word [eax], 0xa
jne 0x523023
cmp word [eax - 2], 0xd
lea edx, [eax - 2]
jne 0x523023
mov dword [ebx + 0x38], edx
mov ecx, edx
cmp ecx, dword [ebx + 4]
je 0x51c8db
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x22
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x52306e
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
mov esi, dword [ebp - 8]
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
test esi, esi
je 0x5230ab
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5230ab
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
push esi
push dword [ebx + 8]
push ecx
call fcn.00532940
add esp, 0xc
test eax, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x64
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov ecx, dword [ebx + 0x38]
lea edx, [ecx - 2]
mov dword [ebx + 0x38], edx
cmp ecx, dword [ebx + 4]
jbe case.0x51c903.160
cmp dword [ebp - 8], esi
je 0x51e21c
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x51e21c
lea eax, [edx - 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x65
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523152
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x523188
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
jbe 0x5231a8
cmp byte [ebx + 0x31], 0x6e
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc8
jmp 0x5249d1
mov edx, dword [ebx + 8]
mov esi, ecx
shr esi, 3
and ecx, 7
mov eax, 1
shl eax, cl
test byte [esi + edx], al
jne 0x52319a
jmp case.0x51c903.160
test esi, esi
jne case.0x51e2f6.35
mov ecx, dword [ebx + 0x38]
lea edx, [ecx - 2]
mov dword [ebx + 0x38], edx
cmp ecx, dword [ebx + 4]
jbe case.0x51c903.160
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x51df65
lea eax, [edx - 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc9
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebp + 0x20]
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x38]
mov ecx, dword [eax + 0x5c]
mov eax, ecx
lea esi, [edi + edi]
mov dword [ebp - 0x1c], ecx
sub eax, esi
cmp ebx, eax
ja 0x5232aa
mov eax, dword [ebp - 4]
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x523261
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x52326a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x523250
cmp esi, 0xfffffffc
je 0x5245a3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x5232a7
cmp esi, 0xfffffffd
je 0x5245a3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x5232a7
cmp esi, 0xfffffffe
je 0x5245a3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x5232a7
cmp esi, 0xffffffff
je 0x5245a3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x5245a3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x14]
test edi, edi
je 0x523328
lea esi, [edi + edi]
mov eax, ecx
sub eax, esi
cmp ebx, eax
ja 0x523328
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x5232e2
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5232eb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x5232d1
cmp esi, 0xfffffffc
je 0x5245a3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x523328
cmp esi, 0xfffffffd
je 0x5245a3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x523328
cmp esi, 0xfffffffe
je 0x5245a3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x523328
cmp esi, 0xffffffff
je 0x5245a3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x5245a3
mov edi, dword [ebp + 0x20]
cmp word [edi + 0x48], 0
je case.0x51c903.160
cmp ebx, dword [edi + 0x5c]
jb case.0x51c903.160
cmp ebx, dword [edi + 0x64]
jmp 0x51dde4
test esi, esi
jne case.0x51e2f6.35
add dword [ebx + 0x38], 0xfffffffe
mov edx, 0xfc00
mov ecx, dword [ebx + 0x38]
mov ax, word [ecx]
and ax, dx
mov edx, 0xdc00
cmp ax, dx
mov eax, dword [ebp - 4]
jne 0x523374
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x51c8db
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcb
jmp 0x5249d4
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x5233bc
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5233f2
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ecx
je case.0x51c903.160
cmp dword [ebx + 0x2c], ecx
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xcc
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
add dword [ebx + 0x38], 0xfffffffe
mov edx, 0xfc00
mov ecx, dword [ebx + 0x38]
mov ax, word [ecx]
and ax, dx
mov edx, 0xdc00
cmp ax, dx
mov eax, dword [ebp - 4]
jne 0x52343f
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x51c8db
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcd
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523487
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5234bd
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ecx
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xce
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
add dword [ebx + 0x38], 0xfffffffe
mov edx, 0xfc00
mov ecx, dword [ebx + 0x38]
mov ax, word [ecx]
and ax, dx
mov edx, 0xdc00
cmp ax, dx
mov eax, dword [ebp - 4]
jne 0x523501
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x51c8db
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcf
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523549
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
movzx ecx, word [eax]
add eax, 2
mov edx, dword [ebp - 8]
mov dword [ebx + 0x38], eax
test edx, edx
je 0x52356d
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x52356d
add eax, 2
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], 0xf
jne case.0x52445b.0
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x51e2c2
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x5235b5
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x5235f1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5235f1
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x5550f1]
cmp al, 9
je 0x523628
cmp al, 5
je 0x523628
cmp al, 8
je 0x523628
xor ecx, ecx
jmp 0x52362d
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd1
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523680
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x5236bc
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5236bc
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd2
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523746
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x523782
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x523782
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd3
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523805
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x523841
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x523841
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f0]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd4
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x5238c4
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x523900
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x523900
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x52393d
cmp eax, 3
je 0x52393d
xor ecx, ecx
jmp 0x523942
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd5
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523995
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x5239d1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x5239d1
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0x180e
ja 0x523a18
je case.0x523a38.8192
cmp ecx, 0x85
ja 0x523a04
je case.0x523a38.8192
cmp ecx, 9
jb case.0x523a38.8203
cmp ecx, 0xd
jbe case.0x523a38.8192
cmp ecx, 0x20
jmp 0x523a51
cmp ecx, 0xa0
je case.0x523a38.8192
cmp ecx, 0x1680
jmp 0x523a51
cmp ecx, 0x202f
ja 0x523a3f
je case.0x523a38.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x523a38.8203
movzx eax, byte [eax + 0x525240]
jmp dword [eax*4 + 0x525238]
cmp ecx, 0x205f
je case.0x523a38.8192
cmp ecx, 0x3000
je case.0x523a38.8192
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
cmp dword [eax*4 + 0x5541d8], 6
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd6
jmp 0x5249d1
cmp dword [ebx + 0x28], 0xf
jne case.0x52445b.6
jmp case.0x51c903.160
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523aea
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea ecx, [eax + 2]
movzx edx, word [eax]
mov dword [ebx + 0x38], ecx
je 0x523b26
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x523b26
movzx eax, word [ecx]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
lea eax, [ecx + 2]
add edx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x557c70]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f1]
mov eax, dword [eax*4 + 0x5541d8]
cmp eax, 1
je 0x523b6a
cmp eax, 3
je 0x523b6a
cmp edx, 0x5f
je 0x523b6a
xor ecx, ecx
jmp 0x523b6f
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd7
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523bc2
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x523bfe
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x523bfe
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax*4 + 0x554d38]
lea eax, [eax*4 + 0x554d38]
cmp ecx, edx
jb 0x523c20
lea eax, [eax + 4]
cmp ecx, edx
je 0x523c38
mov edx, dword [eax]
cmp ecx, edx
jae 0x523c13
cmp dword [ebx + 0x28], 0xf
jne case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd8
jmp 0x5249d1
cmp dword [ebx + 0x28], 0xf
jne case.0x52445b.9
jmp case.0x51c903.160
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x523c77
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x523cb3
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x523cb3
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
lea eax, [edx + 2]
add ecx, 0x10000
mov dword [ebx + 0x38], eax
cmp ecx, 0x24
je 0x523cde
cmp ecx, 0x40
je 0x523cde
cmp ecx, 0x60
je 0x523cde
cmp ecx, 0xa0
jb 0x523cd2
cmp ecx, 0xd7ff
jbe 0x523cde
cmp ecx, 0xe000
jae 0x523cde
xor ecx, ecx
jmp 0x523ce3
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x51c903.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd9
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x5245cb
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp eax, dword [edi + 0x64]
jmp 0x51dde4
test esi, esi
jne case.0x51e2f6.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x51c903.160
mov edx, dword [ebx + 0x38]
mov ecx, dword [edi + 0x5c]
cmp edx, ecx
jb 0x523d70
cmp word [edi + 0x48], si
je case.0x51c903.160
cmp edx, dword [edi + 0x64]
jmp 0x51dde4
cmp dword [ebx + 0x28], 0xc
jne 0x523dd7
mov eax, dword [edi + 0x90]
lea esi, [edi + 0x94]
test eax, eax
je 0x523da6
push dword [ebp - 8]
push esi
push ecx
push eax
push edx
call fcn.00532060
add esp, 0x14
test eax, eax
jne case.0x51c903.160
mov edx, dword [ebx + 0x38]
jmp 0x523dd7
mov esi, dword [esi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x523dd7
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x523dd7
cmp esi, 1
je case.0x51c903.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x51c903.160
movzx ecx, word [edx]
add edx, 2
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x523e0d
movzx eax, word [edx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add edx, 2
mov dword [ebx + 0x38], edx
mov eax, dword [ebx + 0x28]
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x522d54.15
jmp dword [eax*4 + 0x52526c]
cmp ecx, 0xd
ja 0x523e47
je 0x524652
cmp ecx, 0xa
je case.0x523e1c.13
jbe case.0x51c903.160
cmp ecx, 0xc
jbe 0x523e67
jmp case.0x51c903.160
cmp ecx, 0x85
je 0x523e67
cmp ecx, 0x2027
jbe case.0x51c903.160
cmp ecx, 0x2029
ja case.0x51c903.160
cmp word [edi + 0x4a], 2
jne case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x180e
ja 0x523ebb
je case.0x51c903.160
cmp ecx, 0xa0
ja 0x523eaa
je case.0x51c903.160
cmp ecx, 9
je case.0x51c903.160
cmp ecx, 0x20
jne case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x1680
jne case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x205f
ja 0x523ef2
je case.0x51c903.160
cmp ecx, 0x2000
jb case.0x523e1c.13
cmp ecx, 0x200a
jbe case.0x51c903.160
cmp ecx, 0x202f
jne case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x3000
jne case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x180e
ja 0x523f47
je case.0x523e1c.13
cmp ecx, 0xa0
ja 0x523f36
je case.0x523e1c.13
cmp ecx, 9
je case.0x523e1c.13
cmp ecx, 0x20
je case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x1680
je case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x205f
ja 0x523f7e
je case.0x523e1c.13
cmp ecx, 0x2000
jb case.0x51c903.160
cmp ecx, 0x200a
jbe case.0x523e1c.13
cmp ecx, 0x202f
je case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x3000
je case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x85
ja 0x523fae
je case.0x51c903.160
lea eax, [ecx - 0xa]
cmp eax, 3
ja case.0x523e1c.13
jmp case.0x51c903.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x85
ja 0x523fe7
je case.0x523e1c.13
cmp ecx, 0xa
jb case.0x51c903.160
cmp ecx, 0xd
jbe case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x2028
jb case.0x51c903.160
cmp ecx, 0x2029
jbe case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x100
jae case.0x523e1c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x100
jae case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
jne case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x100
jae case.0x523e1c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x100
jae case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jne case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x100
jae case.0x523e1c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x523e1c.13
jmp case.0x51c903.160
cmp ecx, 0x100
jae case.0x51c903.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jne case.0x523e1c.13
jmp case.0x51c903.160
test esi, esi
jne case.0x51e2f6.35
mov esi, dword [ebx + 0x38]
add esi, 0xfffffffe
mov dword [ebx + 0x38], esi
test edx, edx
jne 0x524250
movzx ecx, word [esi]
jmp 0x524299
test esi, esi
jne case.0x51e2f6.35
add dword [ebx + 0x38], 0xfffffffe
mov edx, 0xfc00
mov ecx, dword [ebx + 0x38]
mov ax, word [ecx]
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x524103
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp dword [ebx + 0x28], 0x11
mov eax, ecx
jne 0x524125
cmp ecx, dword [ebx + 4]
jbe 0x524125
cmp word [ecx], 0xa
jne 0x524125
cmp word [ecx - 2], 0xd
lea edx, [ecx - 2]
jne 0x524125
mov dword [ebx + 0x38], edx
mov eax, edx
cmp eax, dword [ebx + 4]
jbe 0x51c8db
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdd
jmp 0x5249d1
test esi, esi
jne case.0x51e2f6.35
mov ecx, dword [ebx + 0x38]
mov esi, dword [ebp - 8]
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
mov edx, ecx
test esi, esi
je 0x5243b8
mov ax, word [edx]
and ax, word [ebp - 0x14]
cmp ax, word [ebp - 0x18]
mov eax, dword [ebp - 4]
jne 0x5243bb
lea ecx, [edx - 2]
mov dword [ebx + 0x38], ecx
jmp 0x5243bb
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x50]
shl eax, 2
push eax
lea eax, [esi + 0x54]
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.00537770
mov eax, dword [esi + 0x50]
add esp, 0xc
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x5241a1
jmp 0x51c8d6
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x5248b3
jmp 0x51c8d6
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x50]
shl eax, 2
push eax
lea eax, [esi + 0x54]
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.00537770
mov eax, dword [esi + 0x50]
add esp, 0xc
mov dword [ebx + 0x50], eax
mov ebx, dword [ebx + 0x20]
mov edx, dword [ebp - 4]
jmp 0x524219
mov ecx, dword [ebx + 4]
movzx eax, word [ecx + 2]
lea eax, [ecx + eax*2]
mov dword [ebx + 4], eax
cmp word [eax], 0x78
je 0x5244c1
mov edx, dword [ebp - 4]
xor ebx, ebx
cmp dword [edx + 0x20], ebx
sete bl
test ebx, ebx
je 0x524248
mov ecx, dword [edx]
nop
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [edx], ecx
cmp word [ecx], 0x78
je 0x524220
jmp 0x521d47
mov edi, dword [ebp + 0x20]
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
jmp 0x521dcd
mov ebx, dword [ebp - 4]
jmp case.0x521ccf.146
movzx eax, word [esi]
mov edx, esi
mov ecx, eax
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x52426c
lea edx, [esi - 2]
mov dword [ebx + 0x38], edx
movzx ecx, word [edx]
movzx ecx, cx
mov esi, edx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x524299
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
mov edx, dword [ebx + 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5550f2]
mov dword [ebp - 0x24], eax
cmp esi, edx
jbe 0x5243a1
mov edi, edx
mov dword [ebp - 0x1c], edx
mov ebx, edx
mov dword [ebp - 0x38], edx
mov eax, edx
nop dword [eax + eax]
add esi, 0xfffffffe
mov edx, eax
cmp dword [ebp - 8], 0
movzx eax, word [esi]
mov ecx, eax
je 0x524340
and eax, 0xfc00
mov edx, edi
cmp eax, 0xdc00
jne 0x524310
movzx ecx, word [esi - 2]
sub esi, 2
mov edx, ebx
mov ebx, dword [ebp - 0x38]
jmp 0x524313
mov ebx, dword [ebp - 0x1c]
movzx ecx, cx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x524340
movzx eax, word [esi + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, ebx
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x557c70]
shl eax, 7
add eax, ecx
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax*2 + 0x55c070]
lea eax, [eax + eax*2]
movzx edi, byte [eax*4 + 0x5550f2]
mov eax, 1
shl eax, cl
test dword [edi*4 + 0x554198], eax
je 0x52439b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], edi
mov dword [eax + 0x38], esi
mov edx, dword [eax + 4]
mov edi, edx
mov dword [ebp - 0x1c], edx
mov ebx, edx
mov dword [ebp - 0x38], edx
mov eax, edx
cmp esi, edx
ja 0x5242e0
mov ebx, dword [ebp - 4]
mov edi, dword [ebp + 0x20]
cmp dword [ebx + 0x38], edx
jbe 0x51c8db
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdc
jmp 0x5249d1
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 4]
jbe 0x51c8de
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xde
jmp 0x5249d1
inc dword [edi + 0x88]
mov eax, dword [edi + 0x88]
cmp eax, dword [edi + 0x8c]
ja 0x5246be
mov ebx, dword [ebp - 4]
mov edx, dword [ebx]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x554038]
movzx eax, word [edx + 2]
add ecx, eax
lea eax, [edx + ecx*2]
mov dword [ebx], eax
jmp 0x51c8de
test esi, esi
jne 0x523404
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1d
jmp 0x5249d1
test esi, esi
jne 0x5234c6
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1f
jmp 0x5249d1
mov edi, dword [ebp + 0x20]
test esi, esi
jne 0x52319a
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x17
jmp 0x5249d1
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x524462
cmp eax, 0xa
ja case.0x522d54.15
jmp dword [eax*4 + 0x5252ac]
cmp dword [ebx + 0x28], 0x16
je 0x524644
cmp dword [ebp - 8], 0
jne case.0x523e1c.13
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x21
jmp 0x5249d1
mov eax, dword [ebp - 4]
mov dword [ebx + 0x24], edi
mov ebx, dword [ebx]
mov edi, dword [ebp + 0x20]
mov byte [eax + 0x30], 0x16
jmp 0x5249d1
xor eax, eax
jmp 0x5247bd
mov eax, esi
cmp eax, 0x7e
je 0x5244b4
mov ecx, 0x80
cmp ax, cx
je 0x5244b4
xor eax, eax
jmp 0x5244b9
mov eax, 1
mov dword [ebx + 0x20], eax
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
movzx edx, word [eax]
movzx eax, word [ecx]
or edx, 0x30000
mov dword [ebp + 8], edx
movzx eax, byte [eax + 0x554038]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 5
jmp 0x5249d1
mov eax, dword [ebp - 4]
cmp cl, 0x7b
jne 0x524502
mov byte [edi + 0x30], 6
lea ebx, [edx + 4]
mov edi, dword [ebp + 0x20]
jmp 0x5249d4
mov byte [edi + 0x30], 7
mov edi, dword [ebp + 0x20]
jmp 0x5249d4
mov byte [eax + 0x30], 1
jmp 0x5249d1
mov eax, dword [ebx + 8]
mov dword [ebx], eax
jmp 0x52477b
mov eax, dword [ebp - 0x54]
add eax, eax
add dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x14
jmp 0x5249d1
cmp edx, dword [edi + 0x5c]
jae case.0x522d54.13
cmp word [edx], 0xa
jne case.0x522d54.13
lea eax, [edx + 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x21
jmp 0x5249d1
cmp word [edi + 0x48], 0
je case.0x522d54.13
cmp edx, dword [edi + 0x5c]
jb case.0x522d54.13
cmp dword [edi + 0x90], 0
jne case.0x522d54.13
cmp dword [edi + 0x94], 2
jne case.0x522d54.13
movzx eax, word [edi + 0x98]
cmp ecx, eax
jne case.0x522d54.13
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x21
jmp 0x5249d1
mov ecx, dword [ebp - 4]
lea eax, [ebx + edi*2]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 0x20]
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xca
jmp 0x5249d1
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd0
jmp 0x5249d1
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov esi, edx
mov dword [ebx + 0x38], edx
je 0x524609
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x524609
movzx eax, word [edx]
lea esi, [edx + 2]
and ecx, 0x3ff
mov dword [ebx + 0x38], esi
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
push 0
push dword [ebp - 8]
push dword [edi + 0x5c]
push dword [edi + 0x58]
push esi
push ecx
call fcn.00531e80
add esp, 0x18
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je 0x524644
cmp eax, dword [edi + 0x5c]
jb 0x524644
cmp eax, dword [edi + 0x64]
jbe 0x524644
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xda
jmp 0x5249d1
cmp edx, dword [edi + 0x5c]
jae case.0x523e1c.13
cmp word [edx], 0xa
jne case.0x523e1c.13
lea eax, [edx + 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdb
jmp 0x5249d1
cmp word [edi + 0x48], 0
je case.0x523e1c.13
cmp edx, dword [edi + 0x5c]
jb case.0x523e1c.13
cmp dword [edi + 0x90], 0
jne case.0x523e1c.13
cmp dword [edi + 0x94], 2
jne case.0x523e1c.13
movzx eax, word [edi + 0x98]
cmp ecx, eax
jne case.0x523e1c.13
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x51d9eb
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdb
jmp 0x5249d1
mov esi, dword [ebp - 4]
mov edx, dword [esi]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x554038]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0x11
jmp 0x5249cc
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx]
add ebx, 2
mov dword [ecx + 4], ebx
mov byte [ecx + 0x30], 9
jmp 0x5249d1
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
add ecx, 2
mov dword [edx + 4], ecx
nop dword [eax]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [edx + 4], ecx
cmp word [ecx], 0x78
je 0x524700
lea ebx, [ecx + 4]
mov byte [edx + 0x30], 0xa
jmp 0x5249d1
mov ebx, dword [ebp - 4]
mov edx, 0x87
mov dword [ebx + 0x28], 1
mov eax, dword [ebx]
add eax, 2
mov dword [ebx], eax
movzx ecx, word [eax]
cmp cx, dx
je 0x524763
mov edx, 0x8c
cmp cx, dx
jne 0x524750
jmp 0x524763
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x28], 0
mov eax, 0x20000
jmp 0x52476c
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x28], 0
mov eax, dword [ebx]
movzx eax, word [eax + 4]
or eax, 0x10000
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0
mov eax, dword [ebx]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 4], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x20]
mov dword [ebp + 8], edx
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 8
jmp 0x5249d1
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
movzx eax, word [eax + 4]
or eax, 0x10000
jmp 0x5247bd
mov ebx, dword [ebp - 4]
movzx eax, dl
or eax, 0x20000
mov dword [ebx + 0x20], eax
mov ecx, dword [ebx]
movzx eax, word [ecx]
mov edx, dword [ebx + 0x20]
mov dword [ebp + 8], edx
movzx eax, byte [eax + 0x554038]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 2
jmp 0x5249d1
mov edx, dword [ebp - 4]
mov ecx, dword [edi + 0x54]
mov eax, dword [edx]
movzx eax, word [eax + 2]
lea ebx, [ecx + eax*2]
cmp ebx, ecx
jne 0x5247f8
xor edi, edi
jmp 0x5247fc
movzx edi, word [ebx + 4]
cmp dword [edx + 0x44], 0xffffffff
je 0x524840
mov eax, dword [edx + 0x4c]
cmp eax, 0xffffffff
je 0x524840
mov ecx, dword [ebp + 0x20]
mov edx, edi
or edx, 0x40000
mov esi, dword [ecx + 0x10]
add eax, esi
mov ecx, eax
sub ecx, dword [ebp + 0x1c]
cmp dword [eax + 0x1c], edx
je 0x524831
mov eax, dword [ecx + 0x4c]
cmp eax, 0xffffffff
jne 0x524818
mov edx, dword [ebp - 4]
jmp 0x524840
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
cmp eax, dword [ecx + 0x38]
je 0x524b3b
mov dword [edx + 4], ebx
or edi, 0x40000
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x20], edi
mov edi, dword [ebp + 0x20]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x20]
mov dword [ebp + 8], edx
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0xb
jmp 0x5249d1
mov ebx, dword [ebp - 4]
movzx eax, dl
or eax, 0x20000
mov dword [ebx + 0x20], eax
mov ecx, dword [ebx]
movzx eax, word [ecx]
mov edx, dword [ebx + 0x20]
mov dword [ebp + 8], edx
movzx eax, byte [eax + 0x554038]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 3
jmp 0x5249d1
mov ebx, dword [ebp - 4]
movzx eax, dl
or eax, 0x20000
mov dword [ebx + 0x20], eax
mov ecx, dword [ebx]
movzx eax, word [ecx]
mov edx, dword [ebx + 0x20]
mov dword [ebp + 8], edx
movzx eax, byte [eax + 0x554038]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 4
jmp 0x5249d1
mov esi, dword [ebp - 4]
mov eax, dword [esi]
add eax, 4
mov dword [edi + 0x70], eax
mov dword [esi + 0x40], eax
mov edx, dword [esi]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x554038]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0xc
jmp 0x5249cc
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
mov byte [edx + 0x30], 0xd
lea ebx, [ecx + eax*2]
jmp 0x5249d1
mov esi, dword [ebp - 4]
mov eax, dword [esi]
add eax, 4
mov dword [edi + 0x70], eax
mov dword [esi + 0x40], eax
mov edx, dword [esi]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x554038]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0x24
jmp 0x5249cc
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
mov byte [edx + 0x30], 0xe
lea ebx, [ecx + eax*2]
jmp 0x5249d1
mov esi, dword [ebp - 4]
mov eax, dword [esi]
add eax, 4
mov dword [edi + 0x70], eax
mov dword [esi + 0x40], eax
mov edx, dword [esi]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x554038]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0xf
jmp 0x5249cc
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
mov byte [edx + 0x30], 0x10
lea ebx, [ecx + eax*2]
jmp 0x5249d1
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x554038]
mov byte [edx + 0x30], 0x12
lea ebx, [ecx + eax*2]
jmp 0x5249d1
mov esi, dword [ebp - 4]
mov eax, dword [esi]
add eax, 4
mov dword [edi + 0x70], eax
mov dword [esi + 0x40], eax
mov edx, dword [esi]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x554038]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0x13
add ecx, eax
lea ebx, [edx + ecx*2]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0x1c]
add esi, eax
mov dword [ebp - 0x10], esi
cmp esi, dword [edi + 0x14]
jb 0x524a7a
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x1c]
lea esi, [ecx + ecx]
mov eax, esi
shr eax, 0xa
cmp eax, edx
jbe 0x524a0d
mov esi, edx
xor edx, edx
shl esi, 0xa
mov eax, esi
div dword [ebp + 0x1c]
sub esi, edx
cmp ecx, esi
jae 0x524b47
push dword [edi + 8]
mov eax, dword [edi]
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x524b53
mov eax, dword [ebp + 0x20]
push dword [eax + 0xc]
push dword [eax + 0x10]
push edi
call fcn.00537770
mov eax, dword [ebp + 0x20]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, edi
sub eax, ecx
add edx, eax
mov eax, dword [ebp + 0x1c]
add eax, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
cmp ecx, dword [eax + 0x18]
je 0x524a65
push dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
call eax
mov eax, dword [ebp + 0x20]
add esp, 8
mov dword [eax + 0x10], edi
lea eax, [edi + esi]
mov edi, dword [ebp + 0x20]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0xc], esi
mov esi, dword [ebp - 0x10]
push dword [ebp - 0x3c]
add eax, 0x38
push eax
lea eax, [esi + 0x38]
push eax
call fcn.00537770
mov eax, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 4], esi
mov eax, dword [eax + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov eax, esi
mov esi, dword [ebp - 8]
jmp 0x51c877
mov eax, edi
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x60], esi
mov eax, dword [ebx + 0x50]
mov dword [ecx + 0x44], eax
mov eax, dword [ebx + 0x40]
mov dword [ecx + 0x6c], eax
mov eax, dword [ebx + 0x38]
cmp eax, dword [ecx + 0x68]
jbe 0x524ac9
mov dword [ecx + 0x68], eax
mov eax, dword [ebx + 0x3c]
sub eax, dword [ecx + 0x58]
mov edi, dword [ebp + 0x10]
movzx esi, word [ebp + 0x14]
sar eax, 1
mov dword [edi], eax
mov eax, dword [ebx + 0x38]
sub eax, dword [ecx + 0x58]
sar eax, 1
mov dword [edi + 4], eax
movzx eax, word [ebp + 0x18]
inc eax
cmp eax, esi
cmovbe esi, eax
add esi, esi
lea eax, [esi*4 - 8]
push eax
lea eax, [ebx + 0x54]
push eax
lea eax, [edi + 8]
push eax
call fcn.00537770
mov eax, dword [ebx + 0x50]
dec esi
add eax, 2
add esp, 0xc
cmp esi, eax
jb 0x524b26
mov dword [edi + esi*4], 0xffffffff
dec esi
mov ecx, dword [ebx + 0x50]
add ecx, 2
cmp esi, ecx
jae 0x524b14
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffcc
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffc1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd0
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd1
pop ebx
mov esp, ebp
pop ebp
ret