Function at 0x405110
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 0x4051f8
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 0x4051f3
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 0x40d4bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp eax, dword [edi + 0x24]
jb 0x405231
pop edi
pop esi
mov eax, 0xffffffcb
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x20]
jmp 0x40522e
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.0x40b6a4.15
movzx eax, byte [eax + 0x40d624]
jmp dword [eax*4 + 0x40d4c8]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0xffffffff
jne 0x4052d2
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.0x40b6a4.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 0x405299
mov eax, dword [edx + 0x4c]
jmp 0x405272
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 0x4052cf
mov dword [eax + 0x50], esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x5ce578]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x40522b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x68]
jbe 0x4052f9
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 4]
mov esi, 0xfffffc19
mov dword [ebp - 0x20], eax
jmp 0x406c0f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0xffffffff
je 0x40535b
mov eax, dword [eax + 0x4c]
cmp eax, 0xffffffff
je case.0x40b6a4.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 0x40533e
mov eax, dword [ecx + 0x4c]
jmp 0x405315
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 0x405231
mov esi, dword [eax + 0x38]
mov edi, dword [eax + 0x3c]
cmp esi, edi
jne 0x40538a
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx + 0x80]
test al, 4
jne 0x405383
test al, 8
je 0x40538a
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*2]
cmp edi, eax
jne 0x40538a
mov edi, ebx
jmp case.0x405253.160
mov eax, dword [ebp + 0x20]
cmp esi, dword [eax + 0x5c]
jae 0x40d3f9
mov edi, dword [ebp + 0x20]
mov eax, dword [eax + 0x84]
or eax, dword [edi + 0x80]
test eax, 0x20000000
je 0x40d3f7
test dl, dl
je case.0x405253.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 0x4053fb
mov eax, dword [ebp - 4]
mov edx, dword [edi + 0x5c]
mov ecx, dword [eax + 0x38]
cmp ecx, edx
jae 0x40543c
push dword [ebp - 8]
lea eax, [edi + 0x94]
push eax
push edx
push esi
push ecx
call fcn.0041a9b0
add esp, 0x14
test eax, eax
je 0x405439
jmp case.0x405253.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 0x405439
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x405439
cmp esi, 1
je case.0x405253.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x405253.160
mov eax, dword [ebp - 4]
cmp word [edi + 0x48], 0
je case.0x405253.13
mov ecx, dword [eax + 0x38]
mov eax, dword [edi + 0x5c]
sub eax, 2
cmp ecx, eax
jne case.0x405253.13
mov eax, dword [ebp + 0x20]
cmp dword [eax + 0x90], 0
jne 0x405488
cmp dword [eax + 0x94], 2
jne 0x405488
mov edi, dword [ebp + 0x20]
mov ax, word [ecx]
cmp ax, word [edi + 0x98]
jne case.0x405253.13
mov eax, edi
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x40633b
mov edi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x4054c0
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x4054b6
cmp ecx, dword [eax + 0x64]
jbe 0x4054b6
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x40633b
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x406c0c
mov esi, dword [ebp - 8]
add ecx, 2
mov dword [eax + 0x38], ecx
test esi, esi
je 0x405541
cmp ecx, dword [edi + 0x5c]
jae 0x405541
mov ax, word [ecx]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x40553e
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov eax, ecx
add dword [eax], 2
jmp 0x405231
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x405535
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jbe case.0x405253.160
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x40633b
mov edi, eax
jmp case.0x405253.160
mov ecx, dword [ebp - 4]
add eax, 2
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x405231
mov eax, dword [ebp - 4]
test esi, esi
je 0x4055f2
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 0x405580
inc dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
jmp 0x405586
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 0x4055b4
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x4054b6
cmp edx, esi
jb 0x4054b6
cmp edx, dword [eax + 0x64]
jmp 0x4054a2
mov esi, dword [ebp - 8]
test ecx, ecx
je 0x405231
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.0x405253.160
add dword [eax + 0xc], 0xffffffff
jne 0x4055c2
mov esi, dword [ebp - 8]
jmp 0x405231
mov esi, dword [eax + 0x38]
mov eax, dword [edi + 0x5c]
sub eax, esi
and eax, 0xfffffffe
cmp eax, 2
jge 0x405618
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x4054b6
cmp esi, dword [eax + 0x64]
jmp 0x4054a2
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 0x4058e8
xor esi, esi
jmp 0x406c0f
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x5c]
jae 0x405602
cmp dword [ebp - 8], 0
je 0x405757
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 0x405693
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 0x405696
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
movzx edx, word [ecx]
cmp esi, 0x80
jae 0x4056d4
mov eax, dword [edi + 0x34]
cmp edx, 0xff
ja 0x4056b3
movzx edx, byte [eax + edx]
movzx eax, byte [eax + esi]
cmp eax, edx
mov eax, dword [ebp - 4]
je 0x4056c5
xor esi, esi
jmp 0x406c0f
add dword [eax], 2
add dword [eax + 0x38], 2
mov esi, dword [ebp - 8]
jmp 0x405231
add ecx, 2
mov dword [eax + 0x38], ecx
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40570a
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 0x40a91b
mov eax, esi
shr eax, 7
movzx ecx, word [eax*2 + 0x5d21b0]
mov eax, esi
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x5cf634]
add eax, esi
cmp edx, eax
je 0x40a91b
jmp case.0x405253.160
mov eax, dword [eax]
mov ecx, 0xff
movzx eax, word [eax + 2]
cmp ax, cx
ja 0x405772
mov ecx, eax
mov eax, dword [edi + 0x34]
movzx edx, byte [eax + ecx]
jmp 0x405774
mov edx, eax
movzx eax, word [esi]
mov ecx, eax
cmp ax, word [ebp - 0x40]
ja 0x405786
mov eax, dword [edi + 0x34]
movzx ecx, byte [eax + ecx]
cmp edx, ecx
jne case.0x405253.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 0x405231
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
cmp edx, dword [edi + 0x5c]
jb 0x4057c5
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x4054b6
cmp edx, dword [eax + 0x64]
jmp 0x4054a2
test esi, esi
je 0x4058ad
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 0x40580c
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 0x40584e
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 0x40585c
xor esi, esi
jmp 0x406c0f
cmp byte [eax + 0x31], 0x20
jne 0x40a91b
cmp edx, 0x7f
jbe 0x405896
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x5d21b0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea eax, [eax + eax*2]
add edx, dword [eax*4 + 0x5cf634]
jmp 0x40589d
mov eax, dword [edi + 0x38]
movzx edx, byte [eax + edx]
cmp edx, esi
mov esi, dword [ebp - 8]
jne 0x405231
jmp case.0x405253.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.0x405253.160
mov eax, ebx
cmp byte [eax + 0x31], 0x20
jne 0x4058e8
cmp ecx, 0xff
ja 0x4058e0
mov eax, dword [edi + 0x38]
movzx ecx, byte [eax + ecx]
mov eax, ebx
cmp ecx, esi
je case.0x405253.160
add dword [eax], 4
jmp 0x40522b
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 0x4059dd
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 0x4059da
mov dword [ebp - 0xc], 1
jmp 0x405913
mov dword [ebp - 0xc], 0
jmp 0x405913
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 0x4059da
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 0x4059da
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 0x4059da
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 + 0x5cdee0]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x5cdf0c]
mov dword [ecx + 0x24], eax
mov eax, dword [edx*4 + 0x5cdf38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
test esi, esi
je 0x405d7c
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 0x405a2f
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 0x405a32
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 0x405d77
cmp byte [eax + 0x31], 0x2e
jb 0x405a90
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x5d21b0]
mov eax, edx
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x5cf634]
add ecx, edx
cmp ecx, edx
je 0x405a90
mov eax, dword [ebp - 4]
add eax, 0x32
push eax
push ecx
call fcn.0041ab40
add esp, 8
jmp 0x405a92
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 0x405bcd
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
jmp 0x405ab9
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 0x405b3a
mov eax, dword [ebp - 4]
mov esi, edi
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x405af1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405afa
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405ae0
cmp esi, 0xfffffffc
je 0x405bad
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405b37
cmp esi, 0xfffffffd
je 0x405bad
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405b37
cmp esi, 0xfffffffe
je 0x405bad
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405b37
cmp esi, 0xffffffff
je 0x405bad
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x405bad
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x405c06
lea edi, [eax + eax]
mov eax, ecx
sub eax, edi
cmp ebx, eax
ja 0x405c06
mov edx, dword [ebp - 4]
mov esi, edi
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x405b77
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405b7c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405b66
cmp esi, 0xfffffffc
je 0x405bad
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405c06
cmp esi, 0xfffffffd
je 0x405bad
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405c06
cmp esi, 0xfffffffe
je 0x405bad
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405c06
cmp esi, 0xffffffff
je 0x405bad
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x405c06
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 0x405ab6
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 0x405231
cmp dword [ebp - 0xc], 0
je 0x40cefc
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 0x405d5c
mov ebx, dword [eax + 0x38]
jmp 0x405c28
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x4054b6
cmp ebx, dword [eax + 0x5c]
jb 0x4054b6
cmp ebx, dword [eax + 0x64]
jmp 0x4054a2
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 0x405caa
mov eax, dword [ebp - 4]
mov esi, edi
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x405c61
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405c6a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405c50
cmp esi, 0xfffffffc
je 0x405d19
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405ca7
cmp esi, 0xfffffffd
je 0x405d19
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405ca7
cmp esi, 0xfffffffe
je 0x405d19
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405ca7
cmp esi, 0xffffffff
je 0x405d19
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x405d19
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x405d33
lea edi, [eax + eax]
mov eax, ecx
sub eax, edi
cmp ebx, eax
ja 0x405d33
mov edx, dword [ebp - 4]
mov esi, edi
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x405ce7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x405cec
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405cd6
cmp esi, 0xfffffffc
je 0x405d19
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405d33
cmp esi, 0xfffffffd
je 0x405d19
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405d33
cmp esi, 0xfffffffe
je 0x405d19
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405d33
cmp esi, 0xffffffff
je 0x405d19
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x405d33
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 0x405c25
jmp 0x405d5c
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x405d59
cmp ebx, dword [eax + 0x5c]
jb 0x405d59
cmp ebx, dword [eax + 0x64]
jbe 0x405d59
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x40633b
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 0x405231
mov ecx, dword [eax + 0x38]
jmp 0x40bcc4
mov dword [eax + 0x28], edx
jmp 0x405d8a
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 0x405eca
test esi, esi
je 0x405ddd
mov edx, dword [eax + 0x28]
cmp edx, 0x7f
jbe 0x405ddd
mov eax, edx
test eax, eax
jns 0x405da9
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x5d21b0]
mov eax, edx
shl ecx, 7
and eax, 0x8000007f
jns 0x405dc5
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x5cf634]
add ecx, edx
jmp 0x405def
mov ecx, dword [eax + 0x28]
cmp ecx, 0xff
ja 0x405def
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 0x405e44
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 0x405498
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x405e30
cmp dword [ebx + 0x2c], eax
jne 0x4054b6
mov eax, dword [ebp - 4]
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
mov eax, dword [eax + 0x20]
cmp edx, eax
jbe 0x405e10
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x40522e
cmp dword [ebp - 0xc], 0
je 0x40b44b
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 0x405eb2
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x405e91
movzx ecx, word [eax]
cmp dword [ebx + 0x28], ecx
je 0x405e83
cmp dword [ebx + 0x2c], ecx
jne 0x405eb2
add eax, 2
inc edx
mov dword [ebx + 0x38], eax
cmp edx, dword [ebx + 0x24]
jb 0x405e71
jmp 0x405eb2
cmp word [edi + 0x48], 0
je 0x405eb2
cmp eax, dword [edi + 0x64]
jbe 0x405eb2
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x40633b
cmp dword [ebp - 0xc], 2
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
je 0x405231
mov ebx, dword [ebp - 4]
jmp 0x40b468
mov eax, dword [eax + 0x20]
mov esi, 1
cmp eax, esi
jb 0x405f0a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
nop dword [eax]
mov eax, dword [ebp + 0x20]
cmp edx, dword [eax + 0x5c]
jae 0x4057b2
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 0x405f60
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x405ee0
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x40522e
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x40b4c9
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 0x405f88
mov ecx, dword [eax + 0x38]
nop dword [eax + eax]
cmp ecx, dword [edi + 0x5c]
jae 0x405f6a
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
jne 0x405f8b
mov eax, ebx
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
cmp edx, dword [eax + 0x24]
jb 0x405f40
jmp 0x405f88
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x406c0f
cmp word [edi + 0x48], 0
je 0x405f88
cmp ecx, dword [edi + 0x64]
jbe 0x405f88
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
mov ebx, dword [ebp - 4]
cmp esi, 2
mov esi, dword [ebp - 8]
je 0x40522e
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jbe 0x40522b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1c
jmp 0x40d321
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 0x4060dc
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 0x4060dc
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 0x4060dc
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 0x4060dc
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 0x4060dc
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 0x4060dc
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 0x4060dc
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 + 0x5cdee0]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x5cdf0c]
mov dword [ecx + 0x24], eax
mov eax, dword [edx*4 + 0x5cdf38]
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 0x40612b
mov ecx, dword [eax + 0x28]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406128
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 0x4063bd
test esi, esi
je 0x40617e
mov edx, dword [eax + 0x28]
cmp edx, 0x7f
jbe 0x40617e
mov eax, edx
test eax, eax
jns 0x40614a
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x5d21b0]
mov eax, edx
shl ecx, 7
and eax, 0x8000007f
jns 0x406166
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x5cf634]
add ecx, edx
jmp 0x406190
mov ecx, dword [eax + 0x28]
cmp ecx, 0xff
ja 0x406190
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 0x406229
mov esi, 1
cmp eax, esi
jb 0x406224
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
jmp 0x4061c3
mov eax, dword [ebp - 4]
cmp edx, dword [edi + 0x5c]
jae 0x40756c
movzx ecx, word [edx]
add edx, 2
mov dword [eax + 0x38], edx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406207
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 0x40620a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], ecx
je case.0x405253.160
cmp dword [eax + 0x2c], ecx
je case.0x405253.160
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x4061c0
mov esi, dword [ebp - 8]
jmp 0x406271
mov edx, 1
cmp eax, edx
jb 0x406271
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
nop dword [eax + eax]
cmp ecx, dword [edi + 0x5c]
jae 0x4087e6
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je case.0x405253.160
cmp dword [ebx + 0x2c], eax
je case.0x405253.160
mov eax, ebx
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
mov eax, dword [eax + 0x20]
cmp edx, eax
jbe 0x406240
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x40522e
cmp dword [ebp - 0xc], 0
je 0x40cd56
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 0x40634c
cmp edi, eax
jae 0x406347
mov eax, ebx
mov edx, dword [eax + 0x38]
nop
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x406324
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4062ed
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 0x406306
cmp dword [eax + 0x2c], ecx
je 0x406306
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x4062b0
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x405231
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
jmp 0x40bd8f
mov edi, eax
cmp word [edi + 0x48], 0
je 0x406309
cmp edx, dword [edi + 0x64]
jbe 0x406309
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
jbe 0x406309
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x20]
jmp 0x40630c
cmp edi, eax
jae 0x406381
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 0x40639f
movzx ecx, word [eax]
cmp dword [edx + 0x28], ecx
je 0x406381
cmp dword [edx + 0x2c], ecx
je 0x406381
add eax, 2
inc edi
mov dword [edx + 0x38], eax
cmp edi, dword [edx + 0x24]
jb 0x406360
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x405231
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 0x38]
jmp 0x40b55a
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x406384
cmp eax, dword [edi + 0x64]
jbe 0x406384
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
jmp 0x406384
mov eax, dword [eax + 0x20]
test esi, esi
mov esi, 1
je 0x40643d
cmp eax, esi
jb 0x406478
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
jmp 0x4063e3
mov eax, dword [ebp - 4]
cmp edx, dword [edi + 0x5c]
jae 0x40756c
movzx ecx, word [edx]
add edx, 2
mov dword [eax + 0x38], edx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406427
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 0x40642a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], ecx
je case.0x405253.160
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x4063e0
jmp 0x406478
cmp eax, 1
jb 0x406478
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
nop dword [eax + eax]
cmp edx, dword [edi + 0x5c]
jae 0x40756c
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 0x405638
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x406450
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x40522e
cmp dword [ebp - 0xc], 0
je 0x40cd6c
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 0x406551
cmp edi, eax
jae 0x40654c
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 0x40652f
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4064fd
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 0x406511
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x4064c0
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x405231
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
jmp 0x40be51
mov edi, eax
cmp word [edi + 0x48], 0
je 0x406514
cmp edx, dword [edi + 0x64]
jbe 0x406514
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x40633b
jmp 0x406514
mov edi, dword [ebp + 0x20]
jmp 0x406517
cmp edi, eax
jae 0x406581
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 0x40659f
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x406581
mov eax, ebx
add ecx, 2
inc edi
mov dword [eax + 0x38], ecx
cmp edi, dword [eax + 0x24]
jb 0x406560
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x405231
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 0x38]
jmp 0x40b5d8
mov edi, eax
cmp word [edi + 0x48], 0
je 0x406584
cmp ecx, dword [edi + 0x64]
jbe 0x406584
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
jmp 0x406584
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.0x4065ec
movzx eax, byte [eax + 0x40d6d4]
jmp dword [eax*4 + 0x40d6cc]
lea eax, [edx + 2]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ecx*4 + 0x5cdd58]
mov dword [edx + 0x20], eax
mov eax, dword [ecx*4 + 0x5cdd84]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x5cddb0]
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0x20]
jmp 0x406679
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 + 0x5cddb0]
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 0x406679
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 0x406759
cmp eax, ebx
jb 0x4067b7
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [ecx + 0x5c]
jae 0x406727
movzx esi, word [edi]
add edi, 2
mov dword [eax + 0x38], edi
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4066db
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 0x4066de
mov eax, dword [ebp - 4]
cmp esi, 0xff
jbe 0x4066f2
cmp byte [eax + 0x31], 0x6e
je 0x4054b6
jmp 0x406713
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 0x405f60
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + 0x20]
inc ebx
cmp ebx, eax
ja 0x4067b7
mov eax, dword [ebp - 4]
jmp 0x406697
cmp word [ecx + 0x48], 0
je 0x406751
cmp edi, dword [ecx + 0x64]
mov edi, dword [ebp + 0x20]
jbe case.0x405253.160
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
jmp case.0x405253.160
mov edi, dword [ebp + 0x20]
jmp case.0x405253.160
cmp eax, 1
jb 0x4067b7
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [ecx + 0x5c]
jae 0x406727
movzx esi, word [edi]
add edi, 2
mov dword [eax + 0x38], edi
cmp esi, 0xff
jbe 0x406789
cmp byte [eax + 0x31], 0x6e
je 0x4054b6
jmp 0x4067aa
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 0x405f60
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + 0x20]
inc ebx
cmp ebx, eax
ja 0x4067b7
mov eax, dword [ebp - 4]
jmp 0x406767
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x405221
cmp dword [ebp - 0xc], 0
je 0x40cd82
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 0x4068c3
cmp ecx, eax
jae 0x40689e
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 0x406881
movzx esi, word [edi]
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40683d
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 0x406850
cmp byte [eax + 0x31], 0x6e
je 0x40687c
jmp 0x40686d
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 0x40687c
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 0x406800
mov edi, dword [ebp + 0x20]
jmp 0x4068a5
cmp word [eax + 0x48], 0
je 0x4068a3
cmp edi, dword [eax + 0x64]
mov edi, eax
jbe 0x4068a5
mov dword [edi + 0x2c], ebx
cmp word [edi + 0x48], bx
ja 0x40633b
jmp 0x4068a5
mov edi, dword [ebp + 0x20]
jmp 0x4068a8
mov edi, eax
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
je 0x40522e
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc9
jmp 0x40d321
cmp ecx, eax
jae 0x40696b
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [edx + 0x5c]
jae 0x406948
movzx esi, word [edi]
cmp esi, 0xff
jbe 0x406917
cmp byte [eax + 0x31], 0x6e
jne 0x406937
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
je 0x40522e
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jb case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x18
jmp 0x40d321
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 0x4068ea
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 0x4068d4
jmp 0x4068ea
cmp word [edx + 0x48], 0
je 0x4068ea
cmp edi, dword [edx + 0x64]
mov edi, dword [ebp + 0x20]
jbe 0x4068ed
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
jmp 0x4068ed
mov edi, dword [ebp + 0x20]
jmp 0x4068f0
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.0x4069a4
movzx eax, byte [eax + 0x40d6e8]
jmp dword [eax*4 + 0x40d6e0]
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [edx*4 + 0x5cdd58]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x5cdd84]
mov edx, dword [edx*4 + 0x5cddb0]
mov dword [ecx + 0x24], eax
mov eax, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0x20]
jmp 0x406a30
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 + 0x5cddb0]
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 0x406a30
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 0x406ab6
nop dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x406ba2
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x406a94
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406a91
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.0041b290
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 4]
je 0x405638
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x406a40
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x40522b
cmp dword [ebp - 0xc], 0
je 0x40ba10
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 0x406b5c
mov edx, dword [eax + 0x38]
mov ebx, dword [ebp - 8]
jmp 0x406af3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [ecx + 0x5c]
jae 0x406b7a
movzx ecx, word [edx]
test ebx, ebx
je 0x406b37
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406b34
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.0041b290
add esp, 0xc
test eax, eax
je 0x406b5c
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 0x406af0
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
je 0x40522b
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x65
jmp 0x40d321
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x406b5f
cmp edx, dword [edi + 0x64]
jbe 0x406b5f
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x40633b
jmp 0x406b5f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406bb1
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406bf1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406bf1
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 0x406cc0
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je 0x406cc0
xor esi, esi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x40d482
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.0x40b6a4.15
movzx eax, byte [eax + 0x40d7e0]
jmp dword [eax*4 + 0x40d6f4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406c67
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406ca7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406ca7
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.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x405253.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x40522e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406ce9
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406d29
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406d29
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 0x406cc0
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jmp 0x406c04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406d5b
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406d9b
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406d9b
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.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x405253.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x40522e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406ddd
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406e1d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406e1d
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 0x406cc0
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jmp 0x406c04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406e53
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406e93
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406e93
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.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x405253.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x40522e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x406ed5
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp esi, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [esi]
add esi, 2
cmp dword [ebp - 8], 0
mov edx, esi
mov dword [eax + 0x38], esi
je 0x406f16
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406f16
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 0x406f7e
je 0x406f31
cmp ecx, 0xa
je 0x406fa9
jbe case.0x405253.160
cmp ecx, 0xc
jmp 0x406f98
cmp edx, dword [edi + 0x5c]
jb 0x406f62
cmp word [edi + 0x48], 0
je 0x406fa9
cmp edx, dword [edi + 0x64]
jbe 0x406fa9
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
add dword [eax], 2
jmp 0x405231
cmp word [edx], 0xa
jne 0x406fa9
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 0x405231
cmp ecx, 0x85
je 0x406f9e
cmp ecx, 0x2027
jbe case.0x405253.160
cmp ecx, 0x2029
ja case.0x405253.160
cmp word [edi + 0x4a], 2
je case.0x405253.160
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
add dword [eax], 2
jmp 0x405231
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406fd5
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x407018
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407015
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 0x407062
je case.0x405253.160
cmp ecx, 0xa0
ja 0x40704e
je case.0x405253.160
cmp ecx, 9
je case.0x405253.160
cmp ecx, 0x20
je case.0x405253.160
add dword [eax], 2
jmp 0x40522e
cmp ecx, 0x1680
je case.0x405253.160
add dword [eax], 2
jmp 0x40522e
cmp ecx, 0x205f
ja 0x40709c
je case.0x405253.160
cmp ecx, 0x2000
jb 0x406cc3
cmp ecx, 0x200a
jbe case.0x405253.160
cmp ecx, 0x202f
je case.0x405253.160
add dword [eax], 2
jmp 0x40522e
cmp ecx, 0x3000
je case.0x405253.160
add dword [eax], 2
jmp 0x40522e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x4070ce
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x407111
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40710e
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 0x407143
je 0x406cc3
cmp ecx, 0xa0
ja 0x40713b
je 0x406cc3
cmp ecx, 9
je 0x406cc3
cmp ecx, 0x20
jmp 0x407177
cmp ecx, 0x1680
jmp 0x407177
cmp ecx, 0x205f
ja 0x407171
je 0x406cc3
cmp ecx, 0x2000
jb case.0x405253.160
cmp ecx, 0x200a
jbe 0x406cc3
cmp ecx, 0x202f
jmp 0x407177
cmp ecx, 0x3000
je 0x406cc3
jmp case.0x405253.160
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x4071a0
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x4071e0
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4071e0
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 0x40720b
je case.0x405253.160
cmp ecx, 0xa
jb 0x406cc0
cmp ecx, 0xd
jbe case.0x405253.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x40522e
lea eax, [ecx - 0x2028]
cmp eax, 1
ja 0x406cc0
jmp case.0x405253.160
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40723d
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x40727d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40727d
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 0x4072a2
je 0x406cc0
cmp ecx, 0xa
jb case.0x405253.160
cmp ecx, 0xd
jbe 0x406cc0
jmp case.0x405253.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x405253.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x40522e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x4072da
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx edx, word [eax]
lea ecx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ecx
test esi, esi
je 0x40731a
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40731a
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 + 0x5d21b0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
movzx eax, word [esi + 2]
cmp eax, 0xa
ja case.0x40b6a4.15
jmp dword [eax*4 + 0x40d8c0]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0xf
je case.0x405253.160
add dword [eax], 6
jmp 0x40522b
mov al, byte [ecx*4 + 0x5cf631]
cmp al, 9
je 0x407381
cmp al, 5
je 0x407381
cmp al, 8
je 0x407381
xor ecx, ecx
jmp 0x407386
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 0x407362
xor esi, esi
jmp 0x406c0f
movzx ecx, byte [ecx*4 + 0x5cf631]
xor edx, edx
movzx eax, word [esi + 4]
cmp eax, dword [ecx*4 + 0x5ce718]
mov ecx, dword [ebp - 4]
setne dl
xor eax, eax
cmp byte [ecx + 0x31], 0x10
sete al
cmp edx, eax
mov eax, ecx
jne 0x407362
xor esi, esi
jmp 0x406c0f
movzx eax, byte [ecx*4 + 0x5cf631]
mov ebx, dword [ebp - 4]
xor ecx, ecx
cmp word [esi + 4], ax
setne cl
xor eax, eax
cmp byte [ebx + 0x31], 0x10
jmp 0x40738f
movzx eax, byte [ecx*4 + 0x5cf630]
jmp 0x4073d9
movzx eax, byte [ecx*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x407381
cmp eax, 3
je 0x407381
xor ecx, ecx
jmp 0x407386
cmp edx, 0x180e
ja 0x407452
je case.0x40746e.8192
cmp edx, 0x85
ja 0x407442
je case.0x40746e.8192
cmp edx, 9
jb case.0x40746e.8203
cmp edx, 0xd
jbe case.0x40746e.8192
cmp edx, 0x20
jmp 0x407483
cmp edx, 0xa0
je case.0x40746e.8192
cmp edx, 0x1680
jmp 0x407483
cmp edx, 0x202f
ja 0x407475
je case.0x40746e.8192
add edx, 0xffffe000
cmp edx, 0x29
ja case.0x40746e.8203
movzx eax, byte [edx + 0x40d8f4]
jmp dword [eax*4 + 0x40d8ec]
cmp edx, 0x205f
je case.0x40746e.8192
cmp edx, 0x3000
je case.0x40746e.8192
movzx eax, byte [ecx*4 + 0x5cf631]
xor ecx, ecx
cmp dword [eax*4 + 0x5ce718], 6
sete cl
jmp 0x407386
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0xf
jmp 0x407394
movzx eax, byte [ecx*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x407381
cmp eax, 3
je 0x407381
cmp edx, 0x5f
je 0x407381
xor ecx, ecx
jmp 0x407386
movzx eax, word [esi + 4]
mov ecx, dword [eax*4 + 0x5cf278]
lea eax, [eax*4 + 0x5cf278]
cmp edx, ecx
jb 0x4074ff
lea eax, [eax + 4]
cmp edx, ecx
je 0x40750b
mov ecx, dword [eax]
cmp edx, ecx
jae 0x4074f2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0x10
jmp 0x407394
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0x10
je 0x407362
xor esi, esi
jmp 0x406c0f
cmp edx, 0x24
je 0x407381
cmp edx, 0x40
je 0x407381
cmp edx, 0x60
je 0x407381
cmp edx, 0xa0
jb 0x40754e
cmp edx, 0xd7ff
jbe 0x407381
cmp edx, 0xe000
jae 0x407381
xor ecx, ecx
jmp 0x407386
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
cmp edx, dword [edi + 0x5c]
jb 0x40757f
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp edx, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [edx]
add edx, 2
mov ebx, dword [ebp - 8]
mov esi, edx
mov dword [eax + 0x38], edx
test ebx, ebx
je 0x4075c1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4075c1
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.0041a7d0
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ecx + 0x38], eax
cmp word [edi + 0x48], 0
je 0x4075fd
cmp eax, dword [edi + 0x5c]
jb 0x4075fd
cmp eax, dword [edi + 0x64]
jbe 0x4075fd
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
mov eax, dword [ebp - 4]
mov esi, ebx
add dword [eax], 2
jmp 0x40522e
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 0x407706
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 0x40770b
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 0x407706
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 0x407706
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 0x407706
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 0x407706
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 + 0x5cdd8c]
mov dword [edx + 0x20], eax
mov eax, dword [ecx*4 + 0x5cddb8]
mov dword [edx + 0x24], eax
mov eax, dword [ecx*4 + 0x5cdde4]
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 0x407730
cmp eax, 0xf
je 0x407730
mov eax, dword [ebp - 4]
or ebx, 0xffffffff
jmp 0x407746
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 0x4078a0
test ebx, ebx
js 0x407f26
cmp ebx, 0xa
ja case.0x40b6a4.15
jmp dword [ebx*4 + 0x40d920]
cmp dword [eax + 0x28], 0xf
je case.0x405253.160
mov ecx, dword [eax + 0x38]
mov esi, 1
mov ebx, dword [ebp - 8]
cmp ecx, dword [edi + 0x5c]
jae 0x4077bf
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 0x4077b1
and edx, 0xfc00
cmp edx, 0xd800
jne 0x4077b1
lea ecx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ecx
jmp 0x4077b4
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax + 0x20]
jbe 0x407781
jmp 0x40789d
cmp word [edi + 0x48], 0
je 0x4077dd
cmp ecx, dword [edi + 0x64]
jbe 0x4077dd
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
mov eax, dword [ebp - 4]
xor esi, esi
mov edx, ebx
jmp 0x406c12
mov esi, dword [eax + 0x38]
mov edi, 1
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4078dc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x40783e
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40783e
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x5cf631]
cmp al, 9
je 0x407875
cmp al, 5
je 0x407875
cmp al, 8
je 0x407875
xor ecx, ecx
jmp 0x40787a
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 0x405f60
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x4077f1
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 0x40522b
cmp dword [ebp - 0xc], 0
je 0x40cd9b
mov eax, ebx
mov eax, dword [eax + 0x38]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x40948d
cmp eax, 0xa
ja case.0x40b6a4.15
jmp dword [eax*4 + 0x40d94c]
mov edi, ecx
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp esi, dword [edi + 0x64]
jmp 0x406734
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4078dc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x407949
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407949
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x405f60
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x407900
jmp 0x40789a
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4078dc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x4079fd
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4079fd
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x405f60
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x4079b0
jmp 0x40789a
mov esi, dword [eax + 0x38]
mov edi, 1
nop word [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4078dc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x407aad
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407aad
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf630]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x405f60
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x407a60
jmp 0x40789a
mov esi, dword [eax + 0x38]
mov edi, 1
nop word [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4078dc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x407b5d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407b5d
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x407b9a
cmp eax, 3
je 0x407b9a
xor ecx, ecx
jmp 0x407b9f
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 0x405f60
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x407b10
jmp 0x40789a
mov esi, 1
nop dword [eax]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x406ba2
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x407c20
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407c20
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 0x407c23
mov edx, dword [ebp - 4]
cmp ecx, 0x180e
ja 0x407c66
je case.0x407c82.8192
cmp ecx, 0x85
ja 0x407c52
je case.0x407c82.8192
cmp ecx, 9
jb case.0x407c82.8203
cmp ecx, 0xd
jbe case.0x407c82.8192
cmp ecx, 0x20
jmp 0x407c97
cmp ecx, 0xa0
je case.0x407c82.8192
cmp ecx, 0x1680
jmp 0x407c97
cmp ecx, 0x202f
ja 0x407c89
je case.0x407c82.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x407c82.8203
movzx eax, byte [eax + 0x40d980]
jmp dword [eax*4 + 0x40d978]
cmp ecx, 0x205f
je case.0x407c82.8192
cmp ecx, 0x3000
je case.0x407c82.8192
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
cmp dword [eax*4 + 0x5ce718], 6
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, dword [ebp - 4]
je 0x405638
jmp 0x407cf1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je case.0x405253.160
inc esi
cmp esi, dword [eax + 0x20]
mov eax, dword [ebp - 4]
ja 0x4078a0
jmp 0x407bd0
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4078dc
cmp dword [ebp - 8], 0
lea ecx, [esi + 2]
movzx edx, word [esi]
mov esi, ecx
mov dword [eax + 0x38], ecx
je 0x407d5d
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407d5d
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 + 0x5d21b0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x407da1
cmp eax, 3
je 0x407da1
cmp edx, 0x5f
je 0x407da1
xor ecx, ecx
jmp 0x407da6
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 0x405f60
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x407d10
jmp 0x40789a
mov esi, 1
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x406ba2
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x407e21
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407e1e
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 + 0x5cf278]
lea eax, [eax*4 + 0x5cf278]
cmp ecx, edx
jb 0x407e43
lea eax, [eax + 4]
cmp ecx, edx
je 0x407e62
mov edx, dword [eax]
cmp ecx, edx
jae 0x407e36
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
jne 0x405638
inc esi
cmp esi, dword [eax + 0x20]
mov eax, dword [ebp - 4]
ja 0x4078a0
jmp 0x407dd0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je case.0x405253.160
jmp 0x407e50
mov esi, 1
nop word [eax + eax]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x406ba2
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x407ed0
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407ed0
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 0x407ed3
mov edx, dword [ebp - 4]
cmp ecx, 0x24
je 0x407efe
cmp ecx, 0x40
je 0x407efe
cmp ecx, 0x60
je 0x407efe
cmp ecx, 0xa0
jb 0x407ef2
cmp ecx, 0xd7ff
jbe 0x407efe
cmp ecx, 0xe000
jae 0x407efe
xor ecx, ecx
jmp 0x407f03
mov ecx, 1
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, dword [ebp - 4]
je 0x405638
inc esi
cmp esi, dword [eax + 0x20]
jbe 0x407e80
jmp 0x40789d
mov eax, dword [eax + 0x28]
cmp eax, 0x16
jne 0x407ff7
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 0x407fe2
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 0x407f90
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407f90
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.0041a7d0
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ecx + 0x38], eax
cmp word [ebx + 0x48], 0
je 0x407fce
cmp eax, dword [ebx + 0x5c]
jb 0x407fce
cmp eax, dword [ebx + 0x64]
jbe 0x407fce
mov dword [ebx + 0x2c], 1
cmp word [ebx + 0x48], 1
ja 0x40633b
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x407f40
mov edi, ebx
jmp 0x40789d
mov edi, ebx
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x40b6a4.15
test esi, esi
je 0x4086e9
jmp dword [eax*4 + 0x40d9ac]
jmp dword [eax*4 + 0x40d9ec]
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp ecx, dword [edi + 0x64]
jmp 0x406734
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x20]
cmp esi, dword [eax + 0x24]
jae 0x408d7f
mov edx, dword [eax + 0x38]
mov ebx, dword [ebp - 8]
mov ecx, 1
cmp edx, dword [edi + 0x5c]
jae 0x408c96
test ebx, ebx
je 0x408c7b
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 0x408d7f
lea edx, [edx + ecx*2]
inc esi
mov dword [eax + 0x38], edx
cmp esi, dword [eax + 0x24]
jb 0x408c56
jmp 0x408d7f
cmp word [edi + 0x48], 0
je 0x408d7f
cmp edx, dword [edi + 0x64]
jbe 0x408d7f
mov dword [edi + 0x2c], ecx
cmp word [edi + 0x48], cx
ja 0x40633b
jmp 0x408d7f
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408d79
mov edx, dword [eax + 0x38]
nop
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408d97
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x408d17
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x408d17
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x5cf631]
cmp al, 9
je 0x408d4e
cmp al, 5
je 0x408d4e
cmp al, 8
je 0x408d4e
xor ecx, ecx
jmp 0x408d53
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 0x4091c8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x408cd0
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 0x405231
mov ecx, dword [eax + 0x38]
jmp 0x40cd0b
mov edi, eax
cmp word [edi + 0x48], 0
je 0x408d7c
cmp edx, dword [edi + 0x64]
jbe 0x408d7c
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x40633b
jmp 0x408d7c
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408d79
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408d97
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x408e05
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x408e05
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x4091c8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x408dc2
jmp 0x408d79
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408d79
mov edx, dword [eax + 0x38]
nop dword [eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408d97
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x408ec7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x408ec7
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x4091c8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x408e80
jmp 0x408d79
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408d79
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408d97
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x408f7b
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x408f7b
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf630]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x4091c8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x408f34
jmp 0x408d79
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408d79
mov edx, dword [eax + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408d97
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x409037
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x409037
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x409074
cmp eax, 3
je 0x409074
xor ecx, ecx
jmp 0x409079
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 0x4091c8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x408ff0
jmp 0x408d79
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
cmp ebx, dword [eax + 0x24]
jae 0x408d7c
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 0x408d97
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x409107
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x409107
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 0x40914a
je case.0x40916a.8192
cmp ecx, 0x85
ja 0x409136
je case.0x40916a.8192
cmp ecx, 9
jb case.0x40916a.8203
cmp ecx, 0xd
jbe case.0x40916a.8192
cmp ecx, 0x20
jmp 0x40917f
cmp ecx, 0xa0
je case.0x40916a.8192
cmp ecx, 0x1680
jmp 0x40917f
cmp ecx, 0x202f
ja 0x409171
je case.0x40916a.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x40916a.8203
movzx eax, byte [eax + 0x40da34]
jmp dword [eax*4 + 0x40da2c]
cmp ecx, 0x205f
je case.0x40916a.8192
cmp ecx, 0x3000
je case.0x40916a.8192
mov edx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
cmp dword [eax*4 + 0x5ce718], 6
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
jne 0x4091df
mov edi, dword [ebp + 0x20]
jmp 0x408d7f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je 0x408d79
mov edi, edx
lea edx, [edi + esi*2]
inc ebx
mov dword [eax + 0x38], edx
mov edi, edx
cmp ebx, dword [eax + 0x24]
jb 0x4090c0
jmp 0x408d79
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
cmp ebx, dword [eax + 0x24]
jae 0x408d7c
mov esi, dword [eax + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov edi, 1
cmp esi, dword [eax + 0x5c]
jae 0x4092cb
cmp dword [ebp - 8], 0
movzx edx, word [esi]
je 0x409257
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x409257
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 + 0x5d21b0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x40929b
cmp eax, 3
je 0x40929b
cmp edx, 0x5f
je 0x40929b
xor ecx, ecx
jmp 0x4092a0
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 0x4091c8
lea esi, [esi + edi*2]
inc ebx
mov dword [eax + 0x38], esi
cmp ebx, dword [eax + 0x24]
jb 0x409210
jmp 0x408d79
mov edi, eax
cmp word [edi + 0x48], 0
je 0x408d7c
cmp esi, dword [edi + 0x64]
jbe 0x408d7c
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
jmp 0x408d7c
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408d79
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 0x4093b4
movzx ecx, word [edx]
test ebx, ebx
je 0x409358
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x409355
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 + 0x5cf278]
lea eax, [eax*4 + 0x5cf278]
cmp ecx, edx
jb 0x40937d
nop dword [eax]
lea eax, [eax + 4]
cmp ecx, edx
je 0x4093a5
mov edx, dword [eax]
cmp ecx, edx
jae 0x409370
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0xf
jne 0x408d79
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 0x409310
jmp 0x408d79
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0xf
je 0x408d79
jmp 0x40938a
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x408d7c
cmp edx, dword [edi + 0x64]
jbe 0x408d7c
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x40633b
jmp 0x408d7c
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x24]
jae 0x408d79
mov edx, dword [ebx + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408d97
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x409437
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x409437
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 0x409462
cmp ecx, 0x40
je 0x409462
cmp ecx, 0x60
je 0x409462
cmp ecx, 0xa0
jb 0x409456
cmp ecx, 0xd7ff
jbe 0x409462
cmp ecx, 0xe000
jae 0x409462
xor ecx, ecx
jmp 0x409467
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je 0x408d79
lea edx, [edx + esi*2]
inc edi
mov dword [ebx + 0x38], edx
cmp edi, dword [ebx + 0x24]
jb 0x4093f0
jmp 0x408d79
mov eax, dword [ebx + 0x28]
cmp eax, 0x16
jne 0x409584
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x24]
jae 0x40956c
mov ecx, dword [ebp + 0x20]
nop dword [eax + eax]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ecx + 0x5c]
jae 0x409549
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov esi, edx
mov dword [ebx + 0x38], edx
je 0x4094fa
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4094fa
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.0041a7d0
mov ecx, dword [ebp + 0x20]
add esp, 0x18
mov dword [ebx + 0x38], eax
cmp word [ecx + 0x48], 0
je 0x40953b
cmp eax, dword [ecx + 0x5c]
jb 0x40953b
cmp eax, dword [ecx + 0x64]
jbe 0x40953b
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x40633b
inc edi
cmp edi, dword [ebx + 0x24]
jb 0x4094b0
mov edi, ecx
jmp 0x40956f
mov edi, dword [ebp + 0x20]
cmp word [edi + 0x48], 0
je 0x40956f
cmp eax, dword [edi + 0x64]
jbe 0x40956f
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
jmp 0x40956f
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov esi, dword [ebp - 8]
je 0x40522e
mov edx, dword [ebx + 4]
jmp 0x40ccf1
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x40b6a4.15
mov esi, dword [ebp - 8]
test esi, esi
je 0x409ce3
jmp dword [eax*4 + 0x40da60]
jmp dword [eax*4 + 0x40daa0]
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 0x40a338
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 0x40a30a
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
jne 0x40a338
movzx eax, word [edi + 0x4e]
lea ecx, [ecx + eax*2]
test esi, esi
jg 0x40a2f0
jmp 0x40a338
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.0x40a350
movzx eax, byte [eax + 0x40dae8]
jmp dword [eax*4 + 0x40dae0]
mov esi, dword [edx*4 + 0x5cddb0]
lea eax, [ecx + 2]
mov dword [ebx], eax
mov eax, dword [edx*4 + 0x5cdd58]
mov dword [ebx + 0x20], eax
mov eax, dword [edx*4 + 0x5cdd84]
mov dword [ebx + 0x24], eax
mov dword [ebp - 0xc], esi
jmp 0x40a3ab
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 + 0x5cddb0]
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x40a3a6
mov dword [ebx + 0x24], 0xffffffff
lea eax, [edx + 6]
mov dword [ebx], eax
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x50]
jae 0x40a3ce
mov ecx, dword [ebx + eax*4 + 0x54]
cmp ecx, 0xffffffff
je 0x40a3ce
mov esi, dword [ebp - 8]
cmp ecx, dword [ebx + eax*4 + 0x58]
je 0x40522e
mov eax, dword [ebx + 0x20]
jmp 0x40a3ec
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp - 8]
test eax, eax
je 0x40522e
test dword [edi + 0x84], 0x200
jne 0x40522e
mov esi, 1
cmp eax, esi
jb 0x40a421
lea eax, [ebp - 0x4c]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.0040dc30
add esp, 0x14
test eax, eax
jne 0x40a492
mov eax, dword [ebp - 0x4c]
inc esi
add eax, eax
add dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x20]
cmp esi, eax
jbe 0x40a3f5
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x40522e
cmp dword [ebp - 0xc], 0
je 0x40ce79
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 0x40a4e7
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.0040dc30
add esp, 0x14
test eax, eax
jne 0x40a4b9
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 0x40a460
jmp 0x40a4df
jle 0x40a49a
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
jle 0x40a4df
mov ecx, dword [ebp + 0x20]
cmp word [ecx + 0x48], 0
je 0x40a4df
mov eax, dword [ecx + 0x5c]
cmp eax, dword [ecx + 0x64]
jbe 0x40a4df
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x40633b
test esi, esi
je 0x40cdd4
mov edi, dword [ebp + 0x20]
jmp 0x40b2fd
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.0040dc30
add esp, 0x14
test eax, eax
je 0x40a52e
jle 0x40a50f
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
mov eax, dword [ebp + 0xc]
add eax, eax
add dword [ebx + 0x38], eax
jmp 0x40522b
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 0x40a543
lea eax, [ecx + 4]
mov dword [edx], eax
jmp 0x405231
cmp dword [edi + 0x30], 0
mov ebx, dword [ebp - 4]
jne 0x40cde8
cmp dword [ebx + 0x18], 0
je 0x40cde8
mov ecx, dword [ebx]
jmp 0x40af10
mov ebx, dword [ebp - 4]
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
call fcn.00405000
mov esi, eax
add esp, 0xc
test esi, esi
jg case.0x405253.160
js 0x406c0c
mov eax, dword [ebp + 0xc]
add eax, eax
add dword [ebx], eax
jmp 0x40522b
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 0x40a5c2
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 0x40a5d6
cmp eax, 0x77
jne 0x40a604
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
call fcn.00405000
mov esi, eax
add esp, 0xc
test esi, esi
jg case.0x405253.160
js 0x406c0c
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.0x40a61f.148
movzx eax, byte [eax + 0x40db0c]
jmp dword [eax*4 + 0x40daf0]
mov edx, dword [ebx + 0x44]
cmp edx, 0xffffffff
je case.0x40a61f.146
movzx eax, word [ecx + 2]
cmp eax, 0xffff
je case.0x40a61f.147
cmp eax, edx
je case.0x40a61f.147
jmp case.0x40a61f.146
mov esi, dword [ebx + 0x44]
cmp esi, 0xffffffff
je case.0x40a61f.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 0x40a715
nop word [eax + eax]
movzx eax, word [ecx]
xor ebx, ebx
dec edx
cmp eax, esi
sete bl
je 0x40a694
lea ecx, [ecx + edi*2]
test edx, edx
jg 0x40a680
mov edi, dword [ebp + 0x20]
test ebx, ebx
mov ebx, dword [ebp - 4]
je case.0x40a61f.146
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x5ce578]
jmp 0x40a71d
movzx eax, word [ecx + 2]
lea eax, [eax*2 - 2]
cmp eax, dword [ebx + 0x50]
jae case.0x40a61f.146
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
je case.0x40a61f.146
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x5ce578]
jmp 0x40a71d
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.0x40a61f.146
mov edi, dword [ebx + 0x50]
movzx eax, word [ecx]
dec edx
lea eax, [eax*2 - 2]
cmp eax, edi
jae 0x40a70e
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
jne 0x40cb84
lea ecx, [ecx + esi*2]
test edx, edx
jg 0x40a6f4
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 0x40522b
mov edx, 0x2008d
mov byte [eax + 0x30], 0x23
mov dword [ebp + 8], edx
jmp 0x40d321
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
movzx edx, word [eax + 2]
test esi, esi
je 0x40a780
test edx, edx
je 0x40a77b
mov ecx, dword [ebx + 0x38]
dec edx
cmp ecx, dword [edi + 0x58]
jbe case.0x405253.160
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
mov ax, word [ecx]
and ax, word [ebp - 0x14]
cmp ax, word [ebp - 0x18]
jne 0x40a777
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
test edx, edx
jne 0x40a754
mov ecx, dword [ebx + 0x38]
jmp 0x40a79a
mov ecx, dword [ebx + 0x38]
mov eax, ecx
sub eax, dword [edi + 0x58]
sar eax, 1
cmp edx, eax
jg case.0x405253.160
lea eax, [edx + edx]
sub ecx, eax
mov dword [ebx + 0x38], ecx
cmp ecx, dword [edi + 0x64]
jae 0x40a7a2
mov dword [edi + 0x64], ecx
add dword [ebx], 4
jmp 0x40522e
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 0x40a7b0
jmp 0x405231
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 0x40a84c
mov ecx, 0x88
cmp ax, cx
je 0x40a84c
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 0x40a847
mov eax, dword [edi + 0x50]
shl eax, 2
push eax
lea eax, [edi + 0x54]
push eax
lea eax, [esi + 0x54]
push eax
call fcn.0041fff0
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 0x406c0c
movzx eax, word [ebx]
jmp 0x40a854
mov ecx, dword [ebp + 0x20]
xor esi, esi
mov edx, dword [ebp - 0x10]
movzx eax, ax
add eax, 0xffffff82
cmp eax, 0xe
ja case.0x40a86a.132
movzx eax, byte [eax + 0x40db38]
jmp dword [eax*4 + 0x40db20]
mov eax, dword [edi + 0x38]
cmp eax, dword [ecx + 0x68]
jbe 0x40a87c
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.0x40a86a.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 0x40a8a0
jmp case.0x40a86a.132
push dword [ebp - 8]
push dword [edi + 0x38]
push dword [esi + 0x38]
call fcn.0041ab90
add esp, 0xc
test eax, eax
jne case.0x40a86a.132
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x406c0c
movzx eax, word [ebx + 4]
cmp dword [edi + 0x44], eax
jne 0x40a923
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.0041fff0
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 0x405231
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.0x40a86a.132
mov dword [edi + 0x50], edx
mov edx, dword [edi]
cmp word [edx], 0x7c
jne 0x40a97d
push dword [ebp - 0x3c]
lea eax, [edi + 0x38]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.0041fff0
mov edi, dword [ebp + 0x20]
add esp, 0xc
mov esi, 0xfffffc1a
jmp 0x406c0c
mov cl, byte [edi + 0x31]
cmp cl, 0x79
je 0x40a999
test esi, esi
je 0x40ce3b
mov eax, dword [edi + 0x38]
cmp eax, dword [esi + 0x38]
jne 0x40ce3b
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
add dword [ebx], 4
jmp 0x40522b
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x58]
jne case.0x405253.160
test byte [edi + 0x80], 1
jne case.0x405253.160
add dword [ecx], 2
jmp 0x405231
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x58]
je 0x40a9c3
jmp case.0x405253.160
test byte [edi + 0x80], 2
jne case.0x405253.160
test byte [edi + 0x84], 0x10
je case.0x405253.23
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x405253.160
cmp word [edi + 0x48], 0
je 0x40a9c3
cmp eax, dword [edi + 0x64]
jbe 0x40a9c3
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
add dword [ecx], 2
jmp 0x405231
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edx, dword [edi + 0x38]
mov esi, dword [ecx + 0x5c]
cmp edx, esi
jae 0x40aaab
mov eax, dword [ecx + 0x90]
lea ebx, [ecx + 0x94]
test eax, eax
je 0x40aa71
push dword [ebp - 8]
push ebx
push esi
push eax
push edx
call fcn.0041a9b0
add esp, 0x14
test eax, eax
je 0x40aad7
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 0x40aa9f
mov edi, dword [ebx]
mov ecx, esi
lea eax, [edi + edi]
sub ecx, eax
cmp edx, ecx
ja 0x40aad4
mov ecx, dword [ebp + 0x20]
mov ax, word [edx]
cmp ax, word [ecx + 0x98]
jne 0x40aad4
cmp edi, 1
je 0x40aa9f
mov ax, word [edx + 2]
cmp ax, word [ecx + 0x9a]
jne 0x40aad4
lea eax, [edi + edi]
mov edi, dword [ebp - 4]
sub esi, eax
cmp edx, esi
jne 0x40aad7
cmp word [ecx + 0x48], 0
je 0x40aac9
cmp edx, dword [ecx + 0x64]
jbe 0x40aac9
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x40633b
add dword [edi], 2
mov edi, dword [ebp + 0x20]
jmp 0x40522b
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x40552e
mov ecx, dword [edi + 0x38]
mov edi, dword [ebp + 0x20]
lea eax, [ecx + 2]
cmp eax, dword [edi + 0x5c]
jb case.0x405253.160
cmp dword [edi + 0x90], 0
jne case.0x405253.160
cmp dword [ebx], 2
jne case.0x405253.160
mov ax, word [ecx]
cmp ax, word [edi + 0x98]
jne case.0x405253.160
jmp 0x40673a
test byte [edi + 0x80], 1
mov ebx, dword [ebp - 4]
je 0x40ab3a
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x58]
je case.0x405253.160
mov ecx, dword [ebx + 0x38]
mov edx, dword [edi + 0x58]
cmp ecx, edx
je 0x40acba
cmp ecx, dword [edi + 0x5c]
jne 0x40ab5d
test dword [edi + 0x84], 0x200000
je case.0x405253.160
mov esi, dword [edi + 0x90]
test esi, esi
je 0x40ab94
cmp ecx, edx
jbe case.0x405253.160
push dword [ebp - 8]
lea eax, [edi + 0x94]
push eax
push edx
push esi
push ecx
call fcn.0041aa60
add esp, 0x14
test eax, eax
je case.0x405253.160
add dword [ebx], 2
jmp 0x40522b
mov edi, dword [edi + 0x94]
lea esi, [edi + edi]
lea eax, [edx + esi]
cmp ecx, eax
jb 0x406751
mov edx, dword [ebp + 0x20]
sub ecx, esi
mov ax, word [ecx]
cmp ax, word [edx + 0x98]
jne 0x40abda
cmp edi, 1
mov edi, edx
je 0x40acba
mov ax, word [ecx + 2]
cmp ax, word [edi + 0x9a]
je 0x40acba
jmp case.0x405253.160
mov edi, edx
jmp case.0x405253.160
mov ebx, dword [ebp - 4]
mov ecx, dword [edi + 0x5c]
mov edx, dword [ebx + 0x38]
cmp edx, ecx
jae 0x40ac85
mov eax, dword [edi + 0x90]
add edi, 0x94
test eax, eax
je 0x40ac1e
push esi
push edi
push ecx
push eax
push edx
call fcn.0041a9b0
add esp, 0x14
test eax, eax
je 0x40ac4e
mov edi, dword [ebp + 0x20]
add dword [ebx], 2
jmp 0x40522b
mov esi, dword [edi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x40ac4e
mov ecx, dword [ebp + 0x20]
mov ax, word [edx]
cmp ax, word [ecx + 0x98]
jne 0x40ac4e
cmp esi, 1
je 0x40acb8
mov ax, word [edx + 2]
cmp ax, word [ecx + 0x9a]
je 0x40acb8
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x40552e
mov ecx, dword [ebx + 0x38]
mov ebx, dword [ebp + 0x20]
lea eax, [ecx + 2]
cmp eax, dword [ebx + 0x5c]
jb 0x405383
cmp dword [ebx + 0x90], 0
jne 0x405383
cmp dword [edi], 2
mov edi, ebx
jmp 0x40ab07
test byte [edi + 0x80], 2
jne case.0x405253.160
cmp word [edi + 0x48], 0
je 0x40acba
cmp edx, dword [edi + 0x64]
jbe 0x40acba
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
add dword [ebx], 2
jmp 0x40522b
mov edi, ecx
add dword [ebx], 2
jmp 0x40522b
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 0x40a9c3
jmp case.0x405253.160
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
mov dword [ecx + 0x3c], eax
add dword [ecx], 2
jmp 0x405231
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x58]
je 0x40add0
cmp dword [ebp - 8], 0
lea edx, [esi - 2]
je 0x40ad73
movzx eax, word [edx]
mov ecx, eax
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x40ad21
movzx ecx, word [edx - 2]
sub edx, 2
movzx ecx, cx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40ad4c
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 0x40ad5a
mov dword [edi + 0x64], edx
mov esi, dword [eax + 0x38]
test dword [edi + 0x84], 0x20000
je 0x40adb8
cmp ecx, 0x5f
jne 0x40ad78
lea ebx, [ecx - 0x5e]
jmp 0x40add2
movzx ecx, word [edx]
jmp 0x40ad4f
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x40adb1
cmp eax, 3
jne 0x40add0
mov ebx, 1
jmp 0x40add2
cmp ecx, 0xff
ja 0x40add0
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je 0x40add0
mov ebx, 1
jmp 0x40add2
xor ebx, ebx
mov eax, dword [edi + 0x5c]
cmp esi, eax
jb 0x40ae20
cmp word [edi + 0x48], 0
je 0x40adf7
cmp esi, dword [edi + 0x64]
jbe 0x40adf7
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
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 0x40ae10
xor edx, 1
mov ebx, dword [ebp + 0x1c]
test edx, edx
je 0x40a91b
jmp case.0x405253.160
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
je 0x40ae72
cmp edx, eax
jae 0x40ae45
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x40ae45
add edx, 2
movzx ecx, word [esi]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40ae75
movzx eax, word [esi + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
jmp 0x40ae75
movzx ecx, word [esi]
mov edi, dword [ebp + 0x20]
cmp edx, dword [edi + 0x68]
jbe 0x40ae80
mov dword [edi + 0x68], edx
test dword [edi + 0x84], 0x20000
je 0x40aee0
cmp ecx, 0x5f
jne 0x40ae99
lea edx, [ecx - 0x5e]
jmp 0x40adf9
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x40aed6
cmp eax, 3
jne 0x40adf7
mov edx, 1
jmp 0x40adf9
cmp ecx, 0xff
ja 0x40adf7
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je 0x40adf7
mov edx, 1
jmp 0x40adf9
test esi, esi
jne case.0x406c46.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 + 0x5ce578]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
je 0x40ce5e
mov dword [eax], ebx
jmp 0x40522b
cmp esi, 0xfffffc1f
jne 0x40af63
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea eax, [ecx + eax*2]
cmp dword [edi + 0x74], eax
jae case.0x406c46.35
cmp word [ecx], 0x78
je 0x40af6b
cmp word [eax], 0x78
jmp 0x40af65
test esi, esi
jne case.0x406c46.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40d112
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x406c12
cmp esi, 0xfffffc19
je 0x40cac9
test esi, esi
je 0x40afa6
cmp esi, 0xfffffc1f
jne case.0x406c46.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40d1d4
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x406c12
cmp esi, 0xfffffc1f
jg 0x40b009
je 0x40cb05
cmp esi, 0xfffffc19
je 0x40b020
cmp esi, 0xfffffc1a
jle case.0x406c46.35
cmp esi, 0xfffffc1d
jg case.0x406c46.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40aff5
jmp 0x405226
mov eax, esi
sub eax, 0
je 0x40cb05
sub eax, 1
mov eax, dword [ebp - 4]
jne 0x406c12
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x406c12
cmp esi, 0xfffffc1f
jg 0x40b064
je 0x40cb47
cmp esi, 0xfffffc19
je 0x40cb1f
cmp esi, 0xfffffc1a
jle case.0x406c46.35
cmp esi, 0xfffffc1d
jle 0x40cb5e
mov eax, dword [ebp - 4]
jmp 0x406c12
mov eax, esi
sub eax, 0
je 0x40cb47
sub eax, 1
je 0x40cb3f
mov eax, dword [ebp - 4]
jmp 0x406c12
test esi, esi
jne case.0x406c46.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
add eax, eax
sub ecx, eax
mov dword [ebx], ecx
jmp 0x40522b
test esi, esi
je 0x40a99f
mov eax, dword [ebp - 4]
jmp 0x406c12
cmp esi, 0xfffffc1a
jne 0x40b0d7
mov dword [ebx + 0x24], 1
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jne 0x40ce67
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40b0c6
jmp 0x40b11a
cmp esi, 0xfffffc1f
jne 0x40b0fd
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea eax, [ecx + eax*2]
cmp dword [edi + 0x74], eax
jae case.0x406c46.35
cmp word [ecx], 0x78
je 0x40b105
cmp word [eax], 0x78
jmp 0x40b0ff
test esi, esi
jne case.0x406c46.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40d0cb
cmp dword [ebx + 0x24], 0
jne 0x405226
cmp dword [ebx + 0x28], 0
jne 0x405226
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x406c12
test esi, esi
jne case.0x406c46.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 0x40b143
jmp 0x405226
test esi, esi
je 0x40acba
mov eax, dword [ebp - 4]
jmp 0x406c12
mov edx, dword [ebx + 4]
movzx eax, word [edx + 2]
lea ecx, [edx + eax*2]
lea eax, [esi + 0x3e5]
cmp eax, 4
ja 0x40b1b0
mov eax, dword [ebx + 0x20]
xor eax, 0x40000
cmp dword [edi + 0x7c], eax
jne 0x40b1b0
cmp esi, 0xfffffc1f
jne case.0x405253.160
cmp dword [edi + 0x74], ecx
jae case.0x405253.160
cmp word [edx], 0x78
je 0x40b1bb
cmp word [ecx], 0x78
je 0x40b1bb
jmp case.0x405253.160
mov edx, dword [ebp - 8]
test esi, esi
jne case.0x406c46.35
mov dword [ebx + 4], ecx
cmp word [ecx], 0x78
je 0x40d1a2
jmp case.0x405253.160
cmp esi, 0xfffffc1e
jne case.0x406c46.35
mov eax, dword [ebx]
push dword [edi + 0x78]
add eax, 4
push eax
call fcn.0041b0d0
mov edx, dword [ebp - 8]
add esp, 8
test eax, eax
jne case.0x406c46.35
mov eax, dword [ebx + 0x38]
mov esi, 0xfffffc1d
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x406c12
test esi, esi
jne case.0x406c46.35
mov eax, dword [ebx + 0x44]
mov esi, 0xfffffc1b
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x406c12
test esi, esi
jne case.0x406c46.35
mov eax, dword [ebx + 0x44]
mov esi, 0xfffffc1c
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x406c12
test esi, esi
jne case.0x406c46.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 0x406c12
test esi, esi
jne case.0x406c46.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 0x406c12
test esi, esi
jne case.0x406c46.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 0x406c12
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
lea eax, [ebp - 0x54]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.0040dc30
add esp, 0x14
test eax, eax
je 0x40ce71
jle 0x40b2d0
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
test esi, esi
jne case.0x406c46.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.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x15
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov eax, dword [ebx + 4]
cmp dword [ebx + 0x38], eax
je case.0x405253.160
mov dword [ebx + 0x38], eax
dec dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
cmp esi, dword [ebx + 0x24]
jae 0x40b368
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.0040dc30
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 0x40b340
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x16
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b3aa
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
add eax, 2
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
jbe 0x40b3d3
cmp byte [ebx + 0x31], 0x6e
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x17
jmp 0x40d321
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 0x40b3c5
jmp case.0x405253.160
test esi, esi
jne case.0x406c46.35
add dword [ebx + 0x38], 0xfffffffe
jmp 0x4068fd
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov ecx, dword [ebx + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x40b434
cmp word [edi + 0x48], si
je case.0x405253.160
cmp ecx, dword [edi + 0x64]
jmp 0x406734
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x40b445
cmp dword [ebx + 0x2c], eax
jne case.0x405253.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 0x40d321
add dword [ebx + 0x38], 0xfffffffe
test esi, esi
jne case.0x406c46.35
mov esi, dword [ebp - 8]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
je 0x40522e
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1a
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov esi, dword [ebx + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x40b4b7
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp esi, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [esi]
lea eax, [esi + 2]
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ecx
jne case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1b
jmp 0x40d321
add dword [ebx + 0x38], 0xfffffffe
test esi, esi
je 0x405f97
mov eax, dword [ebp - 4]
jmp 0x406c12
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov ecx, dword [ebx + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x40b51f
cmp word [edi + 0x48], si
je case.0x405253.160
cmp ecx, dword [edi + 0x64]
jmp 0x406734
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je case.0x405253.160
cmp dword [ebx + 0x2c], eax
je case.0x405253.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 0x40d321
test esi, esi
jne case.0x406c46.35
add dword [ebx + 0x38], 0xfffffffe
mov eax, dword [ebx + 0x38]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 4]
je 0x40522e
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1e
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov esi, dword [ebx + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x40b5a6
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp esi, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [esi]
lea eax, [esi + 2]
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ecx
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1f
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
add dword [ebx + 0x38], 0xfffffffe
mov eax, dword [ebx + 0x38]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 4]
je 0x40522e
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x20
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov edx, dword [ebx + 0x38]
mov ecx, dword [edi + 0x5c]
cmp edx, ecx
jb 0x40b625
cmp word [edi + 0x48], si
je case.0x405253.160
cmp edx, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebx + 0x28], 0xc
jne 0x40b68c
mov eax, dword [edi + 0x90]
lea esi, [edi + 0x94]
test eax, eax
je 0x40b65b
push dword [ebp - 8]
push esi
push ecx
push eax
push edx
call fcn.0041a9b0
add esp, 0x14
test eax, eax
jne case.0x405253.160
mov edx, dword [ebx + 0x38]
jmp 0x40b68c
mov esi, dword [esi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x40b68c
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x40b68c
cmp esi, 1
je case.0x405253.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x405253.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.0x40b6a4.15
jmp dword [eax*4 + 0x40db48]
cmp ecx, 0xd
ja 0x40b6cf
je 0x40ce87
cmp ecx, 0xa
je case.0x40b6a4.13
jbe case.0x405253.160
cmp ecx, 0xc
jbe 0x40b6ef
jmp case.0x405253.160
cmp ecx, 0x85
je 0x40b6ef
cmp ecx, 0x2027
jbe case.0x405253.160
cmp ecx, 0x2029
ja case.0x405253.160
cmp word [edi + 0x4a], 2
jne case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x180e
ja 0x40b743
je case.0x405253.160
cmp ecx, 0xa0
ja 0x40b732
je case.0x405253.160
cmp ecx, 9
je case.0x405253.160
cmp ecx, 0x20
jne case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x1680
jne case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x205f
ja 0x40b77a
je case.0x405253.160
cmp ecx, 0x2000
jb case.0x40b6a4.13
cmp ecx, 0x200a
jbe case.0x405253.160
cmp ecx, 0x202f
jne case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x3000
jne case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x180e
ja 0x40b7cf
je case.0x40b6a4.13
cmp ecx, 0xa0
ja 0x40b7be
je case.0x40b6a4.13
cmp ecx, 9
je case.0x40b6a4.13
cmp ecx, 0x20
je case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x1680
je case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x205f
ja 0x40b806
je case.0x40b6a4.13
cmp ecx, 0x2000
jb case.0x405253.160
cmp ecx, 0x200a
jbe case.0x40b6a4.13
cmp ecx, 0x202f
je case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x3000
je case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x85
ja 0x40b836
je case.0x405253.160
lea eax, [ecx - 0xa]
cmp eax, 3
ja case.0x40b6a4.13
jmp case.0x405253.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x85
ja 0x40b86f
je case.0x40b6a4.13
cmp ecx, 0xa
jb case.0x405253.160
cmp ecx, 0xd
jbe case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0x2028
jb case.0x405253.160
cmp ecx, 0x2029
jbe case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0xff
ja case.0x40b6a4.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0xff
ja case.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
jne case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0xff
ja case.0x40b6a4.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0xff
ja case.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jne case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0xff
ja case.0x40b6a4.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x40b6a4.13
jmp case.0x405253.160
cmp ecx, 0xff
ja case.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jne case.0x40b6a4.13
jmp case.0x405253.160
test esi, esi
jne case.0x406c46.35
mov eax, dword [ebx + 0x38]
add eax, 0xfffffffe
mov dword [ebx + 0x38], eax
mov ecx, eax
cmp dword [ebx + 0x28], 0x11
jne 0x40b973
cmp eax, dword [ebx + 4]
jbe 0x40b973
cmp word [eax], 0xa
jne 0x40b973
cmp word [eax - 2], 0xd
lea edx, [eax - 2]
jne 0x40b973
mov dword [ebx + 0x38], edx
mov ecx, edx
cmp ecx, dword [ebx + 4]
je 0x40522b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x22
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b9be
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
mov esi, dword [ebp - 8]
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
test esi, esi
je 0x40b9fb
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40b9fb
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.0041b290
add esp, 0xc
test eax, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x64
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov ecx, dword [ebx + 0x38]
lea edx, [ecx - 2]
mov dword [ebx + 0x38], edx
cmp ecx, dword [ebx + 4]
jbe case.0x405253.160
cmp dword [ebp - 8], esi
je 0x406b6c
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x406b6c
lea eax, [edx - 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x65
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40baa2
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40bad8
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 0x40baf8
cmp byte [ebx + 0x31], 0x6e
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc8
jmp 0x40d321
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 0x40baea
jmp case.0x405253.160
test esi, esi
jne case.0x406c46.35
mov ecx, dword [ebx + 0x38]
lea edx, [ecx - 2]
mov dword [ebx + 0x38], edx
cmp ecx, dword [ebx + 4]
jbe case.0x405253.160
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x4068b5
lea eax, [edx - 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc9
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.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 0x40bbfa
mov eax, dword [ebp - 4]
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x40bbb1
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40bbba
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40bba0
cmp esi, 0xfffffffc
je 0x40cef3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40bbf7
cmp esi, 0xfffffffd
je 0x40cef3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40bbf7
cmp esi, 0xfffffffe
je 0x40cef3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40bbf7
cmp esi, 0xffffffff
je 0x40cef3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40cef3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x14]
test edi, edi
je 0x40bc78
lea esi, [edi + edi]
mov eax, ecx
sub eax, esi
cmp ebx, eax
ja 0x40bc78
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x40bc32
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40bc3b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40bc21
cmp esi, 0xfffffffc
je 0x40cef3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40bc78
cmp esi, 0xfffffffd
je 0x40cef3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40bc78
cmp esi, 0xfffffffe
je 0x40cef3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40bc78
cmp esi, 0xffffffff
je 0x40cef3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40cef3
mov edi, dword [ebp + 0x20]
cmp word [edi + 0x48], 0
je case.0x405253.160
cmp ebx, dword [edi + 0x5c]
jb case.0x405253.160
cmp ebx, dword [edi + 0x64]
jmp 0x406734
test esi, esi
jne case.0x406c46.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 0x40bcc4
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x40522b
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcb
jmp 0x40d324
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40bd0c
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40bd42
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.0x405253.160
cmp dword [ebx + 0x2c], ecx
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xcc
jmp 0x40d321
test esi, esi
jne case.0x406c46.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 0x40bd8f
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x40522b
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcd
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40bdd7
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40be0d
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.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xce
jmp 0x40d321
test esi, esi
jne case.0x406c46.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 0x40be51
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x40522b
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcf
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40be99
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
movzx ecx, word [eax]
add eax, 2
mov edx, dword [ebp - 8]
mov dword [ebx + 0x38], eax
test edx, edx
je 0x40bebd
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x40bebd
add eax, 2
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], 0xf
jne case.0x40cdab.0
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x406c12
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40bf05
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40bf41
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40bf41
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x5cf631]
cmp al, 9
je 0x40bf78
cmp al, 5
je 0x40bf78
cmp al, 8
je 0x40bf78
xor ecx, ecx
jmp 0x40bf7d
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd1
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40bfd0
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40c00c
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c00c
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd2
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40c096
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40c0d2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c0d2
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd3
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40c155
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40c191
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c191
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf630]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd4
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40c214
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40c250
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c250
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x40c28d
cmp eax, 3
je 0x40c28d
xor ecx, ecx
jmp 0x40c292
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd5
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40c2e5
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40c321
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c321
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 0x40c368
je case.0x40c388.8192
cmp ecx, 0x85
ja 0x40c354
je case.0x40c388.8192
cmp ecx, 9
jb case.0x40c388.8203
cmp ecx, 0xd
jbe case.0x40c388.8192
cmp ecx, 0x20
jmp 0x40c3a1
cmp ecx, 0xa0
je case.0x40c388.8192
cmp ecx, 0x1680
jmp 0x40c3a1
cmp ecx, 0x202f
ja 0x40c38f
je case.0x40c388.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x40c388.8203
movzx eax, byte [eax + 0x40db90]
jmp dword [eax*4 + 0x40db88]
cmp ecx, 0x205f
je case.0x40c388.8192
cmp ecx, 0x3000
je case.0x40c388.8192
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x5d21b0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
cmp dword [eax*4 + 0x5ce718], 6
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd6
jmp 0x40d321
cmp dword [ebx + 0x28], 0xf
jne case.0x40cdab.6
jmp case.0x405253.160
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40c43a
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea ecx, [eax + 2]
movzx edx, word [eax]
mov dword [ebx + 0x38], ecx
je 0x40c476
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c476
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 + 0x5d21b0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf631]
mov eax, dword [eax*4 + 0x5ce718]
cmp eax, 1
je 0x40c4ba
cmp eax, 3
je 0x40c4ba
cmp edx, 0x5f
je 0x40c4ba
xor ecx, ecx
jmp 0x40c4bf
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd7
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40c512
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40c54e
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c54e
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 + 0x5cf278]
lea eax, [eax*4 + 0x5cf278]
cmp ecx, edx
jb 0x40c570
lea eax, [eax + 4]
cmp ecx, edx
je 0x40c588
mov edx, dword [eax]
cmp ecx, edx
jae 0x40c563
cmp dword [ebx + 0x28], 0xf
jne case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd8
jmp 0x40d321
cmp dword [ebx + 0x28], 0xf
jne case.0x40cdab.9
jmp case.0x405253.160
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40c5c7
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40c603
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c603
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 0x40c62e
cmp ecx, 0x40
je 0x40c62e
cmp ecx, 0x60
je 0x40c62e
cmp ecx, 0xa0
jb 0x40c622
cmp ecx, 0xd7ff
jbe 0x40c62e
cmp ecx, 0xe000
jae 0x40c62e
xor ecx, ecx
jmp 0x40c633
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x405253.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd9
jmp 0x40d321
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40cf1b
cmp word [edi + 0x48], si
je case.0x405253.160
cmp eax, dword [edi + 0x64]
jmp 0x406734
test esi, esi
jne case.0x406c46.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x405253.160
mov edx, dword [ebx + 0x38]
mov ecx, dword [edi + 0x5c]
cmp edx, ecx
jb 0x40c6c0
cmp word [edi + 0x48], si
je case.0x405253.160
cmp edx, dword [edi + 0x64]
jmp 0x406734
cmp dword [ebx + 0x28], 0xc
jne 0x40c727
mov eax, dword [edi + 0x90]
lea esi, [edi + 0x94]
test eax, eax
je 0x40c6f6
push dword [ebp - 8]
push esi
push ecx
push eax
push edx
call fcn.0041a9b0
add esp, 0x14
test eax, eax
jne case.0x405253.160
mov edx, dword [ebx + 0x38]
jmp 0x40c727
mov esi, dword [esi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x40c727
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x40c727
cmp esi, 1
je case.0x405253.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x405253.160
movzx ecx, word [edx]
add edx, 2
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c75d
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.0x40b6a4.15
jmp dword [eax*4 + 0x40dbbc]
cmp ecx, 0xd
ja 0x40c797
je 0x40cfa2
cmp ecx, 0xa
je case.0x40c76c.13
jbe case.0x405253.160
cmp ecx, 0xc
jbe 0x40c7b7
jmp case.0x405253.160
cmp ecx, 0x85
je 0x40c7b7
cmp ecx, 0x2027
jbe case.0x405253.160
cmp ecx, 0x2029
ja case.0x405253.160
cmp word [edi + 0x4a], 2
jne case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x180e
ja 0x40c80b
je case.0x405253.160
cmp ecx, 0xa0
ja 0x40c7fa
je case.0x405253.160
cmp ecx, 9
je case.0x405253.160
cmp ecx, 0x20
jne case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x1680
jne case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x205f
ja 0x40c842
je case.0x405253.160
cmp ecx, 0x2000
jb case.0x40c76c.13
cmp ecx, 0x200a
jbe case.0x405253.160
cmp ecx, 0x202f
jne case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x3000
jne case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x180e
ja 0x40c897
je case.0x40c76c.13
cmp ecx, 0xa0
ja 0x40c886
je case.0x40c76c.13
cmp ecx, 9
je case.0x40c76c.13
cmp ecx, 0x20
je case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x1680
je case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x205f
ja 0x40c8ce
je case.0x40c76c.13
cmp ecx, 0x2000
jb case.0x405253.160
cmp ecx, 0x200a
jbe case.0x40c76c.13
cmp ecx, 0x202f
je case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x3000
je case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x85
ja 0x40c8fe
je case.0x405253.160
lea eax, [ecx - 0xa]
cmp eax, 3
ja case.0x40c76c.13
jmp case.0x405253.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x85
ja 0x40c937
je case.0x40c76c.13
cmp ecx, 0xa
jb case.0x405253.160
cmp ecx, 0xd
jbe case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x2028
jb case.0x405253.160
cmp ecx, 0x2029
jbe case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x100
jae case.0x40c76c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x100
jae case.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
jne case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x100
jae case.0x40c76c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x100
jae case.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jne case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x100
jae case.0x40c76c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x40c76c.13
jmp case.0x405253.160
cmp ecx, 0x100
jae case.0x405253.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jne case.0x40c76c.13
jmp case.0x405253.160
test esi, esi
jne case.0x406c46.35
mov esi, dword [ebx + 0x38]
add esi, 0xfffffffe
mov dword [ebx + 0x38], esi
test edx, edx
jne 0x40cba0
movzx ecx, word [esi]
jmp 0x40cbe9
test esi, esi
jne case.0x406c46.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 0x40ca53
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp dword [ebx + 0x28], 0x11
mov eax, ecx
jne 0x40ca75
cmp ecx, dword [ebx + 4]
jbe 0x40ca75
cmp word [ecx], 0xa
jne 0x40ca75
cmp word [ecx - 2], 0xd
lea edx, [ecx - 2]
jne 0x40ca75
mov dword [ebx + 0x38], edx
mov eax, edx
cmp eax, dword [ebx + 4]
jbe 0x40522b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdd
jmp 0x40d321
test esi, esi
jne case.0x406c46.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 0x40cd08
mov ax, word [edx]
and ax, word [ebp - 0x14]
cmp ax, word [ebp - 0x18]
mov eax, dword [ebp - 4]
jne 0x40cd0b
lea ecx, [edx - 2]
mov dword [ebx + 0x38], ecx
jmp 0x40cd0b
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.0041fff0
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 0x40caf1
jmp 0x405226
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40d203
jmp 0x405226
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.0041fff0
mov eax, dword [esi + 0x50]
add esp, 0xc
mov dword [ebx + 0x50], eax
mov ebx, dword [ebx + 0x20]
mov edx, dword [ebp - 4]
jmp 0x40cb69
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 0x40ce11
mov edx, dword [ebp - 4]
xor ebx, ebx
cmp dword [edx + 0x20], ebx
sete bl
test ebx, ebx
je 0x40cb98
mov ecx, dword [edx]
nop
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [edx], ecx
cmp word [ecx], 0x78
je 0x40cb70
jmp 0x40a697
mov edi, dword [ebp + 0x20]
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x5ce578]
jmp 0x40a71d
mov ebx, dword [ebp - 4]
jmp case.0x40a61f.146
movzx eax, word [esi]
mov edx, esi
mov ecx, eax
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x40cbbc
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 0x40cbe9
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x5cf632]
mov dword [ebp - 0x24], eax
cmp esi, edx
jbe 0x40ccf1
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 0x40cc90
and eax, 0xfc00
mov edx, edi
cmp eax, 0xdc00
jne 0x40cc60
movzx ecx, word [esi - 2]
sub esi, 2
mov edx, ebx
mov ebx, dword [ebp - 0x38]
jmp 0x40cc63
mov ebx, dword [ebp - 0x1c]
movzx ecx, cx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40cc90
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 + 0x5d21b0]
shl eax, 7
add eax, ecx
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax*2 + 0x5d65b0]
lea eax, [eax + eax*2]
movzx edi, byte [eax*4 + 0x5cf632]
mov eax, 1
shl eax, cl
test dword [edi*4 + 0x5ce6d8], eax
je 0x40cceb
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 0x40cc30
mov ebx, dword [ebp - 4]
mov edi, dword [ebp + 0x20]
cmp dword [ebx + 0x38], edx
jbe 0x40522b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdc
jmp 0x40d321
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 4]
jbe 0x40522e
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xde
jmp 0x40d321
inc dword [edi + 0x88]
mov eax, dword [edi + 0x88]
cmp eax, dword [edi + 0x8c]
ja 0x40d00e
mov ebx, dword [ebp - 4]
mov edx, dword [ebx]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x5ce578]
movzx eax, word [edx + 2]
add ecx, eax
lea eax, [edx + ecx*2]
mov dword [ebx], eax
jmp 0x40522e
test esi, esi
jne 0x40bd54
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1d
jmp 0x40d321
test esi, esi
jne 0x40be16
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1f
jmp 0x40d321
mov edi, dword [ebp + 0x20]
test esi, esi
jne 0x40baea
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x17
jmp 0x40d321
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x40cdb2
cmp eax, 0xa
ja case.0x40b6a4.15
jmp dword [eax*4 + 0x40dbfc]
cmp dword [ebx + 0x28], 0x16
je 0x40cf94
cmp dword [ebp - 8], 0
jne case.0x40c76c.13
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x21
jmp 0x40d321
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 0x40d321
xor eax, eax
jmp 0x40d10d
mov eax, esi
cmp eax, 0x7e
je 0x40ce04
mov ecx, 0x80
cmp ax, cx
je 0x40ce04
xor eax, eax
jmp 0x40ce09
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 + 0x5ce578]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 5
jmp 0x40d321
mov eax, dword [ebp - 4]
cmp cl, 0x7b
jne 0x40ce52
mov byte [edi + 0x30], 6
lea ebx, [edx + 4]
mov edi, dword [ebp + 0x20]
jmp 0x40d324
mov byte [edi + 0x30], 7
mov edi, dword [ebp + 0x20]
jmp 0x40d324
mov byte [eax + 0x30], 1
jmp 0x40d321
mov eax, dword [ebx + 8]
mov dword [ebx], eax
jmp 0x40d0cb
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 0x40d321
cmp edx, dword [edi + 0x5c]
jae case.0x40b6a4.13
cmp word [edx], 0xa
jne case.0x40b6a4.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 0x40d321
cmp word [edi + 0x48], 0
je case.0x40b6a4.13
cmp edx, dword [edi + 0x5c]
jb case.0x40b6a4.13
cmp dword [edi + 0x90], 0
jne case.0x40b6a4.13
cmp dword [edi + 0x94], 2
jne case.0x40b6a4.13
movzx eax, word [edi + 0x98]
cmp ecx, eax
jne case.0x40b6a4.13
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x21
jmp 0x40d321
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 0x40d321
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd0
jmp 0x40d321
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov esi, edx
mov dword [ebx + 0x38], edx
je 0x40cf59
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40cf59
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.0041a7d0
add esp, 0x18
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je 0x40cf94
cmp eax, dword [edi + 0x5c]
jb 0x40cf94
cmp eax, dword [edi + 0x64]
jbe 0x40cf94
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xda
jmp 0x40d321
cmp edx, dword [edi + 0x5c]
jae case.0x40c76c.13
cmp word [edx], 0xa
jne case.0x40c76c.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 0x40d321
cmp word [edi + 0x48], 0
je case.0x40c76c.13
cmp edx, dword [edi + 0x5c]
jb case.0x40c76c.13
cmp dword [edi + 0x90], 0
jne case.0x40c76c.13
cmp dword [edi + 0x94], 2
jne case.0x40c76c.13
movzx eax, word [edi + 0x98]
cmp ecx, eax
jne case.0x40c76c.13
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x40633b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdb
jmp 0x40d321
mov esi, dword [ebp - 4]
mov edx, dword [esi]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x5ce578]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0x11
jmp 0x40d31c
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx]
add ebx, 2
mov dword [ecx + 4], ebx
mov byte [ecx + 0x30], 9
jmp 0x40d321
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 0x40d050
lea ebx, [ecx + 4]
mov byte [edx + 0x30], 0xa
jmp 0x40d321
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 0x40d0b3
mov edx, 0x8c
cmp cx, dx
jne 0x40d0a0
jmp 0x40d0b3
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x28], 0
mov eax, 0x20000
jmp 0x40d0bc
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 + 0x5ce578]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 8
jmp 0x40d321
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
movzx eax, word [eax + 4]
or eax, 0x10000
jmp 0x40d10d
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 + 0x5ce578]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 2
jmp 0x40d321
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 0x40d148
xor edi, edi
jmp 0x40d14c
movzx edi, word [ebx + 4]
cmp dword [edx + 0x44], 0xffffffff
je 0x40d190
mov eax, dword [edx + 0x4c]
cmp eax, 0xffffffff
je 0x40d190
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 0x40d181
mov eax, dword [ecx + 0x4c]
cmp eax, 0xffffffff
jne 0x40d168
mov edx, dword [ebp - 4]
jmp 0x40d190
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
cmp eax, dword [ecx + 0x38]
je 0x40d48b
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 + 0x5ce578]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0xb
jmp 0x40d321
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 + 0x5ce578]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 3
jmp 0x40d321
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 + 0x5ce578]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 4
jmp 0x40d321
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 + 0x5ce578]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0xc
jmp 0x40d31c
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x5ce578]
mov byte [edx + 0x30], 0xd
lea ebx, [ecx + eax*2]
jmp 0x40d321
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 + 0x5ce578]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0x24
jmp 0x40d31c
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x5ce578]
mov byte [edx + 0x30], 0xe
lea ebx, [ecx + eax*2]
jmp 0x40d321
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 + 0x5ce578]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0xf
jmp 0x40d31c
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x5ce578]
mov byte [edx + 0x30], 0x10
lea ebx, [ecx + eax*2]
jmp 0x40d321
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x5ce578]
mov byte [edx + 0x30], 0x12
lea ebx, [ecx + eax*2]
jmp 0x40d321
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 + 0x5ce578]
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 0x40d3ca
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x1c]
lea esi, [ecx + ecx]
mov eax, esi
shr eax, 0xa
cmp eax, edx
jbe 0x40d35d
mov esi, edx
xor edx, edx
shl esi, 0xa
mov eax, esi
div dword [ebp + 0x1c]
sub esi, edx
cmp ecx, esi
jae 0x40d497
push dword [edi + 8]
mov eax, dword [edi]
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x40d4a3
mov eax, dword [ebp + 0x20]
push dword [eax + 0xc]
push dword [eax + 0x10]
push edi
call fcn.0041fff0
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 0x40d3b5
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.0041fff0
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 0x4051c7
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 0x40d419
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.0041fff0
mov eax, dword [ebx + 0x50]
dec esi
add eax, 2
add esp, 0xc
cmp esi, eax
jb 0x40d476
mov dword [edi + esi*4], 0xffffffff
dec esi
mov ecx, dword [ebx + 0x50]
add ecx, 2
cmp esi, ecx
jae 0x40d464
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