Function at 0x4049f0
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 0x404ad8
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 0x404ad3
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 0x40cd9b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp eax, dword [edi + 0x24]
jb 0x404b11
pop edi
pop esi
mov eax, 0xffffffcb
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x20]
jmp 0x404b0e
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.0x40af84.15
movzx eax, byte [eax + 0x40cf04]
jmp dword [eax*4 + 0x40cda8]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0xffffffff
jne 0x404bb2
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.0x40af84.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 0x404b79
mov eax, dword [edx + 0x4c]
jmp 0x404b52
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 0x404baf
mov dword [eax + 0x50], esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x6053b8]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x404b0b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x68]
jbe 0x404bd9
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 4]
mov esi, 0xfffffc19
mov dword [ebp - 0x20], eax
jmp 0x4064ef
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0xffffffff
je 0x404c3b
mov eax, dword [eax + 0x4c]
cmp eax, 0xffffffff
je case.0x40af84.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 0x404c1e
mov eax, dword [ecx + 0x4c]
jmp 0x404bf5
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 0x404b11
mov esi, dword [eax + 0x38]
mov edi, dword [eax + 0x3c]
cmp esi, edi
jne 0x404c6a
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx + 0x80]
test al, 4
jne 0x404c63
test al, 8
je 0x404c6a
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*2]
cmp edi, eax
jne 0x404c6a
mov edi, ebx
jmp case.0x404b33.160
mov eax, dword [ebp + 0x20]
cmp esi, dword [eax + 0x5c]
jae 0x40ccd9
mov edi, dword [ebp + 0x20]
mov eax, dword [eax + 0x84]
or eax, dword [edi + 0x80]
test eax, 0x20000000
je 0x40ccd7
test dl, dl
je case.0x404b33.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 0x404cdb
mov eax, dword [ebp - 4]
mov edx, dword [edi + 0x5c]
mov ecx, dword [eax + 0x38]
cmp ecx, edx
jae 0x404d1c
push dword [ebp - 8]
lea eax, [edi + 0x94]
push eax
push edx
push esi
push ecx
call fcn.0041a290
add esp, 0x14
test eax, eax
je 0x404d19
jmp case.0x404b33.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 0x404d19
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x404d19
cmp esi, 1
je case.0x404b33.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x404b33.160
mov eax, dword [ebp - 4]
cmp word [edi + 0x48], 0
je case.0x404b33.13
mov ecx, dword [eax + 0x38]
mov eax, dword [edi + 0x5c]
sub eax, 2
cmp ecx, eax
jne case.0x404b33.13
mov eax, dword [ebp + 0x20]
cmp dword [eax + 0x90], 0
jne 0x404d68
cmp dword [eax + 0x94], 2
jne 0x404d68
mov edi, dword [ebp + 0x20]
mov ax, word [ecx]
cmp ax, word [edi + 0x98]
jne case.0x404b33.13
mov eax, edi
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x405c1b
mov edi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x404da0
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x404d96
cmp ecx, dword [eax + 0x64]
jbe 0x404d96
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x405c1b
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x4064ec
mov esi, dword [ebp - 8]
add ecx, 2
mov dword [eax + 0x38], ecx
test esi, esi
je 0x404e21
cmp ecx, dword [edi + 0x5c]
jae 0x404e21
mov ax, word [ecx]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x404e1e
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov eax, ecx
add dword [eax], 2
jmp 0x404b11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x404e15
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jbe case.0x404b33.160
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x405c1b
mov edi, eax
jmp case.0x404b33.160
mov ecx, dword [ebp - 4]
add eax, 2
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x404b11
mov eax, dword [ebp - 4]
test esi, esi
je 0x404ed2
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 0x404e60
inc dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
jmp 0x404e66
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 0x404e94
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x404d96
cmp edx, esi
jb 0x404d96
cmp edx, dword [eax + 0x64]
jmp 0x404d82
mov esi, dword [ebp - 8]
test ecx, ecx
je 0x404b11
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.0x404b33.160
add dword [eax + 0xc], 0xffffffff
jne 0x404ea2
mov esi, dword [ebp - 8]
jmp 0x404b11
mov esi, dword [eax + 0x38]
mov eax, dword [edi + 0x5c]
sub eax, esi
and eax, 0xfffffffe
cmp eax, 2
jge 0x404ef8
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x404d96
cmp esi, dword [eax + 0x64]
jmp 0x404d82
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 0x4051c8
xor esi, esi
jmp 0x4064ef
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x5c]
jae 0x404ee2
cmp dword [ebp - 8], 0
je 0x405037
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 0x404f73
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 0x404f76
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
movzx edx, word [ecx]
cmp esi, 0x80
jae 0x404fb4
mov eax, dword [edi + 0x34]
cmp edx, 0xff
ja 0x404f93
movzx edx, byte [eax + edx]
movzx eax, byte [eax + esi]
cmp eax, edx
mov eax, dword [ebp - 4]
je 0x404fa5
xor esi, esi
jmp 0x4064ef
add dword [eax], 2
add dword [eax + 0x38], 2
mov esi, dword [ebp - 8]
jmp 0x404b11
add ecx, 2
mov dword [eax + 0x38], ecx
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x404fea
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 0x40a1fb
mov eax, esi
shr eax, 7
movzx ecx, word [eax*2 + 0x608ff0]
mov eax, esi
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x606474]
add eax, esi
cmp edx, eax
je 0x40a1fb
jmp case.0x404b33.160
mov eax, dword [eax]
mov ecx, 0xff
movzx eax, word [eax + 2]
cmp ax, cx
ja 0x405052
mov ecx, eax
mov eax, dword [edi + 0x34]
movzx edx, byte [eax + ecx]
jmp 0x405054
mov edx, eax
movzx eax, word [esi]
mov ecx, eax
cmp ax, word [ebp - 0x40]
ja 0x405066
mov eax, dword [edi + 0x34]
movzx ecx, byte [eax + ecx]
cmp edx, ecx
jne case.0x404b33.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 0x404b11
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
cmp edx, dword [edi + 0x5c]
jb 0x4050a5
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x404d96
cmp edx, dword [eax + 0x64]
jmp 0x404d82
test esi, esi
je 0x40518d
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 0x4050ec
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 0x40512e
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 0x40513c
xor esi, esi
jmp 0x4064ef
cmp byte [eax + 0x31], 0x20
jne 0x40a1fb
cmp edx, 0x7f
jbe 0x405176
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x608ff0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea eax, [eax + eax*2]
add edx, dword [eax*4 + 0x606474]
jmp 0x40517d
mov eax, dword [edi + 0x38]
movzx edx, byte [eax + edx]
cmp edx, esi
mov esi, dword [ebp - 8]
jne 0x404b11
jmp case.0x404b33.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.0x404b33.160
mov eax, ebx
cmp byte [eax + 0x31], 0x20
jne 0x4051c8
cmp ecx, 0xff
ja 0x4051c0
mov eax, dword [edi + 0x38]
movzx ecx, byte [eax + ecx]
mov eax, ebx
cmp ecx, esi
je case.0x404b33.160
add dword [eax], 4
jmp 0x404b0b
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 0x4052bd
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 0x4052ba
mov dword [ebp - 0xc], 1
jmp 0x4051f3
mov dword [ebp - 0xc], 0
jmp 0x4051f3
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 0x4052ba
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 0x4052ba
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 0x4052ba
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 + 0x604d20]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x604d4c]
mov dword [ecx + 0x24], eax
mov eax, dword [edx*4 + 0x604d78]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
test esi, esi
je 0x40565c
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 0x40530f
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 0x405312
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 0x405657
cmp byte [eax + 0x31], 0x2e
jb 0x405370
mov eax, edx
shr eax, 7
movzx ecx, word [eax*2 + 0x608ff0]
mov eax, edx
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x606474]
add ecx, edx
cmp ecx, edx
je 0x405370
mov eax, dword [ebp - 4]
add eax, 0x32
push eax
push ecx
call fcn.0041a420
add esp, 8
jmp 0x405372
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 0x4054ad
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
jmp 0x405399
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 0x40541a
mov eax, dword [ebp - 4]
mov esi, edi
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x4053d1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4053da
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4053c0
cmp esi, 0xfffffffc
je 0x40548d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405417
cmp esi, 0xfffffffd
je 0x40548d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405417
cmp esi, 0xfffffffe
je 0x40548d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405417
cmp esi, 0xffffffff
je 0x40548d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40548d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4054e6
lea edi, [eax + eax]
mov eax, ecx
sub eax, edi
cmp ebx, eax
ja 0x4054e6
mov edx, dword [ebp - 4]
mov esi, edi
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x405457
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40545c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405446
cmp esi, 0xfffffffc
je 0x40548d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4054e6
cmp esi, 0xfffffffd
je 0x40548d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4054e6
cmp esi, 0xfffffffe
je 0x40548d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4054e6
cmp esi, 0xffffffff
je 0x40548d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4054e6
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 0x405396
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 0x404b11
cmp dword [ebp - 0xc], 0
je 0x40c7dc
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 0x40563c
mov ebx, dword [eax + 0x38]
jmp 0x405508
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x404d96
cmp ebx, dword [eax + 0x5c]
jb 0x404d96
cmp ebx, dword [eax + 0x64]
jmp 0x404d82
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 0x40558a
mov eax, dword [ebp - 4]
mov esi, edi
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x405541
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40554a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405530
cmp esi, 0xfffffffc
je 0x4055f9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405587
cmp esi, 0xfffffffd
je 0x4055f9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405587
cmp esi, 0xfffffffe
je 0x4055f9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405587
cmp esi, 0xffffffff
je 0x4055f9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4055f9
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x405613
lea edi, [eax + eax]
mov eax, ecx
sub eax, edi
cmp ebx, eax
ja 0x405613
mov edx, dword [ebp - 4]
mov esi, edi
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x4055c7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4055cc
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4055b6
cmp esi, 0xfffffffc
je 0x4055f9
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405613
cmp esi, 0xfffffffd
je 0x4055f9
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405613
cmp esi, 0xfffffffe
je 0x4055f9
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405613
cmp esi, 0xffffffff
je 0x4055f9
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x405613
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 0x405505
jmp 0x40563c
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x405639
cmp ebx, dword [eax + 0x5c]
jb 0x405639
cmp ebx, dword [eax + 0x64]
jbe 0x405639
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x405c1b
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 0x404b11
mov ecx, dword [eax + 0x38]
jmp 0x40b5a4
mov dword [eax + 0x28], edx
jmp 0x40566a
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 0x4057aa
test esi, esi
je 0x4056bd
mov edx, dword [eax + 0x28]
cmp edx, 0x7f
jbe 0x4056bd
mov eax, edx
test eax, eax
jns 0x405689
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x608ff0]
mov eax, edx
shl ecx, 7
and eax, 0x8000007f
jns 0x4056a5
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x606474]
add ecx, edx
jmp 0x4056cf
mov ecx, dword [eax + 0x28]
cmp ecx, 0xff
ja 0x4056cf
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 0x405724
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 0x404d78
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x405710
cmp dword [ebx + 0x2c], eax
jne 0x404d96
mov eax, dword [ebp - 4]
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
mov eax, dword [eax + 0x20]
cmp edx, eax
jbe 0x4056f0
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x404b0e
cmp dword [ebp - 0xc], 0
je 0x40ad2b
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 0x405792
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x405771
movzx ecx, word [eax]
cmp dword [ebx + 0x28], ecx
je 0x405763
cmp dword [ebx + 0x2c], ecx
jne 0x405792
add eax, 2
inc edx
mov dword [ebx + 0x38], eax
cmp edx, dword [ebx + 0x24]
jb 0x405751
jmp 0x405792
cmp word [edi + 0x48], 0
je 0x405792
cmp eax, dword [edi + 0x64]
jbe 0x405792
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x2c], 1
cmp word [eax + 0x48], 1
ja 0x405c1b
cmp dword [ebp - 0xc], 2
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
je 0x404b11
mov ebx, dword [ebp - 4]
jmp 0x40ad48
mov eax, dword [eax + 0x20]
mov esi, 1
cmp eax, esi
jb 0x4057ea
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
nop dword [eax]
mov eax, dword [ebp + 0x20]
cmp edx, dword [eax + 0x5c]
jae 0x405092
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 0x405840
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x4057c0
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x404b0e
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x40ada9
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 0x405868
mov ecx, dword [eax + 0x38]
nop dword [eax + eax]
cmp ecx, dword [edi + 0x5c]
jae 0x40584a
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
jne 0x40586b
mov eax, ebx
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
cmp edx, dword [eax + 0x24]
jb 0x405820
jmp 0x405868
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x4064ef
cmp word [edi + 0x48], 0
je 0x405868
cmp ecx, dword [edi + 0x64]
jbe 0x405868
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
mov ebx, dword [ebp - 4]
cmp esi, 2
mov esi, dword [ebp - 8]
je 0x404b0e
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jbe 0x404b0b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1c
jmp 0x40cc01
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 0x4059bc
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 0x4059bc
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 0x4059bc
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 0x4059bc
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 0x4059bc
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 0x4059bc
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 0x4059bc
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 + 0x604d20]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x604d4c]
mov dword [ecx + 0x24], eax
mov eax, dword [edx*4 + 0x604d78]
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 0x405a0b
mov ecx, dword [eax + 0x28]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x405a08
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 0x405c9d
test esi, esi
je 0x405a5e
mov edx, dword [eax + 0x28]
cmp edx, 0x7f
jbe 0x405a5e
mov eax, edx
test eax, eax
jns 0x405a2a
add eax, 0x7f
sar eax, 7
movzx ecx, word [eax*2 + 0x608ff0]
mov eax, edx
shl ecx, 7
and eax, 0x8000007f
jns 0x405a46
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x606474]
add ecx, edx
jmp 0x405a70
mov ecx, dword [eax + 0x28]
cmp ecx, 0xff
ja 0x405a70
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 0x405b09
mov esi, 1
cmp eax, esi
jb 0x405b04
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
jmp 0x405aa3
mov eax, dword [ebp - 4]
cmp edx, dword [edi + 0x5c]
jae 0x406e4c
movzx ecx, word [edx]
add edx, 2
mov dword [eax + 0x38], edx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x405ae7
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 0x405aea
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], ecx
je case.0x404b33.160
cmp dword [eax + 0x2c], ecx
je case.0x404b33.160
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x405aa0
mov esi, dword [ebp - 8]
jmp 0x405b51
mov edx, 1
cmp eax, edx
jb 0x405b51
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
nop dword [eax + eax]
cmp ecx, dword [edi + 0x5c]
jae 0x4080c6
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je case.0x404b33.160
cmp dword [ebx + 0x2c], eax
je case.0x404b33.160
mov eax, ebx
add ecx, 2
inc edx
mov dword [eax + 0x38], ecx
mov eax, dword [eax + 0x20]
cmp edx, eax
jbe 0x405b20
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x404b0e
cmp dword [ebp - 0xc], 0
je 0x40c636
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 0x405c2c
cmp edi, eax
jae 0x405c27
mov eax, ebx
mov edx, dword [eax + 0x38]
nop
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x405c04
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x405bcd
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 0x405be6
cmp dword [eax + 0x2c], ecx
je 0x405be6
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x405b90
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x404b11
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
jmp 0x40b66f
mov edi, eax
cmp word [edi + 0x48], 0
je 0x405be9
cmp edx, dword [edi + 0x64]
jbe 0x405be9
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
jbe 0x405be9
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x20]
jmp 0x405bec
cmp edi, eax
jae 0x405c61
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 0x405c7f
movzx ecx, word [eax]
cmp dword [edx + 0x28], ecx
je 0x405c61
cmp dword [edx + 0x2c], ecx
je 0x405c61
add eax, 2
inc edi
mov dword [edx + 0x38], eax
cmp edi, dword [edx + 0x24]
jb 0x405c40
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x404b11
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 0x38]
jmp 0x40ae3a
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x405c64
cmp eax, dword [edi + 0x64]
jbe 0x405c64
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
jmp 0x405c64
mov eax, dword [eax + 0x20]
test esi, esi
mov esi, 1
je 0x405d1d
cmp eax, esi
jb 0x405d58
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
jmp 0x405cc3
mov eax, dword [ebp - 4]
cmp edx, dword [edi + 0x5c]
jae 0x406e4c
movzx ecx, word [edx]
add edx, 2
mov dword [eax + 0x38], edx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x405d07
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 0x405d0a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], ecx
je case.0x404b33.160
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x405cc0
jmp 0x405d58
cmp eax, 1
jb 0x405d58
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
nop dword [eax + eax]
cmp edx, dword [edi + 0x5c]
jae 0x406e4c
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 0x404f18
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x405d30
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x404b0e
cmp dword [ebp - 0xc], 0
je 0x40c64c
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 0x405e31
cmp edi, eax
jae 0x405e2c
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 0x405e0f
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x405ddd
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 0x405df1
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x405da0
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x404b11
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
jmp 0x40b731
mov edi, eax
cmp word [edi + 0x48], 0
je 0x405df4
cmp edx, dword [edi + 0x64]
jbe 0x405df4
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x405c1b
jmp 0x405df4
mov edi, dword [ebp + 0x20]
jmp 0x405df7
cmp edi, eax
jae 0x405e61
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 0x405e7f
mov ebx, dword [ebp - 4]
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x405e61
mov eax, ebx
add ecx, 2
inc edi
mov dword [eax + 0x38], ecx
cmp edi, dword [eax + 0x24]
jb 0x405e40
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov ebx, dword [ebp + 0x1c]
je 0x404b11
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 0x38]
jmp 0x40aeb8
mov edi, eax
cmp word [edi + 0x48], 0
je 0x405e64
cmp ecx, dword [edi + 0x64]
jbe 0x405e64
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
jmp 0x405e64
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.0x405ecc
movzx eax, byte [eax + 0x40cfb4]
jmp dword [eax*4 + 0x40cfac]
lea eax, [edx + 2]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ecx*4 + 0x604b98]
mov dword [edx + 0x20], eax
mov eax, dword [ecx*4 + 0x604bc4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x604bf0]
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0x20]
jmp 0x405f59
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 + 0x604bf0]
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 0x405f59
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 0x406039
cmp eax, ebx
jb 0x406097
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [ecx + 0x5c]
jae 0x406007
movzx esi, word [edi]
add edi, 2
mov dword [eax + 0x38], edi
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x405fbb
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 0x405fbe
mov eax, dword [ebp - 4]
cmp esi, 0xff
jbe 0x405fd2
cmp byte [eax + 0x31], 0x6e
je 0x404d96
jmp 0x405ff3
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 0x405840
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + 0x20]
inc ebx
cmp ebx, eax
ja 0x406097
mov eax, dword [ebp - 4]
jmp 0x405f77
cmp word [ecx + 0x48], 0
je 0x406031
cmp edi, dword [ecx + 0x64]
mov edi, dword [ebp + 0x20]
jbe case.0x404b33.160
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
jmp case.0x404b33.160
mov edi, dword [ebp + 0x20]
jmp case.0x404b33.160
cmp eax, 1
jb 0x406097
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [ecx + 0x5c]
jae 0x406007
movzx esi, word [edi]
add edi, 2
mov dword [eax + 0x38], edi
cmp esi, 0xff
jbe 0x406069
cmp byte [eax + 0x31], 0x6e
je 0x404d96
jmp 0x40608a
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 0x405840
mov ecx, dword [ebp + 0x20]
mov eax, dword [eax + 0x20]
inc ebx
cmp ebx, eax
ja 0x406097
mov eax, dword [ebp - 4]
jmp 0x406047
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x404b01
cmp dword [ebp - 0xc], 0
je 0x40c662
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 0x4061a3
cmp ecx, eax
jae 0x40617e
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 0x406161
movzx esi, word [edi]
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40611d
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 0x406130
cmp byte [eax + 0x31], 0x6e
je 0x40615c
jmp 0x40614d
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 0x40615c
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 0x4060e0
mov edi, dword [ebp + 0x20]
jmp 0x406185
cmp word [eax + 0x48], 0
je 0x406183
cmp edi, dword [eax + 0x64]
mov edi, eax
jbe 0x406185
mov dword [edi + 0x2c], ebx
cmp word [edi + 0x48], bx
ja 0x405c1b
jmp 0x406185
mov edi, dword [ebp + 0x20]
jmp 0x406188
mov edi, eax
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
je 0x404b0e
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc9
jmp 0x40cc01
cmp ecx, eax
jae 0x40624b
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov edi, dword [eax + 0x38]
cmp edi, dword [edx + 0x5c]
jae 0x406228
movzx esi, word [edi]
cmp esi, 0xff
jbe 0x4061f7
cmp byte [eax + 0x31], 0x6e
jne 0x406217
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 2
je 0x404b0e
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jb case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x18
jmp 0x40cc01
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 0x4061ca
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 0x4061b4
jmp 0x4061ca
cmp word [edx + 0x48], 0
je 0x4061ca
cmp edi, dword [edx + 0x64]
mov edi, dword [ebp + 0x20]
jbe 0x4061cd
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
jmp 0x4061cd
mov edi, dword [ebp + 0x20]
jmp 0x4061d0
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.0x406284
movzx eax, byte [eax + 0x40cfc8]
jmp dword [eax*4 + 0x40cfc0]
lea eax, [ecx + 2]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [edx*4 + 0x604b98]
mov dword [ecx + 0x20], eax
mov eax, dword [edx*4 + 0x604bc4]
mov edx, dword [edx*4 + 0x604bf0]
mov dword [ecx + 0x24], eax
mov eax, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0x20]
jmp 0x406310
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 + 0x604bf0]
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 0x406310
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 0x406396
nop dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x406482
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x406374
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406371
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.0041ab70
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 4]
je 0x404f18
mov eax, dword [eax + 0x20]
inc esi
cmp esi, eax
jbe 0x406320
mov ebx, dword [ebp - 4]
cmp eax, dword [ebx + 0x24]
je 0x404b0b
cmp dword [ebp - 0xc], 0
je 0x40b2f0
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 0x40643c
mov edx, dword [eax + 0x38]
mov ebx, dword [ebp - 8]
jmp 0x4063d3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [ecx + 0x5c]
jae 0x40645a
movzx ecx, word [edx]
test ebx, ebx
je 0x406417
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406414
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.0041ab70
add esp, 0xc
test eax, eax
je 0x40643c
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 0x4063d0
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
je 0x404b0b
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x65
jmp 0x40cc01
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x40643f
cmp edx, dword [edi + 0x64]
jbe 0x40643f
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x405c1b
jmp 0x40643f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406491
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x4064d1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4064d1
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 0x4065a0
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je 0x4065a0
xor esi, esi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x40cd62
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.0x40af84.15
movzx eax, byte [eax + 0x40d0c0]
jmp dword [eax*4 + 0x40cfd4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406547
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406587
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406587
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.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x404b33.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x404b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x4065c9
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406609
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406609
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 0x4065a0
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jmp 0x4064e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40663b
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x40667b
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40667b
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.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x404b33.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x404b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x4066bd
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x4066fd
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4066fd
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 0x4065a0
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jmp 0x4064e4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406733
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406773
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406773
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.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x404b33.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x404b0e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x4067b5
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp esi, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [esi]
add esi, 2
cmp dword [ebp - 8], 0
mov edx, esi
mov dword [eax + 0x38], esi
je 0x4067f6
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4067f6
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 0x40685e
je 0x406811
cmp ecx, 0xa
je 0x406889
jbe case.0x404b33.160
cmp ecx, 0xc
jmp 0x406878
cmp edx, dword [edi + 0x5c]
jb 0x406842
cmp word [edi + 0x48], 0
je 0x406889
cmp edx, dword [edi + 0x64]
jbe 0x406889
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
add dword [eax], 2
jmp 0x404b11
cmp word [edx], 0xa
jne 0x406889
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 0x404b11
cmp ecx, 0x85
je 0x40687e
cmp ecx, 0x2027
jbe case.0x404b33.160
cmp ecx, 0x2029
ja case.0x404b33.160
cmp word [edi + 0x4a], 2
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
add dword [eax], 2
jmp 0x404b11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x4068b5
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x4068f8
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4068f5
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 0x406942
je case.0x404b33.160
cmp ecx, 0xa0
ja 0x40692e
je case.0x404b33.160
cmp ecx, 9
je case.0x404b33.160
cmp ecx, 0x20
je case.0x404b33.160
add dword [eax], 2
jmp 0x404b0e
cmp ecx, 0x1680
je case.0x404b33.160
add dword [eax], 2
jmp 0x404b0e
cmp ecx, 0x205f
ja 0x40697c
je case.0x404b33.160
cmp ecx, 0x2000
jb 0x4065a3
cmp ecx, 0x200a
jbe case.0x404b33.160
cmp ecx, 0x202f
je case.0x404b33.160
add dword [eax], 2
jmp 0x404b0e
cmp ecx, 0x3000
je case.0x404b33.160
add dword [eax], 2
jmp 0x404b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x4069ae
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x4069f1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4069ee
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 0x406a23
je 0x4065a3
cmp ecx, 0xa0
ja 0x406a1b
je 0x4065a3
cmp ecx, 9
je 0x4065a3
cmp ecx, 0x20
jmp 0x406a57
cmp ecx, 0x1680
jmp 0x406a57
cmp ecx, 0x205f
ja 0x406a51
je 0x4065a3
cmp ecx, 0x2000
jb case.0x404b33.160
cmp ecx, 0x200a
jbe 0x4065a3
cmp ecx, 0x202f
jmp 0x406a57
cmp ecx, 0x3000
je 0x4065a3
jmp case.0x404b33.160
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406a80
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406ac0
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406ac0
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 0x406aeb
je case.0x404b33.160
cmp ecx, 0xa
jb 0x4065a0
cmp ecx, 0xd
jbe case.0x404b33.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x404b0e
lea eax, [ecx - 0x2028]
cmp eax, 1
ja 0x4065a0
jmp case.0x404b33.160
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406b1d
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
test esi, esi
je 0x406b5d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406b5d
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 0x406b82
je 0x4065a0
cmp ecx, 0xa
jb case.0x404b33.160
cmp ecx, 0xd
jbe 0x4065a0
jmp case.0x404b33.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x404b33.160
mov eax, dword [ebp - 4]
add dword [eax], 2
jmp 0x404b0e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x406bba
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx edx, word [eax]
lea ecx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ecx
test esi, esi
je 0x406bfa
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406bfa
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 + 0x608ff0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
movzx eax, word [esi + 2]
cmp eax, 0xa
ja case.0x40af84.15
jmp dword [eax*4 + 0x40d1a0]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0xf
je case.0x404b33.160
add dword [eax], 6
jmp 0x404b0b
mov al, byte [ecx*4 + 0x606471]
cmp al, 9
je 0x406c61
cmp al, 5
je 0x406c61
cmp al, 8
je 0x406c61
xor ecx, ecx
jmp 0x406c66
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 0x406c42
xor esi, esi
jmp 0x4064ef
movzx ecx, byte [ecx*4 + 0x606471]
xor edx, edx
movzx eax, word [esi + 4]
cmp eax, dword [ecx*4 + 0x605558]
mov ecx, dword [ebp - 4]
setne dl
xor eax, eax
cmp byte [ecx + 0x31], 0x10
sete al
cmp edx, eax
mov eax, ecx
jne 0x406c42
xor esi, esi
jmp 0x4064ef
movzx eax, byte [ecx*4 + 0x606471]
mov ebx, dword [ebp - 4]
xor ecx, ecx
cmp word [esi + 4], ax
setne cl
xor eax, eax
cmp byte [ebx + 0x31], 0x10
jmp 0x406c6f
movzx eax, byte [ecx*4 + 0x606470]
jmp 0x406cb9
movzx eax, byte [ecx*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x406c61
cmp eax, 3
je 0x406c61
xor ecx, ecx
jmp 0x406c66
cmp edx, 0x180e
ja 0x406d32
je case.0x406d4e.8192
cmp edx, 0x85
ja 0x406d22
je case.0x406d4e.8192
cmp edx, 9
jb case.0x406d4e.8203
cmp edx, 0xd
jbe case.0x406d4e.8192
cmp edx, 0x20
jmp 0x406d63
cmp edx, 0xa0
je case.0x406d4e.8192
cmp edx, 0x1680
jmp 0x406d63
cmp edx, 0x202f
ja 0x406d55
je case.0x406d4e.8192
add edx, 0xffffe000
cmp edx, 0x29
ja case.0x406d4e.8203
movzx eax, byte [edx + 0x40d1d4]
jmp dword [eax*4 + 0x40d1cc]
cmp edx, 0x205f
je case.0x406d4e.8192
cmp edx, 0x3000
je case.0x406d4e.8192
movzx eax, byte [ecx*4 + 0x606471]
xor ecx, ecx
cmp dword [eax*4 + 0x605558], 6
sete cl
jmp 0x406c66
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0xf
jmp 0x406c74
movzx eax, byte [ecx*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x406c61
cmp eax, 3
je 0x406c61
cmp edx, 0x5f
je 0x406c61
xor ecx, ecx
jmp 0x406c66
movzx eax, word [esi + 4]
mov ecx, dword [eax*4 + 0x6060b8]
lea eax, [eax*4 + 0x6060b8]
cmp edx, ecx
jb 0x406ddf
lea eax, [eax + 4]
cmp edx, ecx
je 0x406deb
mov ecx, dword [eax]
cmp edx, ecx
jae 0x406dd2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0x10
jmp 0x406c74
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31], 0x10
je 0x406c42
xor esi, esi
jmp 0x4064ef
cmp edx, 0x24
je 0x406c61
cmp edx, 0x40
je 0x406c61
cmp edx, 0x60
je 0x406c61
cmp edx, 0xa0
jb 0x406e2e
cmp edx, 0xd7ff
jbe 0x406c61
cmp edx, 0xe000
jae 0x406c61
xor ecx, ecx
jmp 0x406c66
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
cmp edx, dword [edi + 0x5c]
jb 0x406e5f
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp edx, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [edx]
add edx, 2
mov ebx, dword [ebp - 8]
mov esi, edx
mov dword [eax + 0x38], edx
test ebx, ebx
je 0x406ea1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x406ea1
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.0041a0b0
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ecx + 0x38], eax
cmp word [edi + 0x48], 0
je 0x406edd
cmp eax, dword [edi + 0x5c]
jb 0x406edd
cmp eax, dword [edi + 0x64]
jbe 0x406edd
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
mov eax, dword [ebp - 4]
mov esi, ebx
add dword [eax], 2
jmp 0x404b0e
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 0x406fe6
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 0x406feb
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 0x406fe6
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 0x406fe6
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 0x406fe6
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 0x406fe6
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 + 0x604bcc]
mov dword [edx + 0x20], eax
mov eax, dword [ecx*4 + 0x604bf8]
mov dword [edx + 0x24], eax
mov eax, dword [ecx*4 + 0x604c24]
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 0x407010
cmp eax, 0xf
je 0x407010
mov eax, dword [ebp - 4]
or ebx, 0xffffffff
jmp 0x407026
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 0x407180
test ebx, ebx
js 0x407806
cmp ebx, 0xa
ja case.0x40af84.15
jmp dword [ebx*4 + 0x40d200]
cmp dword [eax + 0x28], 0xf
je case.0x404b33.160
mov ecx, dword [eax + 0x38]
mov esi, 1
mov ebx, dword [ebp - 8]
cmp ecx, dword [edi + 0x5c]
jae 0x40709f
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 0x407091
and edx, 0xfc00
cmp edx, 0xd800
jne 0x407091
lea ecx, [eax + 2]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ecx
jmp 0x407094
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax + 0x20]
jbe 0x407061
jmp 0x40717d
cmp word [edi + 0x48], 0
je 0x4070bd
cmp ecx, dword [edi + 0x64]
jbe 0x4070bd
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
mov eax, dword [ebp - 4]
xor esi, esi
mov edx, ebx
jmp 0x4064f2
mov esi, dword [eax + 0x38]
mov edi, 1
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4071bc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x40711e
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40711e
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 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x606471]
cmp al, 9
je 0x407155
cmp al, 5
je 0x407155
cmp al, 8
je 0x407155
xor ecx, ecx
jmp 0x40715a
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 0x405840
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x4070d1
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 0x404b0b
cmp dword [ebp - 0xc], 0
je 0x40c67b
mov eax, ebx
mov eax, dword [eax + 0x38]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x408d6d
cmp eax, 0xa
ja case.0x40af84.15
jmp dword [eax*4 + 0x40d22c]
mov edi, ecx
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp esi, dword [edi + 0x64]
jmp 0x406014
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4071bc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x407229
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407229
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x405840
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x4071e0
jmp 0x40717a
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4071bc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x4072dd
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4072dd
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x405840
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x407290
jmp 0x40717a
mov esi, dword [eax + 0x38]
mov edi, 1
nop word [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4071bc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x40738d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40738d
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606470]
cmp eax, dword [edx + 0x2c]
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
je 0x405840
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x407340
jmp 0x40717a
mov esi, dword [eax + 0x38]
mov edi, 1
nop word [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4071bc
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
movzx ecx, word [esi]
mov esi, edx
mov dword [eax + 0x38], edx
je 0x40743d
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40743d
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 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x40747a
cmp eax, 3
je 0x40747a
xor ecx, ecx
jmp 0x40747f
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 0x405840
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x4073f0
jmp 0x40717a
mov esi, 1
nop dword [eax]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x406482
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x407500
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407500
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 0x407503
mov edx, dword [ebp - 4]
cmp ecx, 0x180e
ja 0x407546
je case.0x407562.8192
cmp ecx, 0x85
ja 0x407532
je case.0x407562.8192
cmp ecx, 9
jb case.0x407562.8203
cmp ecx, 0xd
jbe case.0x407562.8192
cmp ecx, 0x20
jmp 0x407577
cmp ecx, 0xa0
je case.0x407562.8192
cmp ecx, 0x1680
jmp 0x407577
cmp ecx, 0x202f
ja 0x407569
je case.0x407562.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x407562.8203
movzx eax, byte [eax + 0x40d260]
jmp dword [eax*4 + 0x40d258]
cmp ecx, 0x205f
je case.0x407562.8192
cmp ecx, 0x3000
je case.0x407562.8192
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
cmp dword [eax*4 + 0x605558], 6
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, dword [ebp - 4]
je 0x404f18
jmp 0x4075d1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je case.0x404b33.160
inc esi
cmp esi, dword [eax + 0x20]
mov eax, dword [ebp - 4]
ja 0x407180
jmp 0x4074b0
mov esi, dword [eax + 0x38]
mov edi, 1
nop dword [eax + eax]
mov ecx, dword [ebp + 0x20]
cmp esi, dword [ecx + 0x5c]
jae 0x4071bc
cmp dword [ebp - 8], 0
lea ecx, [esi + 2]
movzx edx, word [esi]
mov esi, ecx
mov dword [eax + 0x38], ecx
je 0x40763d
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40763d
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 + 0x608ff0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x407681
cmp eax, 3
je 0x407681
cmp edx, 0x5f
je 0x407681
xor ecx, ecx
jmp 0x407686
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 0x405840
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x4075f0
jmp 0x40717a
mov esi, 1
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x406482
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x407701
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4076fe
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 + 0x6060b8]
lea eax, [eax*4 + 0x6060b8]
cmp ecx, edx
jb 0x407723
lea eax, [eax + 4]
cmp ecx, edx
je 0x407742
mov edx, dword [eax]
cmp ecx, edx
jae 0x407716
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
jne 0x404f18
inc esi
cmp esi, dword [eax + 0x20]
mov eax, dword [ebp - 4]
ja 0x407180
jmp 0x4076b0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je case.0x404b33.160
jmp 0x407730
mov esi, 1
nop word [eax + eax]
mov eax, dword [eax + 0x38]
cmp eax, dword [edi + 0x5c]
jae 0x406482
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], edx
je 0x4077b0
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4077b0
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 0x4077b3
mov edx, dword [ebp - 4]
cmp ecx, 0x24
je 0x4077de
cmp ecx, 0x40
je 0x4077de
cmp ecx, 0x60
je 0x4077de
cmp ecx, 0xa0
jb 0x4077d2
cmp ecx, 0xd7ff
jbe 0x4077de
cmp ecx, 0xe000
jae 0x4077de
xor ecx, ecx
jmp 0x4077e3
mov ecx, 1
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, dword [ebp - 4]
je 0x404f18
inc esi
cmp esi, dword [eax + 0x20]
jbe 0x407760
jmp 0x40717d
mov eax, dword [eax + 0x28]
cmp eax, 0x16
jne 0x4078d7
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 0x4078c2
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 0x407870
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x407870
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.0041a0b0
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ecx + 0x38], eax
cmp word [ebx + 0x48], 0
je 0x4078ae
cmp eax, dword [ebx + 0x5c]
jb 0x4078ae
cmp eax, dword [ebx + 0x64]
jbe 0x4078ae
mov dword [ebx + 0x2c], 1
cmp word [ebx + 0x48], 1
ja 0x405c1b
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [eax + 0x20]
jbe 0x407820
mov edi, ebx
jmp 0x40717d
mov edi, ebx
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x40af84.15
test esi, esi
je 0x407fc9
jmp dword [eax*4 + 0x40d28c]
jmp dword [eax*4 + 0x40d2cc]
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp ecx, dword [edi + 0x64]
jmp 0x406014
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x20]
cmp esi, dword [eax + 0x24]
jae 0x40865f
mov edx, dword [eax + 0x38]
mov ebx, dword [ebp - 8]
mov ecx, 1
cmp edx, dword [edi + 0x5c]
jae 0x408576
test ebx, ebx
je 0x40855b
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 0x40865f
lea edx, [edx + ecx*2]
inc esi
mov dword [eax + 0x38], edx
cmp esi, dword [eax + 0x24]
jb 0x408536
jmp 0x40865f
cmp word [edi + 0x48], 0
je 0x40865f
cmp edx, dword [edi + 0x64]
jbe 0x40865f
mov dword [edi + 0x2c], ecx
cmp word [edi + 0x48], cx
ja 0x405c1b
jmp 0x40865f
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408659
mov edx, dword [eax + 0x38]
nop
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408677
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x4085f7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4085f7
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 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x606471]
cmp al, 9
je 0x40862e
cmp al, 5
je 0x40862e
cmp al, 8
je 0x40862e
xor ecx, ecx
jmp 0x408633
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 0x408aa8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x4085b0
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 0x404b11
mov ecx, dword [eax + 0x38]
jmp 0x40c5eb
mov edi, eax
cmp word [edi + 0x48], 0
je 0x40865c
cmp edx, dword [edi + 0x64]
jbe 0x40865c
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x405c1b
jmp 0x40865c
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408659
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408677
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x4086e5
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4086e5
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x408aa8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x4086a2
jmp 0x408659
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408659
mov edx, dword [eax + 0x38]
nop dword [eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408677
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x4087a7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4087a7
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x408aa8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x408760
jmp 0x408659
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408659
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408677
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x40885b
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40885b
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606470]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, ebx
je 0x408aa8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x408814
jmp 0x408659
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408659
mov edx, dword [eax + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408677
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x408917
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x408917
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 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x408954
cmp eax, 3
je 0x408954
xor ecx, ecx
jmp 0x408959
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 0x408aa8
lea edx, [edx + esi*2]
inc edi
mov dword [eax + 0x38], edx
cmp edi, dword [eax + 0x24]
jb 0x4088d0
jmp 0x408659
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
cmp ebx, dword [eax + 0x24]
jae 0x40865c
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 0x408677
cmp dword [ebp - 8], 0
movzx ecx, word [edx]
je 0x4089e7
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4089e7
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 0x408a2a
je case.0x408a4a.8192
cmp ecx, 0x85
ja 0x408a16
je case.0x408a4a.8192
cmp ecx, 9
jb case.0x408a4a.8203
cmp ecx, 0xd
jbe case.0x408a4a.8192
cmp ecx, 0x20
jmp 0x408a5f
cmp ecx, 0xa0
je case.0x408a4a.8192
cmp ecx, 0x1680
jmp 0x408a5f
cmp ecx, 0x202f
ja 0x408a51
je case.0x408a4a.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x408a4a.8203
movzx eax, byte [eax + 0x40d314]
jmp dword [eax*4 + 0x40d30c]
cmp ecx, 0x205f
je case.0x408a4a.8192
cmp ecx, 0x3000
je case.0x408a4a.8192
mov edx, dword [ebp - 4]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, word [eax*2 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
cmp dword [eax*4 + 0x605558], 6
sete cl
xor eax, eax
cmp dword [edx + 0x28], 0xf
sete al
cmp ecx, eax
mov eax, edx
jne 0x408abf
mov edi, dword [ebp + 0x20]
jmp 0x40865f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0xf
je 0x408659
mov edi, edx
lea edx, [edi + esi*2]
inc ebx
mov dword [eax + 0x38], edx
mov edi, edx
cmp ebx, dword [eax + 0x24]
jb 0x4089a0
jmp 0x408659
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x20]
cmp ebx, dword [eax + 0x24]
jae 0x40865c
mov esi, dword [eax + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov edi, 1
cmp esi, dword [eax + 0x5c]
jae 0x408bab
cmp dword [ebp - 8], 0
movzx edx, word [esi]
je 0x408b37
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x408b37
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 + 0x608ff0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x408b7b
cmp eax, 3
je 0x408b7b
cmp edx, 0x5f
je 0x408b7b
xor ecx, ecx
jmp 0x408b80
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 0x408aa8
lea esi, [esi + edi*2]
inc ebx
mov dword [eax + 0x38], esi
cmp ebx, dword [eax + 0x24]
jb 0x408af0
jmp 0x408659
mov edi, eax
cmp word [edi + 0x48], 0
je 0x40865c
cmp esi, dword [edi + 0x64]
jbe 0x40865c
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
jmp 0x40865c
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x20]
cmp edi, dword [eax + 0x24]
jae 0x408659
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 0x408c94
movzx ecx, word [edx]
test ebx, ebx
je 0x408c38
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x408c35
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 + 0x6060b8]
lea eax, [eax*4 + 0x6060b8]
cmp ecx, edx
jb 0x408c5d
nop dword [eax]
lea eax, [eax + 4]
cmp ecx, edx
je 0x408c85
mov edx, dword [eax]
cmp ecx, edx
jae 0x408c50
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0xf
jne 0x408659
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 0x408bf0
jmp 0x408659
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 0xf
je 0x408659
jmp 0x408c6a
mov edi, ecx
cmp word [edi + 0x48], 0
je 0x40865c
cmp edx, dword [edi + 0x64]
jbe 0x40865c
mov dword [edi + 0x2c], esi
cmp word [edi + 0x48], si
ja 0x405c1b
jmp 0x40865c
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x24]
jae 0x408659
mov edx, dword [ebx + 0x38]
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov esi, 1
cmp edx, dword [eax + 0x5c]
jae 0x408677
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
cmp ecx, 0x24
je 0x408d42
cmp ecx, 0x40
je 0x408d42
cmp ecx, 0x60
je 0x408d42
cmp ecx, 0xa0
jb 0x408d36
cmp ecx, 0xd7ff
jbe 0x408d42
cmp ecx, 0xe000
jae 0x408d42
xor ecx, ecx
jmp 0x408d47
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je 0x408659
lea edx, [edx + esi*2]
inc edi
mov dword [ebx + 0x38], edx
cmp edi, dword [ebx + 0x24]
jb 0x408cd0
jmp 0x408659
mov eax, dword [ebx + 0x28]
cmp eax, 0x16
jne 0x408e64
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x24]
jae 0x408e4c
mov ecx, dword [ebp + 0x20]
nop dword [eax + eax]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ecx + 0x5c]
jae 0x408e29
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov esi, edx
mov dword [ebx + 0x38], edx
je 0x408dda
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x408dda
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.0041a0b0
mov ecx, dword [ebp + 0x20]
add esp, 0x18
mov dword [ebx + 0x38], eax
cmp word [ecx + 0x48], 0
je 0x408e1b
cmp eax, dword [ecx + 0x5c]
jb 0x408e1b
cmp eax, dword [ecx + 0x64]
jbe 0x408e1b
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x405c1b
inc edi
cmp edi, dword [ebx + 0x24]
jb 0x408d90
mov edi, ecx
jmp 0x408e4f
mov edi, dword [ebp + 0x20]
cmp word [edi + 0x48], 0
je 0x408e4f
cmp eax, dword [edi + 0x64]
jbe 0x408e4f
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
jmp 0x408e4f
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0xc], 2
mov esi, dword [ebp - 8]
je 0x404b0e
mov edx, dword [ebx + 4]
jmp 0x40c5d1
add eax, 0xfffffffa
cmp eax, 0xf
ja case.0x40af84.15
mov esi, dword [ebp - 8]
test esi, esi
je 0x4095c3
jmp dword [eax*4 + 0x40d340]
jmp dword [eax*4 + 0x40d380]
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 0x409c18
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 0x409bea
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
jne 0x409c18
movzx eax, word [edi + 0x4e]
lea ecx, [ecx + eax*2]
test esi, esi
jg 0x409bd0
jmp 0x409c18
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.0x409c30
movzx eax, byte [eax + 0x40d3c8]
jmp dword [eax*4 + 0x40d3c0]
mov esi, dword [edx*4 + 0x604bf0]
lea eax, [ecx + 2]
mov dword [ebx], eax
mov eax, dword [edx*4 + 0x604b98]
mov dword [ebx + 0x20], eax
mov eax, dword [edx*4 + 0x604bc4]
mov dword [ebx + 0x24], eax
mov dword [ebp - 0xc], esi
jmp 0x409c8b
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 + 0x604bf0]
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x409c86
mov dword [ebx + 0x24], 0xffffffff
lea eax, [edx + 6]
mov dword [ebx], eax
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x50]
jae 0x409cae
mov ecx, dword [ebx + eax*4 + 0x54]
cmp ecx, 0xffffffff
je 0x409cae
mov esi, dword [ebp - 8]
cmp ecx, dword [ebx + eax*4 + 0x58]
je 0x404b0e
mov eax, dword [ebx + 0x20]
jmp 0x409ccc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp - 8]
test eax, eax
je 0x404b0e
test dword [edi + 0x84], 0x200
jne 0x404b0e
mov esi, 1
cmp eax, esi
jb 0x409d01
lea eax, [ebp - 0x4c]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.0040d510
add esp, 0x14
test eax, eax
jne 0x409d72
mov eax, dword [ebp - 0x4c]
inc esi
add eax, eax
add dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x20]
cmp esi, eax
jbe 0x409cd5
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 0x24]
je 0x404b0e
cmp dword [ebp - 0xc], 0
je 0x40c759
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 0x409dc7
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.0040d510
add esp, 0x14
test eax, eax
jne 0x409d99
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 0x409d40
jmp 0x409dbf
jle 0x409d7a
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
jle 0x409dbf
mov ecx, dword [ebp + 0x20]
cmp word [ecx + 0x48], 0
je 0x409dbf
mov eax, dword [ecx + 0x5c]
cmp eax, dword [ecx + 0x64]
jbe 0x409dbf
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x405c1b
test esi, esi
je 0x40c6b4
mov edi, dword [ebp + 0x20]
jmp 0x40abdd
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.0040d510
add esp, 0x14
test eax, eax
je 0x409e0e
jle 0x409def
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
mov eax, dword [ebp + 0xc]
add eax, eax
add dword [ebx + 0x38], eax
jmp 0x404b0b
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 0x409e23
lea eax, [ecx + 4]
mov dword [edx], eax
jmp 0x404b11
cmp dword [edi + 0x30], 0
mov ebx, dword [ebp - 4]
jne 0x40c6c8
cmp dword [ebx + 0x18], 0
je 0x40c6c8
mov ecx, dword [ebx]
jmp 0x40a7f0
mov ebx, dword [ebp - 4]
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
call fcn.004048f0
mov esi, eax
add esp, 0xc
test esi, esi
jg case.0x404b33.160
js 0x4064ec
mov eax, dword [ebp + 0xc]
add eax, eax
add dword [ebx], eax
jmp 0x404b0b
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 0x409ea2
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 0x409eb6
cmp eax, 0x77
jne 0x409ee4
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
call fcn.004048f0
mov esi, eax
add esp, 0xc
test esi, esi
jg case.0x404b33.160
js 0x4064ec
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.0x409eff.148
movzx eax, byte [eax + 0x40d3ec]
jmp dword [eax*4 + 0x40d3d0]
mov edx, dword [ebx + 0x44]
cmp edx, 0xffffffff
je case.0x409eff.146
movzx eax, word [ecx + 2]
cmp eax, 0xffff
je case.0x409eff.147
cmp eax, edx
je case.0x409eff.147
jmp case.0x409eff.146
mov esi, dword [ebx + 0x44]
cmp esi, 0xffffffff
je case.0x409eff.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 0x409ff5
nop word [eax + eax]
movzx eax, word [ecx]
xor ebx, ebx
dec edx
cmp eax, esi
sete bl
je 0x409f74
lea ecx, [ecx + edi*2]
test edx, edx
jg 0x409f60
mov edi, dword [ebp + 0x20]
test ebx, ebx
mov ebx, dword [ebp - 4]
je case.0x409eff.146
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x6053b8]
jmp 0x409ffd
movzx eax, word [ecx + 2]
lea eax, [eax*2 - 2]
cmp eax, dword [ebx + 0x50]
jae case.0x409eff.146
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
je case.0x409eff.146
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x6053b8]
jmp 0x409ffd
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.0x409eff.146
mov edi, dword [ebx + 0x50]
movzx eax, word [ecx]
dec edx
lea eax, [eax*2 - 2]
cmp eax, edi
jae 0x409fee
cmp dword [ebx + eax*4 + 0x54], 0xffffffff
jne 0x40c464
lea ecx, [ecx + esi*2]
test edx, edx
jg 0x409fd4
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 0x404b0b
mov edx, 0x2008d
mov byte [eax + 0x30], 0x23
mov dword [ebp + 8], edx
jmp 0x40cc01
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
movzx edx, word [eax + 2]
test esi, esi
je 0x40a060
test edx, edx
je 0x40a05b
mov ecx, dword [ebx + 0x38]
dec edx
cmp ecx, dword [edi + 0x58]
jbe case.0x404b33.160
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
mov ax, word [ecx]
and ax, word [ebp - 0x14]
cmp ax, word [ebp - 0x18]
jne 0x40a057
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
test edx, edx
jne 0x40a034
mov ecx, dword [ebx + 0x38]
jmp 0x40a07a
mov ecx, dword [ebx + 0x38]
mov eax, ecx
sub eax, dword [edi + 0x58]
sar eax, 1
cmp edx, eax
jg case.0x404b33.160
lea eax, [edx + edx]
sub ecx, eax
mov dword [ebx + 0x38], ecx
cmp ecx, dword [edi + 0x64]
jae 0x40a082
mov dword [edi + 0x64], ecx
add dword [ebx], 4
jmp 0x404b0e
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 0x40a090
jmp 0x404b11
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 0x40a12c
mov ecx, 0x88
cmp ax, cx
je 0x40a12c
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 0x40a127
mov eax, dword [edi + 0x50]
shl eax, 2
push eax
lea eax, [edi + 0x54]
push eax
lea eax, [esi + 0x54]
push eax
call fcn.0041fb10
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 0x4064ec
movzx eax, word [ebx]
jmp 0x40a134
mov ecx, dword [ebp + 0x20]
xor esi, esi
mov edx, dword [ebp - 0x10]
movzx eax, ax
add eax, 0xffffff82
cmp eax, 0xe
ja case.0x40a14a.132
movzx eax, byte [eax + 0x40d418]
jmp dword [eax*4 + 0x40d400]
mov eax, dword [edi + 0x38]
cmp eax, dword [ecx + 0x68]
jbe 0x40a15c
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.0x40a14a.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 0x40a180
jmp case.0x40a14a.132
push dword [ebp - 8]
push dword [edi + 0x38]
push dword [esi + 0x38]
call fcn.0041a470
add esp, 0xc
test eax, eax
jne case.0x40a14a.132
mov edi, dword [ebp + 0x20]
xor esi, esi
jmp 0x4064ec
movzx eax, word [ebx + 4]
cmp dword [edi + 0x44], eax
jne 0x40a203
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.0041fb10
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 0x404b11
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.0x40a14a.132
mov dword [edi + 0x50], edx
mov edx, dword [edi]
cmp word [edx], 0x7c
jne 0x40a25d
push dword [ebp - 0x3c]
lea eax, [edi + 0x38]
push eax
lea eax, [esi + 0x38]
push eax
call fcn.0041fb10
mov edi, dword [ebp + 0x20]
add esp, 0xc
mov esi, 0xfffffc1a
jmp 0x4064ec
mov cl, byte [edi + 0x31]
cmp cl, 0x79
je 0x40a279
test esi, esi
je 0x40c71b
mov eax, dword [edi + 0x38]
cmp eax, dword [esi + 0x38]
jne 0x40c71b
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp - 4]
add dword [ebx], 4
jmp 0x404b0b
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x58]
jne case.0x404b33.160
test byte [edi + 0x80], 1
jne case.0x404b33.160
add dword [ecx], 2
jmp 0x404b11
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x58]
je 0x40a2a3
jmp case.0x404b33.160
test byte [edi + 0x80], 2
jne case.0x404b33.160
test byte [edi + 0x84], 0x10
je case.0x404b33.23
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x404b33.160
cmp word [edi + 0x48], 0
je 0x40a2a3
cmp eax, dword [edi + 0x64]
jbe 0x40a2a3
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
add dword [ecx], 2
jmp 0x404b11
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 0x20]
mov edx, dword [edi + 0x38]
mov esi, dword [ecx + 0x5c]
cmp edx, esi
jae 0x40a38b
mov eax, dword [ecx + 0x90]
lea ebx, [ecx + 0x94]
test eax, eax
je 0x40a351
push dword [ebp - 8]
push ebx
push esi
push eax
push edx
call fcn.0041a290
add esp, 0x14
test eax, eax
je 0x40a3b7
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 0x40a37f
mov edi, dword [ebx]
mov ecx, esi
lea eax, [edi + edi]
sub ecx, eax
cmp edx, ecx
ja 0x40a3b4
mov ecx, dword [ebp + 0x20]
mov ax, word [edx]
cmp ax, word [ecx + 0x98]
jne 0x40a3b4
cmp edi, 1
je 0x40a37f
mov ax, word [edx + 2]
cmp ax, word [ecx + 0x9a]
jne 0x40a3b4
lea eax, [edi + edi]
mov edi, dword [ebp - 4]
sub esi, eax
cmp edx, esi
jne 0x40a3b7
cmp word [ecx + 0x48], 0
je 0x40a3a9
cmp edx, dword [ecx + 0x64]
jbe 0x40a3a9
mov dword [ecx + 0x2c], 1
cmp word [ecx + 0x48], 1
ja 0x405c1b
add dword [edi], 2
mov edi, dword [ebp + 0x20]
jmp 0x404b0b
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x404e0e
mov ecx, dword [edi + 0x38]
mov edi, dword [ebp + 0x20]
lea eax, [ecx + 2]
cmp eax, dword [edi + 0x5c]
jb case.0x404b33.160
cmp dword [edi + 0x90], 0
jne case.0x404b33.160
cmp dword [ebx], 2
jne case.0x404b33.160
mov ax, word [ecx]
cmp ax, word [edi + 0x98]
jne case.0x404b33.160
jmp 0x40601a
test byte [edi + 0x80], 1
mov ebx, dword [ebp - 4]
je 0x40a41a
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x58]
je case.0x404b33.160
mov ecx, dword [ebx + 0x38]
mov edx, dword [edi + 0x58]
cmp ecx, edx
je 0x40a59a
cmp ecx, dword [edi + 0x5c]
jne 0x40a43d
test dword [edi + 0x84], 0x200000
je case.0x404b33.160
mov esi, dword [edi + 0x90]
test esi, esi
je 0x40a474
cmp ecx, edx
jbe case.0x404b33.160
push dword [ebp - 8]
lea eax, [edi + 0x94]
push eax
push edx
push esi
push ecx
call fcn.0041a340
add esp, 0x14
test eax, eax
je case.0x404b33.160
add dword [ebx], 2
jmp 0x404b0b
mov edi, dword [edi + 0x94]
lea esi, [edi + edi]
lea eax, [edx + esi]
cmp ecx, eax
jb 0x406031
mov edx, dword [ebp + 0x20]
sub ecx, esi
mov ax, word [ecx]
cmp ax, word [edx + 0x98]
jne 0x40a4ba
cmp edi, 1
mov edi, edx
je 0x40a59a
mov ax, word [ecx + 2]
cmp ax, word [edi + 0x9a]
je 0x40a59a
jmp case.0x404b33.160
mov edi, edx
jmp case.0x404b33.160
mov ebx, dword [ebp - 4]
mov ecx, dword [edi + 0x5c]
mov edx, dword [ebx + 0x38]
cmp edx, ecx
jae 0x40a565
mov eax, dword [edi + 0x90]
add edi, 0x94
test eax, eax
je 0x40a4fe
push esi
push edi
push ecx
push eax
push edx
call fcn.0041a290
add esp, 0x14
test eax, eax
je 0x40a52e
mov edi, dword [ebp + 0x20]
add dword [ebx], 2
jmp 0x404b0b
mov esi, dword [edi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x40a52e
mov ecx, dword [ebp + 0x20]
mov ax, word [edx]
cmp ax, word [ecx + 0x98]
jne 0x40a52e
cmp esi, 1
je 0x40a598
mov ax, word [edx + 2]
cmp ax, word [ecx + 0x9a]
je 0x40a598
mov eax, dword [ebp + 0x20]
cmp word [eax + 0x48], 0
je 0x404e0e
mov ecx, dword [ebx + 0x38]
mov ebx, dword [ebp + 0x20]
lea eax, [ecx + 2]
cmp eax, dword [ebx + 0x5c]
jb 0x404c63
cmp dword [ebx + 0x90], 0
jne 0x404c63
cmp dword [edi], 2
mov edi, ebx
jmp 0x40a3e7
test byte [edi + 0x80], 2
jne case.0x404b33.160
cmp word [edi + 0x48], 0
je 0x40a59a
cmp edx, dword [edi + 0x64]
jbe 0x40a59a
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
add dword [ebx], 2
jmp 0x404b0b
mov edi, ecx
add dword [ebx], 2
jmp 0x404b0b
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 0x40a2a3
jmp case.0x404b33.160
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
mov dword [ecx + 0x3c], eax
add dword [ecx], 2
jmp 0x404b11
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x38]
cmp esi, dword [edi + 0x58]
je 0x40a6b0
cmp dword [ebp - 8], 0
lea edx, [esi - 2]
je 0x40a653
movzx eax, word [edx]
mov ecx, eax
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x40a601
movzx ecx, word [edx - 2]
sub edx, 2
movzx ecx, cx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40a62c
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 0x40a63a
mov dword [edi + 0x64], edx
mov esi, dword [eax + 0x38]
test dword [edi + 0x84], 0x20000
je 0x40a698
cmp ecx, 0x5f
jne 0x40a658
lea ebx, [ecx - 0x5e]
jmp 0x40a6b2
movzx ecx, word [edx]
jmp 0x40a62f
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x40a691
cmp eax, 3
jne 0x40a6b0
mov ebx, 1
jmp 0x40a6b2
cmp ecx, 0xff
ja 0x40a6b0
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je 0x40a6b0
mov ebx, 1
jmp 0x40a6b2
xor ebx, ebx
mov eax, dword [edi + 0x5c]
cmp esi, eax
jb 0x40a700
cmp word [edi + 0x48], 0
je 0x40a6d7
cmp esi, dword [edi + 0x64]
jbe 0x40a6d7
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
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 0x40a6f0
xor edx, 1
mov ebx, dword [ebp + 0x1c]
test edx, edx
je 0x40a1fb
jmp case.0x404b33.160
cmp dword [ebp - 8], 0
lea edx, [esi + 2]
je 0x40a752
cmp edx, eax
jae 0x40a725
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x40a725
add edx, 2
movzx ecx, word [esi]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40a755
movzx eax, word [esi + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
jmp 0x40a755
movzx ecx, word [esi]
mov edi, dword [ebp + 0x20]
cmp edx, dword [edi + 0x68]
jbe 0x40a760
mov dword [edi + 0x68], edx
test dword [edi + 0x84], 0x20000
je 0x40a7c0
cmp ecx, 0x5f
jne 0x40a779
lea edx, [ecx - 0x5e]
jmp 0x40a6d9
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x40a7b6
cmp eax, 3
jne 0x40a6d7
mov edx, 1
jmp 0x40a6d9
cmp ecx, 0xff
ja 0x40a6d7
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je 0x40a6d7
mov edx, 1
jmp 0x40a6d9
test esi, esi
jne case.0x406526.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 + 0x6053b8]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
je 0x40c73e
mov dword [eax], ebx
jmp 0x404b0b
cmp esi, 0xfffffc1f
jne 0x40a843
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea eax, [ecx + eax*2]
cmp dword [edi + 0x74], eax
jae case.0x406526.35
cmp word [ecx], 0x78
je 0x40a84b
cmp word [eax], 0x78
jmp 0x40a845
test esi, esi
jne case.0x406526.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40c9f2
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x4064f2
cmp esi, 0xfffffc19
je 0x40c3a9
test esi, esi
je 0x40a886
cmp esi, 0xfffffc1f
jne case.0x406526.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40cab4
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x4064f2
cmp esi, 0xfffffc1f
jg 0x40a8e9
je 0x40c3e5
cmp esi, 0xfffffc19
je 0x40a900
cmp esi, 0xfffffc1a
jle case.0x406526.35
cmp esi, 0xfffffc1d
jg case.0x406526.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40a8d5
jmp 0x404b06
mov eax, esi
sub eax, 0
je 0x40c3e5
sub eax, 1
mov eax, dword [ebp - 4]
jne 0x4064f2
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x4064f2
cmp esi, 0xfffffc1f
jg 0x40a944
je 0x40c427
cmp esi, 0xfffffc19
je 0x40c3ff
cmp esi, 0xfffffc1a
jle case.0x406526.35
cmp esi, 0xfffffc1d
jle 0x40c43e
mov eax, dword [ebp - 4]
jmp 0x4064f2
mov eax, esi
sub eax, 0
je 0x40c427
sub eax, 1
je 0x40c41f
mov eax, dword [ebp - 4]
jmp 0x4064f2
test esi, esi
jne case.0x406526.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
add eax, eax
sub ecx, eax
mov dword [ebx], ecx
jmp 0x404b0b
test esi, esi
je 0x40a27f
mov eax, dword [ebp - 4]
jmp 0x4064f2
cmp esi, 0xfffffc1a
jne 0x40a9b7
mov dword [ebx + 0x24], 1
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
jne 0x40c747
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40a9a6
jmp 0x40a9fa
cmp esi, 0xfffffc1f
jne 0x40a9dd
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea eax, [ecx + eax*2]
cmp dword [edi + 0x74], eax
jae case.0x406526.35
cmp word [ecx], 0x78
je 0x40a9e5
cmp word [eax], 0x78
jmp 0x40a9df
test esi, esi
jne case.0x406526.35
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40c9ab
cmp dword [ebx + 0x24], 0
jne 0x404b06
cmp dword [ebx + 0x28], 0
jne 0x404b06
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x4064f2
test esi, esi
jne case.0x406526.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 0x40aa23
jmp 0x404b06
test esi, esi
je 0x40a59a
mov eax, dword [ebp - 4]
jmp 0x4064f2
mov edx, dword [ebx + 4]
movzx eax, word [edx + 2]
lea ecx, [edx + eax*2]
lea eax, [esi + 0x3e5]
cmp eax, 4
ja 0x40aa90
mov eax, dword [ebx + 0x20]
xor eax, 0x40000
cmp dword [edi + 0x7c], eax
jne 0x40aa90
cmp esi, 0xfffffc1f
jne case.0x404b33.160
cmp dword [edi + 0x74], ecx
jae case.0x404b33.160
cmp word [edx], 0x78
je 0x40aa9b
cmp word [ecx], 0x78
je 0x40aa9b
jmp case.0x404b33.160
mov edx, dword [ebp - 8]
test esi, esi
jne case.0x406526.35
mov dword [ebx + 4], ecx
cmp word [ecx], 0x78
je 0x40ca82
jmp case.0x404b33.160
cmp esi, 0xfffffc1e
jne case.0x406526.35
mov eax, dword [ebx]
push dword [edi + 0x78]
add eax, 4
push eax
call fcn.0041a9b0
mov edx, dword [ebp - 8]
add esp, 8
test eax, eax
jne case.0x406526.35
mov eax, dword [ebx + 0x38]
mov esi, 0xfffffc1d
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x4064f2
test esi, esi
jne case.0x406526.35
mov eax, dword [ebx + 0x44]
mov esi, 0xfffffc1b
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x4064f2
test esi, esi
jne case.0x406526.35
mov eax, dword [ebx + 0x44]
mov esi, 0xfffffc1c
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 4]
jmp 0x4064f2
test esi, esi
jne case.0x406526.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 0x4064f2
test esi, esi
jne case.0x406526.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 0x4064f2
test esi, esi
jne case.0x406526.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 0x4064f2
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
lea eax, [ebp - 0x54]
push eax
push edi
push ebx
push dword [ebx + 0x28]
push dword [ebx + 0x14]
call fcn.0040d510
add esp, 0x14
test eax, eax
je 0x40c751
jle 0x40abb0
mov eax, dword [edi + 0x5c]
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
test esi, esi
jne case.0x406526.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.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x15
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov eax, dword [ebx + 4]
cmp dword [ebx + 0x38], eax
je case.0x404b33.160
mov dword [ebx + 0x38], eax
dec dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
cmp esi, dword [ebx + 0x24]
jae 0x40ac48
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.0040d510
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 0x40ac20
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x16
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40ac8a
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
add eax, 2
mov dword [ebx + 0x38], eax
cmp ecx, 0xff
jbe 0x40acb3
cmp byte [ebx + 0x31], 0x6e
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x17
jmp 0x40cc01
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 0x40aca5
jmp case.0x404b33.160
test esi, esi
jne case.0x406526.35
add dword [ebx + 0x38], 0xfffffffe
jmp 0x4061dd
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov ecx, dword [ebx + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x40ad14
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp ecx, dword [edi + 0x64]
jmp 0x406014
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je 0x40ad25
cmp dword [ebx + 0x2c], eax
jne case.0x404b33.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 0x40cc01
add dword [ebx + 0x38], 0xfffffffe
test esi, esi
jne case.0x406526.35
mov esi, dword [ebp - 8]
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 4]
je 0x404b0e
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1a
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov esi, dword [ebx + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x40ad97
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp esi, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [esi]
lea eax, [esi + 2]
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ecx
jne case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1b
jmp 0x40cc01
add dword [ebx + 0x38], 0xfffffffe
test esi, esi
je 0x405877
mov eax, dword [ebp - 4]
jmp 0x4064f2
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov ecx, dword [ebx + 0x38]
cmp ecx, dword [edi + 0x5c]
jb 0x40adff
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp ecx, dword [edi + 0x64]
jmp 0x406014
movzx eax, word [ecx]
cmp dword [ebx + 0x28], eax
je case.0x404b33.160
cmp dword [ebx + 0x2c], eax
je case.0x404b33.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 0x40cc01
test esi, esi
jne case.0x406526.35
add dword [ebx + 0x38], 0xfffffffe
mov eax, dword [ebx + 0x38]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 4]
je 0x404b0e
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1e
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov esi, dword [ebx + 0x38]
cmp esi, dword [edi + 0x5c]
jb 0x40ae86
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp esi, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [esi]
lea eax, [esi + 2]
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], ecx
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1f
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
add dword [ebx + 0x38], 0xfffffffe
mov eax, dword [ebx + 0x38]
mov esi, dword [ebp - 8]
cmp eax, dword [ebx + 4]
je 0x404b0e
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x20
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov edx, dword [ebx + 0x38]
mov ecx, dword [edi + 0x5c]
cmp edx, ecx
jb 0x40af05
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp edx, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebx + 0x28], 0xc
jne 0x40af6c
mov eax, dword [edi + 0x90]
lea esi, [edi + 0x94]
test eax, eax
je 0x40af3b
push dword [ebp - 8]
push esi
push ecx
push eax
push edx
call fcn.0041a290
add esp, 0x14
test eax, eax
jne case.0x404b33.160
mov edx, dword [ebx + 0x38]
jmp 0x40af6c
mov esi, dword [esi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x40af6c
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x40af6c
cmp esi, 1
je case.0x404b33.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x404b33.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.0x40af84.15
jmp dword [eax*4 + 0x40d428]
cmp ecx, 0xd
ja 0x40afaf
je 0x40c767
cmp ecx, 0xa
je case.0x40af84.13
jbe case.0x404b33.160
cmp ecx, 0xc
jbe 0x40afcf
jmp case.0x404b33.160
cmp ecx, 0x85
je 0x40afcf
cmp ecx, 0x2027
jbe case.0x404b33.160
cmp ecx, 0x2029
ja case.0x404b33.160
cmp word [edi + 0x4a], 2
jne case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x180e
ja 0x40b023
je case.0x404b33.160
cmp ecx, 0xa0
ja 0x40b012
je case.0x404b33.160
cmp ecx, 9
je case.0x404b33.160
cmp ecx, 0x20
jne case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x1680
jne case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x205f
ja 0x40b05a
je case.0x404b33.160
cmp ecx, 0x2000
jb case.0x40af84.13
cmp ecx, 0x200a
jbe case.0x404b33.160
cmp ecx, 0x202f
jne case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x3000
jne case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x180e
ja 0x40b0af
je case.0x40af84.13
cmp ecx, 0xa0
ja 0x40b09e
je case.0x40af84.13
cmp ecx, 9
je case.0x40af84.13
cmp ecx, 0x20
je case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x1680
je case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x205f
ja 0x40b0e6
je case.0x40af84.13
cmp ecx, 0x2000
jb case.0x404b33.160
cmp ecx, 0x200a
jbe case.0x40af84.13
cmp ecx, 0x202f
je case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x3000
je case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x85
ja 0x40b116
je case.0x404b33.160
lea eax, [ecx - 0xa]
cmp eax, 3
ja case.0x40af84.13
jmp case.0x404b33.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x85
ja 0x40b14f
je case.0x40af84.13
cmp ecx, 0xa
jb case.0x404b33.160
cmp ecx, 0xd
jbe case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0x2028
jb case.0x404b33.160
cmp ecx, 0x2029
jbe case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0xff
ja case.0x40af84.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0xff
ja case.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
jne case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0xff
ja case.0x40af84.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0xff
ja case.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jne case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0xff
ja case.0x40af84.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x40af84.13
jmp case.0x404b33.160
cmp ecx, 0xff
ja case.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jne case.0x40af84.13
jmp case.0x404b33.160
test esi, esi
jne case.0x406526.35
mov eax, dword [ebx + 0x38]
add eax, 0xfffffffe
mov dword [ebx + 0x38], eax
mov ecx, eax
cmp dword [ebx + 0x28], 0x11
jne 0x40b253
cmp eax, dword [ebx + 4]
jbe 0x40b253
cmp word [eax], 0xa
jne 0x40b253
cmp word [eax - 2], 0xd
lea edx, [eax - 2]
jne 0x40b253
mov dword [ebx + 0x38], edx
mov ecx, edx
cmp ecx, dword [ebx + 4]
je 0x404b0b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x22
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b29e
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
mov esi, dword [ebp - 8]
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
test esi, esi
je 0x40b2db
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40b2db
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.0041ab70
add esp, 0xc
test eax, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x64
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov ecx, dword [ebx + 0x38]
lea edx, [ecx - 2]
mov dword [ebx + 0x38], edx
cmp ecx, dword [ebx + 4]
jbe case.0x404b33.160
cmp dword [ebp - 8], esi
je 0x40644c
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x40644c
lea eax, [edx - 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x65
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b382
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40b3b8
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 0x40b3d8
cmp byte [ebx + 0x31], 0x6e
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc8
jmp 0x40cc01
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 0x40b3ca
jmp case.0x404b33.160
test esi, esi
jne case.0x406526.35
mov ecx, dword [ebx + 0x38]
lea edx, [ecx - 2]
mov dword [ebx + 0x38], edx
cmp ecx, dword [ebx + 4]
jbe case.0x404b33.160
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x406195
lea eax, [edx - 2]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xc9
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.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 0x40b4da
mov eax, dword [ebp - 4]
mov ecx, ebx
mov edx, dword [eax + 8]
sub esi, 4
jb 0x40b491
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40b49a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40b480
cmp esi, 0xfffffffc
je 0x40c7d3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40b4d7
cmp esi, 0xfffffffd
je 0x40c7d3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40b4d7
cmp esi, 0xfffffffe
je 0x40c7d3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40b4d7
cmp esi, 0xffffffff
je 0x40c7d3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40c7d3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x14]
test edi, edi
je 0x40b558
lea esi, [edi + edi]
mov eax, ecx
sub eax, esi
cmp ebx, eax
ja 0x40b558
add edx, 0x32
mov ecx, ebx
sub esi, 4
jb 0x40b512
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40b51b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40b501
cmp esi, 0xfffffffc
je 0x40c7d3
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40b558
cmp esi, 0xfffffffd
je 0x40c7d3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40b558
cmp esi, 0xfffffffe
je 0x40c7d3
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40b558
cmp esi, 0xffffffff
je 0x40c7d3
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40c7d3
mov edi, dword [ebp + 0x20]
cmp word [edi + 0x48], 0
je case.0x404b33.160
cmp ebx, dword [edi + 0x5c]
jb case.0x404b33.160
cmp ebx, dword [edi + 0x64]
jmp 0x406014
test esi, esi
jne case.0x406526.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 0x40b5a4
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x404b0b
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcb
jmp 0x40cc04
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b5ec
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40b622
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.0x404b33.160
cmp dword [ebx + 0x2c], ecx
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xcc
jmp 0x40cc01
test esi, esi
jne case.0x406526.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 0x40b66f
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x404b0b
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcd
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b6b7
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
lea edx, [eax + 2]
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40b6ed
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.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xce
jmp 0x40cc01
test esi, esi
jne case.0x406526.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 0x40b731
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp ecx, dword [eax + 4]
jbe 0x404b0b
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xcf
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b779
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
movzx ecx, word [eax]
add eax, 2
mov edx, dword [ebp - 8]
mov dword [ebx + 0x38], eax
test edx, edx
je 0x40b79d
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x40b79d
add eax, 2
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x28], 0xf
jne case.0x40c68b.0
mov eax, dword [ebp - 4]
xor esi, esi
jmp 0x4064f2
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b7e5
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40b821
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40b821
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 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x606471]
cmp al, 9
je 0x40b858
cmp al, 5
je 0x40b858
cmp al, 8
je 0x40b858
xor ecx, ecx
jmp 0x40b85d
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd1
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b8b0
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40b8ec
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40b8ec
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd2
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40b976
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40b9b2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40b9b2
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd3
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40ba35
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40ba71
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40ba71
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 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606470]
cmp eax, dword [ebx + 0x2c]
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd4
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40baf4
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40bb30
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40bb30
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 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x40bb6d
cmp eax, 3
je 0x40bb6d
xor ecx, ecx
jmp 0x40bb72
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd5
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40bbc5
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40bc01
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40bc01
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 0x40bc48
je case.0x40bc68.8192
cmp ecx, 0x85
ja 0x40bc34
je case.0x40bc68.8192
cmp ecx, 9
jb case.0x40bc68.8203
cmp ecx, 0xd
jbe case.0x40bc68.8192
cmp ecx, 0x20
jmp 0x40bc81
cmp ecx, 0xa0
je case.0x40bc68.8192
cmp ecx, 0x1680
jmp 0x40bc81
cmp ecx, 0x202f
ja 0x40bc6f
je case.0x40bc68.8192
lea eax, [ecx - 0x2000]
cmp eax, 0x29
ja case.0x40bc68.8203
movzx eax, byte [eax + 0x40d470]
jmp dword [eax*4 + 0x40d468]
cmp ecx, 0x205f
je case.0x40bc68.8192
cmp ecx, 0x3000
je case.0x40bc68.8192
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, word [eax*2 + 0x608ff0]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
cmp dword [eax*4 + 0x605558], 6
sete cl
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd6
jmp 0x40cc01
cmp dword [ebx + 0x28], 0xf
jne case.0x40c68b.6
jmp case.0x404b33.160
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40bd1a
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea ecx, [eax + 2]
movzx edx, word [eax]
mov dword [ebx + 0x38], ecx
je 0x40bd56
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40bd56
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 + 0x608ff0]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606471]
mov eax, dword [eax*4 + 0x605558]
cmp eax, 1
je 0x40bd9a
cmp eax, 3
je 0x40bd9a
cmp edx, 0x5f
je 0x40bd9a
xor ecx, ecx
jmp 0x40bd9f
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd7
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40bdf2
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40be2e
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40be2e
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 + 0x6060b8]
lea eax, [eax*4 + 0x6060b8]
cmp ecx, edx
jb 0x40be50
lea eax, [eax + 4]
cmp ecx, edx
je 0x40be68
mov edx, dword [eax]
cmp ecx, edx
jae 0x40be43
cmp dword [ebx + 0x28], 0xf
jne case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd8
jmp 0x40cc01
cmp dword [ebx + 0x28], 0xf
jne case.0x40c68b.9
jmp case.0x404b33.160
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40bea7
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov dword [ebx + 0x38], edx
je 0x40bee3
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40bee3
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 0x40bf0e
cmp ecx, 0x40
je 0x40bf0e
cmp ecx, 0x60
je 0x40bf0e
cmp ecx, 0xa0
jb 0x40bf02
cmp ecx, 0xd7ff
jbe 0x40bf0e
cmp ecx, 0xe000
jae 0x40bf0e
xor ecx, ecx
jmp 0x40bf13
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x28], 0xf
sete al
cmp ecx, eax
je case.0x404b33.160
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd9
jmp 0x40cc01
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov eax, dword [ebx + 0x38]
cmp eax, dword [edi + 0x5c]
jb 0x40c7fb
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp eax, dword [edi + 0x64]
jmp 0x406014
test esi, esi
jne case.0x406526.35
mov edx, dword [ebx + 0x20]
lea eax, [edx + 1]
mov dword [ebx + 0x20], eax
cmp edx, dword [ebx + 0x24]
jae case.0x404b33.160
mov edx, dword [ebx + 0x38]
mov ecx, dword [edi + 0x5c]
cmp edx, ecx
jb 0x40bfa0
cmp word [edi + 0x48], si
je case.0x404b33.160
cmp edx, dword [edi + 0x64]
jmp 0x406014
cmp dword [ebx + 0x28], 0xc
jne 0x40c007
mov eax, dword [edi + 0x90]
lea esi, [edi + 0x94]
test eax, eax
je 0x40bfd6
push dword [ebp - 8]
push esi
push ecx
push eax
push edx
call fcn.0041a290
add esp, 0x14
test eax, eax
jne case.0x404b33.160
mov edx, dword [ebx + 0x38]
jmp 0x40c007
mov esi, dword [esi]
lea eax, [esi + esi]
sub ecx, eax
cmp edx, ecx
ja 0x40c007
mov ax, word [edx]
cmp ax, word [edi + 0x98]
jne 0x40c007
cmp esi, 1
je case.0x404b33.160
mov ax, word [edx + 2]
cmp ax, word [edi + 0x9a]
je case.0x404b33.160
movzx ecx, word [edx]
add edx, 2
mov eax, ecx
mov dword [ebx + 0x38], edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c03d
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.0x40af84.15
jmp dword [eax*4 + 0x40d49c]
cmp ecx, 0xd
ja 0x40c077
je 0x40c882
cmp ecx, 0xa
je case.0x40c04c.13
jbe case.0x404b33.160
cmp ecx, 0xc
jbe 0x40c097
jmp case.0x404b33.160
cmp ecx, 0x85
je 0x40c097
cmp ecx, 0x2027
jbe case.0x404b33.160
cmp ecx, 0x2029
ja case.0x404b33.160
cmp word [edi + 0x4a], 2
jne case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x180e
ja 0x40c0eb
je case.0x404b33.160
cmp ecx, 0xa0
ja 0x40c0da
je case.0x404b33.160
cmp ecx, 9
je case.0x404b33.160
cmp ecx, 0x20
jne case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x1680
jne case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x205f
ja 0x40c122
je case.0x404b33.160
cmp ecx, 0x2000
jb case.0x40c04c.13
cmp ecx, 0x200a
jbe case.0x404b33.160
cmp ecx, 0x202f
jne case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x3000
jne case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x180e
ja 0x40c177
je case.0x40c04c.13
cmp ecx, 0xa0
ja 0x40c166
je case.0x40c04c.13
cmp ecx, 9
je case.0x40c04c.13
cmp ecx, 0x20
je case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x1680
je case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x205f
ja 0x40c1ae
je case.0x40c04c.13
cmp ecx, 0x2000
jb case.0x404b33.160
cmp ecx, 0x200a
jbe case.0x40c04c.13
cmp ecx, 0x202f
je case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x3000
je case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x85
ja 0x40c1de
je case.0x404b33.160
lea eax, [ecx - 0xa]
cmp eax, 3
ja case.0x40c04c.13
jmp case.0x404b33.160
lea eax, [ecx - 0x2028]
cmp eax, 1
ja case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x85
ja 0x40c217
je case.0x40c04c.13
cmp ecx, 0xa
jb case.0x404b33.160
cmp ecx, 0xd
jbe case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x2028
jb case.0x404b33.160
cmp ecx, 0x2029
jbe case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x100
jae case.0x40c04c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
je case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x100
jae case.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 8
jne case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x100
jae case.0x40c04c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
je case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x100
jae case.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 1
jne case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x100
jae case.0x40c04c.13
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
je case.0x40c04c.13
jmp case.0x404b33.160
cmp ecx, 0x100
jae case.0x404b33.160
mov eax, dword [edi + 0x3c]
test byte [ecx + eax], 0x10
jne case.0x40c04c.13
jmp case.0x404b33.160
test esi, esi
jne case.0x406526.35
mov esi, dword [ebx + 0x38]
add esi, 0xfffffffe
mov dword [ebx + 0x38], esi
test edx, edx
jne 0x40c480
movzx ecx, word [esi]
jmp 0x40c4c9
test esi, esi
jne case.0x406526.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 0x40c333
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
cmp dword [ebx + 0x28], 0x11
mov eax, ecx
jne 0x40c355
cmp ecx, dword [ebx + 4]
jbe 0x40c355
cmp word [ecx], 0xa
jne 0x40c355
cmp word [ecx - 2], 0xd
lea edx, [ecx - 2]
jne 0x40c355
mov dword [ebx + 0x38], edx
mov eax, edx
cmp eax, dword [ebx + 4]
jbe 0x404b0b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdd
jmp 0x40cc01
test esi, esi
jne case.0x406526.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 0x40c5e8
mov ax, word [edx]
and ax, word [ebp - 0x14]
cmp ax, word [ebp - 0x18]
mov eax, dword [ebp - 4]
jne 0x40c5eb
lea ecx, [edx - 2]
mov dword [ebx + 0x38], ecx
jmp 0x40c5eb
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.0041fb10
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 0x40c3d1
jmp 0x404b06
mov ecx, dword [ebx]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebx], ecx
cmp word [ecx], 0x78
je 0x40cae3
jmp 0x404b06
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.0041fb10
mov eax, dword [esi + 0x50]
add esp, 0xc
mov dword [ebx + 0x50], eax
mov ebx, dword [ebx + 0x20]
mov edx, dword [ebp - 4]
jmp 0x40c449
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 0x40c6f1
mov edx, dword [ebp - 4]
xor ebx, ebx
cmp dword [edx + 0x20], ebx
sete bl
test ebx, ebx
je 0x40c478
mov ecx, dword [edx]
nop
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [edx], ecx
cmp word [ecx], 0x78
je 0x40c450
jmp 0x409f77
mov edi, dword [ebp + 0x20]
mov ecx, dword [ebx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x6053b8]
jmp 0x409ffd
mov ebx, dword [ebp - 4]
jmp case.0x409eff.146
movzx eax, word [esi]
mov edx, esi
mov ecx, eax
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x40c49c
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 0x40c4c9
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 + 0x608ff0]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx eax, byte [eax*4 + 0x606472]
mov dword [ebp - 0x24], eax
cmp esi, edx
jbe 0x40c5d1
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 0x40c570
and eax, 0xfc00
mov edx, edi
cmp eax, 0xdc00
jne 0x40c540
movzx ecx, word [esi - 2]
sub esi, 2
mov edx, ebx
mov ebx, dword [ebp - 0x38]
jmp 0x40c543
mov ebx, dword [ebp - 0x1c]
movzx ecx, cx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c570
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 + 0x608ff0]
shl eax, 7
add eax, ecx
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax*2 + 0x60d3f0]
lea eax, [eax + eax*2]
movzx edi, byte [eax*4 + 0x606472]
mov eax, 1
shl eax, cl
test dword [edi*4 + 0x605518], eax
je 0x40c5cb
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 0x40c510
mov ebx, dword [ebp - 4]
mov edi, dword [ebp + 0x20]
cmp dword [ebx + 0x38], edx
jbe 0x404b0b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdc
jmp 0x40cc01
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 4]
jbe 0x404b0e
mov ebx, dword [eax]
mov byte [eax + 0x30], 0xde
jmp 0x40cc01
inc dword [edi + 0x88]
mov eax, dword [edi + 0x88]
cmp eax, dword [edi + 0x8c]
ja 0x40c8ee
mov ebx, dword [ebp - 4]
mov edx, dword [ebx]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x6053b8]
movzx eax, word [edx + 2]
add ecx, eax
lea eax, [edx + ecx*2]
mov dword [ebx], eax
jmp 0x404b0e
test esi, esi
jne 0x40b634
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1d
jmp 0x40cc01
test esi, esi
jne 0x40b6f6
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x1f
jmp 0x40cc01
mov edi, dword [ebp + 0x20]
test esi, esi
jne 0x40b3ca
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x17
jmp 0x40cc01
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x40c692
cmp eax, 0xa
ja case.0x40af84.15
jmp dword [eax*4 + 0x40d4dc]
cmp dword [ebx + 0x28], 0x16
je 0x40c874
cmp dword [ebp - 8], 0
jne case.0x40c04c.13
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x21
jmp 0x40cc01
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 0x40cc01
xor eax, eax
jmp 0x40c9ed
mov eax, esi
cmp eax, 0x7e
je 0x40c6e4
mov ecx, 0x80
cmp ax, cx
je 0x40c6e4
xor eax, eax
jmp 0x40c6e9
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 + 0x6053b8]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 5
jmp 0x40cc01
mov eax, dword [ebp - 4]
cmp cl, 0x7b
jne 0x40c732
mov byte [edi + 0x30], 6
lea ebx, [edx + 4]
mov edi, dword [ebp + 0x20]
jmp 0x40cc04
mov byte [edi + 0x30], 7
mov edi, dword [ebp + 0x20]
jmp 0x40cc04
mov byte [eax + 0x30], 1
jmp 0x40cc01
mov eax, dword [ebx + 8]
mov dword [ebx], eax
jmp 0x40c9ab
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 0x40cc01
cmp edx, dword [edi + 0x5c]
jae case.0x40af84.13
cmp word [edx], 0xa
jne case.0x40af84.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 0x40cc01
cmp word [edi + 0x48], 0
je case.0x40af84.13
cmp edx, dword [edi + 0x5c]
jb case.0x40af84.13
cmp dword [edi + 0x90], 0
jne case.0x40af84.13
cmp dword [edi + 0x94], 2
jne case.0x40af84.13
movzx eax, word [edi + 0x98]
cmp ecx, eax
jne case.0x40af84.13
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0x21
jmp 0x40cc01
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 0x40cc01
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xd0
jmp 0x40cc01
cmp dword [ebp - 8], 0
lea edx, [eax + 2]
movzx ecx, word [eax]
mov esi, edx
mov dword [ebx + 0x38], edx
je 0x40c839
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40c839
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.0041a0b0
add esp, 0x18
mov dword [ebx + 0x38], eax
cmp word [edi + 0x48], 0
je 0x40c874
cmp eax, dword [edi + 0x5c]
jb 0x40c874
cmp eax, dword [edi + 0x64]
jbe 0x40c874
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xda
jmp 0x40cc01
cmp edx, dword [edi + 0x5c]
jae case.0x40c04c.13
cmp word [edx], 0xa
jne case.0x40c04c.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 0x40cc01
cmp word [edi + 0x48], 0
je case.0x40c04c.13
cmp edx, dword [edi + 0x5c]
jb case.0x40c04c.13
cmp dword [edi + 0x90], 0
jne case.0x40c04c.13
cmp dword [edi + 0x94], 2
jne case.0x40c04c.13
movzx eax, word [edi + 0x98]
cmp ecx, eax
jne case.0x40c04c.13
mov dword [edi + 0x2c], 1
cmp word [edi + 0x48], 1
ja 0x405c1b
mov eax, dword [ebp - 4]
mov ebx, dword [ebx]
mov byte [eax + 0x30], 0xdb
jmp 0x40cc01
mov esi, dword [ebp - 4]
mov edx, dword [esi]
movzx eax, word [edx]
movzx ecx, byte [eax + 0x6053b8]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0x11
jmp 0x40cbfc
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx]
add ebx, 2
mov dword [ecx + 4], ebx
mov byte [ecx + 0x30], 9
jmp 0x40cc01
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 0x40c930
lea ebx, [ecx + 4]
mov byte [edx + 0x30], 0xa
jmp 0x40cc01
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 0x40c993
mov edx, 0x8c
cmp cx, dx
jne 0x40c980
jmp 0x40c993
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x28], 0
mov eax, 0x20000
jmp 0x40c99c
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 + 0x6053b8]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 8
jmp 0x40cc01
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
movzx eax, word [eax + 4]
or eax, 0x10000
jmp 0x40c9ed
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 + 0x6053b8]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 2
jmp 0x40cc01
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 0x40ca28
xor edi, edi
jmp 0x40ca2c
movzx edi, word [ebx + 4]
cmp dword [edx + 0x44], 0xffffffff
je 0x40ca70
mov eax, dword [edx + 0x4c]
cmp eax, 0xffffffff
je 0x40ca70
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 0x40ca61
mov eax, dword [ecx + 0x4c]
cmp eax, 0xffffffff
jne 0x40ca48
mov edx, dword [ebp - 4]
jmp 0x40ca70
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
cmp eax, dword [ecx + 0x38]
je 0x40cd6b
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 + 0x6053b8]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0xb
jmp 0x40cc01
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 + 0x6053b8]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 3
jmp 0x40cc01
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 + 0x6053b8]
lea ebx, [ecx + eax*2]
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 4
jmp 0x40cc01
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 + 0x6053b8]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0xc
jmp 0x40cbfc
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x6053b8]
mov byte [edx + 0x30], 0xd
lea ebx, [ecx + eax*2]
jmp 0x40cc01
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 + 0x6053b8]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0x24
jmp 0x40cbfc
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x6053b8]
mov byte [edx + 0x30], 0xe
lea ebx, [ecx + eax*2]
jmp 0x40cc01
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 + 0x6053b8]
movzx eax, word [edx + 2]
mov byte [esi + 0x30], 0xf
jmp 0x40cbfc
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x6053b8]
mov byte [edx + 0x30], 0x10
lea ebx, [ecx + eax*2]
jmp 0x40cc01
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x6053b8]
mov byte [edx + 0x30], 0x12
lea ebx, [ecx + eax*2]
jmp 0x40cc01
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 + 0x6053b8]
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 0x40ccaa
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x1c]
lea esi, [ecx + ecx]
mov eax, esi
shr eax, 0xa
cmp eax, edx
jbe 0x40cc3d
mov esi, edx
xor edx, edx
shl esi, 0xa
mov eax, esi
div dword [ebp + 0x1c]
sub esi, edx
cmp ecx, esi
jae 0x40cd77
push dword [edi + 8]
mov eax, dword [edi]
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x40cd83
mov eax, dword [ebp + 0x20]
push dword [eax + 0xc]
push dword [eax + 0x10]
push edi
call fcn.0041fb10
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 0x40cc95
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.0041fb10
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 0x404aa7
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 0x40ccf9
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.0041fb10
mov eax, dword [ebx + 0x50]
dec esi
add eax, 2
add esp, 0xc
cmp esi, eax
jb 0x40cd56
mov dword [edi + esi*4], 0xffffffff
dec esi
mov ecx, dword [ebx + 0x50]
add ecx, 2
cmp esi, ecx
jae 0x40cd44
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