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

Disassembly:
sub esp, 0x158
push ebx
push ebp
push esi
mov esi, edx
mov ebx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebx
push edi
test esi, esi
jne 0x491e4e
cmp dword [esp + 0x17c], edx
jne 0x491e33
push 1
push edx
push edx
push edx
push edx
lea ecx, [esp + 0x190]
call fcn.00491df0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
lea eax, [esp + 0x17c]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
neg eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ebp, dword [esp + 0x174]
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], 0
mov eax, dword [ebp]
cmp eax, dword [ebp + 4]
jae 0x49709e
mov dword [esp + 0x4c], 0xfc00
mov dword [esp + 0x50], 0xdc00
mov dword [esp + 0x54], connect
mov dword [esp + 0x48], 0xd800
inc eax
mov dword [ebp], eax
mov eax, dword [esp + 0x17c]
cmp eax, dword [ebp + 8]
jae 0x4994d1
cmp dword [ebp + 0x9c], 2
jne 0x491eeb
mov eax, dword [esp + 0x178]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x178], eax
mov dword [ebp + 0x9c], 0
jmp 0x491eeb
mov ebp, dword [esp + 0x174]
mov esi, dword [esp + 0x14]
jmp 0x491ef2
jne case.default.0x4937bb
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x170]
movzx ecx, word [esi]
mov edx, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], edx
cmp edx, 0x9b
ja case.0x491f1e.98
movzx eax, byte [edx + 0x49962c]
jmp dword [eax*4 + 0x4994e4]
cmp dword [ebp + 0x70], 0
movzx ecx, byte [edx + 0x4bfe60]
je 0x497193
movzx eax, word [esi + 2]
add ecx, eax
lea esi, [esi + ecx*2]
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov edx, dword [esp + 0x174]
mov ebp, esi
mov edi, ebx
mov esi, dword [edx + 0xb0]
mov eax, dword [esp + 0x17c]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x17c]
push edx
mov edx, dword [esp + 0x20]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
lea edx, [edx + 4]
call fcn.00491df0
mov edx, dword [esp + 0x188]
add esp, 0x14
cmp eax, 1
je 0x492058
cmp eax, 0xfffffc20
jne 0x491fca
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov eax, 0xfffffc20
cmp dword [edx + 0x80], ecx
jae 0x491fca
mov eax, dword [esp + 0x14]
cmp word [eax], 0x71
je 0x491fd2
cmp word [ecx], 0x71
mov eax, 0xfffffc20
je 0x491fd2
test eax, eax
jne 0x4970a7
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 2]
mov dword [edx + 0xb0], esi
lea ecx, [ecx + eax*2]
movzx eax, word [ecx]
mov dword [esp + 0x14], ecx
mov ecx, eax
cmp eax, 0x71
je 0x491f56
mov esi, dword [esp + 0x14]
movzx eax, cx
cmp eax, 0x7c
je 0x492010
cmp eax, 0x71
jne case.default.0x4937bb
nop word [eax + eax]
movzx eax, word [esi + 2]
lea esi, [esi + eax*2]
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x71
je 0x492010
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x84]
mov dword [esp + 0x170], eax
mov dword [esp + 0x1c], ebx
cmp ecx, 0x72
je 0x492045
cmp ebx, edi
jne 0x496e42
add esi, 4
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x174]
jmp 0x491eeb
mov esi, dword [esp + 0x14]
mov eax, dword [edx + 0x80]
mov dword [esp + 0x16c], eax
movzx ecx, word [esi]
jmp 0x491ff9
xor ebp, ebp
mov dword [esp + 0x3c], ebp
jmp 0x492b88
cmp word [esi + 4], 0x70
movzx ebp, word [esi + 2]
jne 0x492186
movzx esi, word [esi + 6]
mov edi, dword [0x4e9ea4]
add esi, esi
test edi, edi
je 0x492177
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x174]
mov dword [esp + 0xb8], 2
movzx eax, word [eax + esi + 8]
mov dword [esp + 0xbc], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0xc0], eax
mov ecx, dword [edx + 0x78]
mov dword [esp + 0xc4], ecx
mov eax, dword [edx + 0x7c]
sub eax, ecx
sar eax, 1
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x16c]
sub eax, ecx
sar eax, 1
mov dword [esp + 0xcc], eax
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x14]
sar eax, 1
mov dword [esp + 0xd0], eax
movzx eax, word [ecx + esi + 0xa]
mov dword [esp + 0xe0], eax
movzx eax, word [ecx + esi + 0xe]
mov ecx, dword [esp + 0x174]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x170]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xd4], eax
mov eax, dword [ecx + 0x94]
mov dword [esp + 0xd8], eax
mov eax, dword [ecx + 0xac]
mov dword [esp + 0xdc], eax
mov eax, dword [ecx + 0xb4]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xb8]
push eax
call edi
add esp, 4
test eax, eax
jg case.default.0x4937bb
js 0x4970a7
mov eax, dword [esp + 0x14]
add eax, 0xc
add eax, esi
mov dword [esp + 0x14], eax
mov esi, eax
movzx ecx, word [esi + 4]
lea edx, [esi + 4]
cmp ecx, 0x89
je 0x4923ad
cmp ecx, 0x8a
je 0x4923ad
cmp ecx, 0x87
je 0x49221e
cmp ecx, 0x88
je 0x49221e
cmp ecx, 0x8b
jne 0x4921c9
movzx eax, word [esi + 2]
lea eax, [esi + eax*2]
jmp 0x492541
mov ecx, dword [esp + 0x174]
mov dword [ecx + 0x9c], 1
mov eax, dword [esp + 0x17c]
inc eax
push eax
push 0
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
cmp eax, 1
je 0x496ed3
test eax, eax
je 0x492216
cmp eax, 0xfffffc20
jne 0x4970a7
lea eax, [esi + ebp*2]
jmp 0x492541
movzx esi, word [esi + 6]
lea edx, [esi + esi]
cmp edx, dword [esp + 0x170]
jge 0x492242
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0xc]
cmp dword [eax + edx*4], 0
jge 0x492383
xor ebp, ebp
cmp ecx, 0x88
jne 0x492399
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov eax, dword [ecx + 0x28]
mov edi, eax
mov edx, dword [ecx + 0x20]
xor ecx, ecx
mov dword [esp + 0x34], eax
test edx, edx
jle 0x4922b7
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov ebp, eax
nop dword [eax]
movzx eax, word [edi]
cmp eax, esi
je 0x4922ab
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x24]
lea edi, [eax*2]
lea eax, [ebx + 1]
add edi, ebp
mov dword [esp + 0x30], eax
mov ecx, eax
mov ebp, edi
mov ebx, eax
cmp eax, edx
jl 0x492280
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
cmp ecx, edx
jge 0x492399
cmp edi, eax
mov esi, edi
mov eax, dword [esp + 0x174]
jbe 0x49231e
nop dword [eax]
mov eax, dword [eax + 0x24]
lea ecx, [edi + 2]
neg eax
lea esi, [esi + eax*2]
lea edx, [esi + 2]
call fcn.0049b060
test eax, eax
jne 0x492376
movzx eax, word [esi]
lea ecx, [eax + eax]
cmp ecx, dword [esp + 0x170]
jge 0x49230a
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0xc]
cmp dword [eax + ecx*4], 0
jge 0x492383
mov eax, dword [esp + 0x174]
xor edx, edx
mov dword [esp + 0x2c], edx
cmp esi, dword [eax + 0x28]
ja 0x4922d0
xor ebp, ebp
mov esi, dword [esp + 0x30]
inc esi
cmp esi, dword [eax + 0x20]
jge 0x492399
lea ecx, [edi + 2]
mov dword [esp + 0x30], ecx
nop
mov eax, dword [eax + 0x24]
lea edi, [edi + eax*2]
lea edx, [edi + 2]
call fcn.0049b060
test eax, eax
jne 0x492399
movzx eax, word [edi]
lea ecx, [eax + eax]
cmp ecx, dword [esp + 0x170]
jge 0x492361
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0xc]
cmp dword [eax + ecx*4], 0
jge 0x492383
mov eax, dword [esp + 0x174]
inc esi
xor ebp, ebp
cmp esi, dword [eax + 0x20]
jge 0x492399
mov ecx, dword [esp + 0x30]
jmp 0x492330
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x174]
jmp 0x49231e
mov ecx, dword [esp + 0x14]
mov eax, 2
mov ebp, 1
lea eax, [ecx + eax*2]
jmp 0x492537
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + 2]
lea eax, [ecx + eax*2]
jmp 0x492537
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0xa8]
test eax, eax
jne 0x4923ca
movzx eax, word [esi + 2]
lea eax, [esi + eax*2]
jmp 0x492548
movzx edx, word [esi + 6]
cmp edx, 0xffff
je 0x49252a
cmp edx, dword [eax + 4]
je 0x49252a
xor ebp, ebp
cmp ecx, 0x8a
jne 0x492524
mov eax, dword [esp + 0x174]
xor ecx, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebp
mov edi, dword [eax + 0x28]
mov dword [esp + 0x30], edi
cmp dword [eax + 0x20], ecx
jle 0x492453
mov dword [esp + 0x2c], ebp
mov esi, edi
mov ebp, ecx
movzx eax, word [edi]
cmp eax, edx
je 0x492443
mov eax, dword [esp + 0x174]
lea ebx, [ebp + 1]
mov dword [esp + 0x3c], ebx
mov ecx, ebx
mov ebp, ebx
mov eax, dword [eax + 0x24]
lea edi, [esi + eax*2]
mov eax, dword [esp + 0x174]
mov esi, edi
cmp ebx, dword [eax + 0x20]
jl 0x492416
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x174]
cmp ecx, dword [edx + 0x20]
jge 0x492524
cmp edi, dword [edx + 0x28]
jbe 0x4924bb
mov ebx, dword [esp + 0x2c]
lea ebp, [edi + 2]
mov esi, edi
mov edi, edx
mov eax, dword [edi + 0x24]
mov ecx, ebp
add eax, eax
sub esi, eax
lea edx, [esi + 2]
call fcn.0049b060
test eax, eax
jne 0x4924a0
mov eax, dword [edi + 0xa8]
xor ebx, ebx
movzx ecx, word [esi]
cmp ecx, dword [eax + 4]
sete bl
je 0x4924a0
cmp esi, dword [edi + 0x28]
ja 0x492473
mov edi, dword [esp + 0x30]
test ebx, ebx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1c]
jne 0x492512
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x174]
mov esi, dword [esp + 0x3c]
inc esi
cmp esi, dword [edx + 0x20]
jge 0x492520
mov ebx, dword [esp + 0x2c]
lea ebp, [edi + 2]
nop dword [eax]
mov eax, dword [edx + 0x24]
mov ecx, ebp
lea edx, [edi + eax*2]
mov edi, edx
add edx, 2
call fcn.0049b060
test eax, eax
jne 0x492506
mov edx, dword [esp + 0x174]
xor ebx, ebx
movzx ecx, word [edi]
mov eax, dword [edx + 0xa8]
cmp ecx, dword [eax + 4]
sete bl
je 0x492506
inc esi
cmp esi, dword [edx + 0x20]
jl 0x4924d0
mov dword [esp + 0x2c], ebx
test ebx, ebx
mov ebx, dword [esp + 0x1c]
je 0x49251c
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
jmp 0x49252f
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
movzx eax, word [esi + 2]
jmp 0x492534
mov ebp, 1
mov eax, 2
lea eax, [esi + eax*2]
mov ecx, eax
test ebp, ebp
jne 0x496f22
mov ebp, dword [esp + 0x174]
mov ecx, eax
cmp word [ecx], 0x71
je 0x496f29
lea esi, [eax + 4]
mov dword [esp + 0x14], esi
jmp 0x491eeb
movzx esi, word [esi + 2]
mov dword [ebp + 0x94], esi
lea edx, [esi + esi]
cmp edx, dword [ebp + 0x14]
jl 0x492589
mov esi, dword [esp + 0x14]
add esi, 4
mov dword [ebp + 0x40], 1
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, esi
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
mov ecx, ebx
sub ecx, dword [ebp + 0x78]
mov eax, dword [ebp + 0xc]
sar ecx, 1
mov dword [eax + edx*4 + 4], ecx
cmp edi, edx
jg 0x4925b3
lea edi, [edx + 2]
mov dword [esp + 0x170], edi
mov esi, dword [esp + 0x14]
add esi, 4
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp dword [ebp + 0x9c], 1
mov esi, dword [ebp + 0xb0]
jne 0x4925e3
mov dword [ebp + 0x9c], 0
mov edi, 1
jmp 0x4925e5
xor edi, edi
mov ecx, dword [esp + 0x14]
nop dword [eax]
mov eax, dword [esp + 0x17c]
lea edx, [ecx + 4]
inc eax
mov ecx, ebx
push eax
push 0
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
cmp eax, 1
je 0x49264f
cmp eax, 0xfffffc19
je 0x49264f
test eax, eax
je 0x492632
cmp eax, 0xfffffc20
jne 0x4970a7
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov dword [ebp + 0xb0], esi
cmp word [ecx], 0x71
mov dword [esp + 0x14], ecx
je 0x4925f0
jmp 0x49265c
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x16c], eax
mov esi, dword [esp + 0x14]
cmp word [esi], 0x72
je case.default.0x4937bb
test edi, edi
jne 0x49736c
movzx eax, word [esi + 2]
cmp word [esi + eax*2], 0x71
lea esi, [esi + eax*2]
je 0x492672
mov edi, dword [ebp + 0x90]
add esi, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x170], edi
jmp 0x491ef2
cmp dword [ebp + 0x9c], 1
mov esi, dword [ebp + 0xb0]
jne 0x4926b9
mov dword [ebp + 0x9c], 0
mov edi, 1
jmp 0x4926bb
xor edi, edi
mov ecx, dword [esp + 0x14]
nop
mov eax, dword [esp + 0x17c]
lea edx, [ecx + 4]
inc eax
mov ecx, ebx
push eax
push 0
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
mov dword [ebp + 0xb0], esi
cmp eax, 1
je case.default.0x4937bb
cmp eax, 0xfffffc19
je case.default.0x4937bb
cmp eax, 0xfffffc1e
je 0x49273f
cmp eax, 0xfffffc1d
je 0x49273f
cmp eax, 0xfffffc1a
je 0x49273f
test eax, eax
je 0x492725
cmp eax, 0xfffffc20
jne 0x4970a7
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 2]
cmp word [ecx + eax*2], 0x71
lea ecx, [ecx + eax*2]
mov dword [esp + 0x14], ecx
je 0x4926c0
mov esi, ecx
jmp 0x492751
mov esi, dword [esp + 0x14]
movzx eax, word [esi + 2]
cmp word [esi + eax*2], 0x71
lea esi, [esi + eax*2]
je 0x492743
test edi, edi
jne 0x49736c
add esi, 4
mov dword [esp + 0x14], esi
jmp 0x491eeb
movzx ecx, word [esi + 2]
test ecx, ecx
je 0x49279a
mov edx, dword [ebp + 0x78]
add ebx, 0xfffffffe
dec ecx
mov dword [esp + 0x1c], ebx
cmp ebx, edx
jb case.default.0x4937bb
mov ax, word [ebx]
and ax, word [esp + 0x4c]
cmp ax, word [esp + 0x50]
jne 0x492796
add ebx, 0xfffffffe
mov dword [esp + 0x1c], ebx
test ecx, ecx
jg 0x492770
cmp ebx, dword [ebp + 0x88]
jae 0x4927a8
mov dword [ebp + 0x88], ebx
add esi, 4
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov edi, dword [0x4e9ea4]
movzx esi, word [esi + 2]
test edi, edi
je 0x49289d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], 2
movzx eax, word [eax + esi*2 + 6]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [ebp + 0x78]
mov dword [esp + 0x8c], ecx
mov eax, dword [ebp + 0x7c]
sub eax, ecx
sar eax, 1
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x16c]
sub eax, ecx
sar eax, 1
mov dword [esp + 0x94], eax
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x14]
sar eax, 1
mov dword [esp + 0x98], eax
movzx eax, word [ecx + esi*2 + 8]
mov dword [esp + 0xa8], eax
movzx eax, word [ecx + esi*2 + 0xa]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x170]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x94]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0xac]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0xb4]
mov dword [esp + 0xb0], eax
lea eax, [ecx + 4]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x80]
push eax
call edi
add esp, 4
test eax, eax
jg case.default.0x4937bb
js 0x4970a7
mov eax, dword [esp + 0x14]
imul esi, esi, 2
add eax, 0xc
add eax, esi
mov dword [esp + 0x14], eax
jmp 0x491ee7
mov ecx, dword [ebp + 0x74]
movzx eax, word [esi + 2]
lea edi, [ecx + eax*2]
cmp edi, ecx
jne 0x4928c4
xor ecx, ecx
jmp 0x4928c8
movzx ecx, word [edi + 4]
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0x4928e6
cmp ecx, dword [eax + 4]
jne 0x4928e0
cmp ebx, dword [eax + 0x10]
je 0x4971ee
mov eax, dword [eax]
test eax, eax
jne 0x4928d2
mov dword [esp + 0x5c], ecx
add esi, 4
mov dword [esp + 0x68], ebx
mov eax, dword [ebp + 0xa8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
mov dword [ebp + 0xa8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x64], eax
cmp eax, 0x1e
jg 0x492922
lea ecx, [esp + 0xf0]
mov dword [esp + 0x60], ecx
jmp 0x492940
shl eax, 2
push eax
call fcn.0049efdd
mov ecx, eax
add esp, 4
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x497223
mov eax, dword [esp + 0x64]
shl eax, 2
push eax
push dword [ebp + 0xc]
push ecx
call fcn.0049cb00
movzx ebp, word [edi]
add esp, 0xc
mov ecx, dword [esp + 0x174]
nop word [eax + eax]
mov eax, 0x82
cmp bp, ax
jb 0x492974
mov dword [ecx + 0x9c], 2
mov eax, dword [esp + 0x17c]
inc eax
push eax
push dword [esp + 0x17c]
movzx eax, word [edi]
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
movzx eax, byte [eax + 0x4bfe60]
push dword [esp + 0x17c]
lea edx, [edi + eax*2]
call fcn.00491df0
mov ecx, dword [esp + 0x78]
add esp, 0x14
shl ecx, 2
mov esi, eax
mov eax, dword [esp + 0x174]
push ecx
push dword [esp + 0x64]
push dword [eax + 0xc]
call fcn.0049cb00
mov ecx, dword [esp + 0x180]
add esp, 0xc
mov eax, dword [esp + 0x58]
mov dword [ecx + 0xa8], eax
cmp esi, 1
je 0x492a47
cmp esi, 0xfffffc19
je 0x492a47
test esi, esi
je 0x4929f8
cmp esi, 0xfffffc20
jne 0x4971fe
lea eax, [esp + 0x58]
mov dword [ecx + 0xa8], eax
movzx eax, word [edi + 2]
cmp word [edi + eax*2], 0x71
lea edi, [edi + eax*2]
je 0x492960
mov eax, dword [esp + 0x58]
mov dword [ecx + 0xa8], eax
lea ecx, [esp + 0xf0]
mov eax, dword [esp + 0x60]
cmp eax, ecx
je case.default.0x4937bb
push eax
call fcn.0049efc2
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0xf0]
cmp eax, ecx
je 0x492a5f
push eax
call fcn.0049efc2
add esp, 4
mov ebp, dword [esp + 0x174]
mov ebx, dword [ebp + 0x84]
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x16c], eax
jmp 0x491ee7
movzx eax, word [esi + 2]
cmp word [esi + eax*2], 0x71
lea esi, [esi + eax*2]
je case.0x491f1e.113
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov eax, dword [esp + 0x17c]
add esi, 2
inc eax
mov edx, esi
push eax
push dword [esp + 0x17c]
mov ecx, ebx
push ebp
push edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov ecx, esi
nop dword [eax + eax]
movzx eax, word [esi + 2]
cmp word [ecx + eax*2], 0x71
lea esi, [ecx + eax*2]
mov ecx, esi
je 0x492ad0
add esi, 4
mov dword [esp + 0x14], esi
jmp 0x491ef2
lea edx, [esi + 2]
mov ecx, edx
movzx eax, word [edx + 2]
cmp word [ecx + eax*2], 0x71
lea edx, [ecx + eax*2]
mov ecx, edx
je 0x492af1
mov eax, dword [esp + 0x17c]
add edx, 4
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push ebp
push edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
lea eax, [esi + 2]
mov ecx, eax
movzx eax, word [eax + 2]
cmp word [ecx + eax*2], 0x71
lea eax, [ecx + eax*2]
mov ecx, eax
je 0x492b40
lea esi, [eax + 4]
mov dword [esp + 0x14], esi
jmp 0x491ef2
movzx edx, word [esi + 2]
add esi, 2
mov dword [esp + 0x14], esi
mov ebp, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ebp
cmp edx, 0x80
je 0x492b88
cmp edx, 0x85
jne 0x492d3e
movzx edi, word [esi + 4]
mov esi, dword [esp + 0x174]
lea eax, [edi + edi]
cmp eax, dword [esi + 0x14]
jge 0x492d38
mov ecx, dword [esi + 0xc]
xor edx, edx
mov ebp, dword [esp + 0x14]
sub ebp, dword [esi + 0x74]
sar ebp, 1
mov eax, dword [ecx + edi*8]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + edi*8 + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
sub eax, edi
mov dword [esp + 0x30], edx
mov eax, dword [ecx + eax*4]
mov ecx, esi
mov dword [esp + 0x28], eax
mov esi, dword [ecx + 0x94]
mov eax, dword [esp + 0x174]
mov edx, ebx
sub edx, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x10]
sub ecx, edi
sar edx, 1
cmp dword [esp + 0x20], 0x82
mov eax, dword [eax + 0xc]
mov dword [eax + ecx*4], edx
jb 0x492c08
mov eax, dword [esp + 0x174]
mov dword [eax + 0x9c], 2
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x17c]
inc eax
push eax
movzx eax, word [ecx]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
movzx eax, byte [eax + 0x4bfe60]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
lea edx, [ecx + eax*2]
mov ecx, ebx
call fcn.00491df0
add esp, 0x14
cmp eax, 0xfffffc1b
jne 0x492c84
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x30], 1
mov eax, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x84]
mov dword [esp + 0x170], eax
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x1c], ebx
lea eax, [eax + ebp*2]
mov dword [esp + 0x14], eax
jmp 0x492bce
cmp eax, 0xfffffc20
jne 0x492cbc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x174]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov eax, 0xfffffc20
cmp dword [edx + 0x80], ecx
mov edx, dword [esp + 0x14]
jae 0x492cc0
cmp word [edx], 0x71
je 0x492cc8
cmp word [ecx], 0x71
je 0x492cc8
jmp 0x492cc0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4970a7
mov ecx, dword [esp + 0x174]
mov dword [ecx + 0x94], esi
movzx eax, word [edx + 2]
cmp word [edx + eax*2], 0x71
lea edx, [edx + eax*2]
mov dword [esp + 0x14], edx
je 0x492bd4
mov edx, dword [esp + 0x30]
mov ebp, ecx
test edx, edx
jne 0x492d19
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov dword [eax + edi*8], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [eax + edi*8 + 4], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
sub ecx, edi
mov dword [eax + ecx*4], esi
cmp dword [esp + 0x3c], 0
jne 0x492d28
test edx, edx
je case.default.0x4937bb
mov esi, dword [esp + 0x14]
add esi, 4
mov dword [esp + 0x14], esi
jmp 0x491eeb
mov esi, dword [esp + 0x14]
xor ebp, ebp
mov ecx, dword [esp + 0x174]
xor edi, edi
sub esi, dword [ecx + 0x74]
sar esi, 1
nop dword [eax]
cmp edx, 0x82
jb 0x492d62
mov dword [ecx + 0x9c], 2
mov eax, dword [esp + 0x17c]
inc eax
push eax
push dword [esp + 0x17c]
push ecx
mov ecx, dword [esp + 0x20]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
movzx eax, word [ecx]
movzx eax, byte [eax + 0x4bfe60]
lea edx, [ecx + eax*2]
mov ecx, ebx
call fcn.00491df0
add esp, 0x14
cmp eax, 0xfffffc1b
jne 0x492dd9
mov ecx, dword [esp + 0x174]
mov edi, 1
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x84]
mov dword [esp + 0x170], eax
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x1c], ebx
lea eax, [eax + esi*2]
mov dword [esp + 0x14], eax
jmp 0x492d50
cmp eax, 0xfffffc20
jne 0x492e2a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x174]
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov eax, 0xfffffc20
cmp dword [edx + 0x80], ecx
mov edx, dword [esp + 0x14]
jae 0x492e2e
cmp word [edx], 0x71
je 0x492e36
cmp word [ecx], 0x71
jne 0x492e2e
movzx eax, word [edx + 2]
mov ecx, dword [esp + 0x174]
lea edx, [edx + eax*2]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
jmp 0x492d50
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4970a7
movzx eax, word [edx + 2]
cmp word [edx + eax*2], 0x71
lea edx, [edx + eax*2]
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
je 0x492d50
test edi, edi
jne 0x492e63
test ebp, ebp
je case.default.0x4937bb
mov esi, dword [esp + 0x14]
mov ebp, ecx
add esi, 4
mov dword [esp + 0x14], esi
jmp 0x491eeb
movzx eax, word [esi + 2]
mov ebp, esi
add eax, eax
mov edx, 0x82
sub ebp, eax
movzx eax, word [ebp]
mov ecx, eax
cmp ax, dx
jae 0x492e9e
cmp ecx, 0x7b
je 0x492e9e
mov dword [esp + 0x30], 0
jmp 0x492eb7
mov edx, dword [esp + 0x178]
lea eax, [edx + 4]
mov edx, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x178], edx
mov dword [esp + 0x30], eax
cmp ecx, 0x77
jb 0x492ec5
cmp ecx, 0x7a
jbe 0x49734c
cmp ecx, 0x7c
je 0x49734c
cmp ecx, 0x7f
je 0x492ef5
mov eax, 0x84
cmp cx, ax
je 0x492ef5
mov eax, 0x80
cmp cx, ax
je 0x492ef5
mov eax, 0x85
cmp cx, ax
jne 0x492fd0
mov edx, dword [esp + 0x174]
movzx edi, word [ebp + 4]
mov eax, dword [edx + 0xa8]
lea esi, [edi + edi]
test eax, eax
je 0x492f16
cmp dword [eax + 4], edi
je 0x497233
mov dword [edx + 0x94], edi
cmp esi, dword [edx + 0x14]
jl 0x492f63
mov edi, dword [esp + 0x170]
mov dword [edx + 0x40], 1
mov esi, dword [esp + 0x14]
movzx eax, word [esi]
cmp eax, 0x72
je 0x492f45
cmp ebx, dword [esp + 0x30]
jne 0x496f7f
add esi, 4
cmp word [ebp], 0x7b
mov dword [esp + 0x14], esi
je 0x497302
mov ebp, dword [esp + 0x174]
jmp 0x491ef2
mov ecx, dword [esp + 0x170]
cmp esi, ecx
jle 0x492f96
mov eax, dword [edx + 0xc]
lea ecx, [eax + ecx*4]
lea edx, [eax + esi*4]
cmp ecx, edx
jae 0x492f8f
mov eax, ecx
nop dword [eax]
mov dword [ecx], 0xffffffff
lea ecx, [eax + 4]
mov eax, ecx
cmp ecx, edx
jb 0x492f80
mov edx, dword [esp + 0x174]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
sub eax, edi
mov edi, dword [esp + 0x170]
mov eax, dword [ecx + eax*4]
mov dword [ecx + esi*4], eax
mov ecx, ebx
sub ecx, dword [edx + 0x78]
mov eax, dword [edx + 0xc]
sar ecx, 1
mov dword [eax + esi*4 + 4], ecx
cmp edi, esi
jg 0x492f2f
lea edi, [esi + 2]
mov dword [esp + 0x170], edi
jmp 0x492f2f
mov edx, dword [esp + 0x174]
jmp 0x492f33
cmp dword [ebp + 0x44], 0
je case.0x491f1e.1
cmp ebx, dword [ebp + 0x78]
je case.default.0x4937bb
cmp ebx, dword [ebp + 0x78]
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp dword [ebp + 0x44], 0
je 0x493014
cmp ebx, dword [ebp + 0x78]
je case.default.0x4937bb
mov ecx, dword [ebp + 0x78]
jmp 0x49301f
mov ecx, dword [ebp + 0x78]
cmp ebx, ecx
je case.0x4937bb.10
cmp ebx, dword [ebp + 0x7c]
je case.default.0x4937bb
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x493065
cmp ebx, ecx
jbe 0x49304f
push 1
lea eax, [ebp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0049b1c0
add esp, 0xc
test eax, eax
je 0x49304f
mov eax, 1
jmp 0x493051
xor eax, eax
test eax, eax
je case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov esi, dword [ebp + 0x1c]
lea edx, [esi + esi]
lea eax, [edx + ecx]
cmp ebx, eax
jb case.default.0x4937bb
mov ecx, ebx
sub ecx, edx
mov ax, word [ecx]
cmp ax, word [ebp + 0x2c]
jne case.default.0x4937bb
cmp esi, 1
je 0x49309a
mov ax, word [ecx + 2]
cmp ax, word [ebp + 0x2e]
jne case.default.0x4937bb
mov esi, dword [esp + 0x14]
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov ecx, dword [ebp + 0x98]
mov eax, dword [ebp + 0x78]
lea eax, [eax + ecx*2]
cmp ebx, eax
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
add esi, 2
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov ecx, dword [ebp + 0x7c]
cmp ebx, ecx
jae 0x493154
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x493114
push 1
lea eax, [ebp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0049b100
add esp, 0xc
test eax, eax
je case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov edx, dword [ebp + 0x1c]
lea eax, [edx + edx]
sub ecx, eax
cmp ebx, ecx
ja case.default.0x4937bb
mov ax, word [ebx]
cmp ax, word [ebp + 0x2c]
jne case.default.0x4937bb
cmp edx, 1
je case.0x4937bb.10
mov ax, word [ebx + 2]
cmp ax, word [ebp + 0x2e]
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp dword [ebp + 0x48], 0
jne case.default.0x4937bb
mov eax, dword [ebp + 0x8c]
test eax, eax
je case.0x4937bb.10
cmp ebx, dword [ebp + 0x88]
jbe case.0x4937bb.10
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp dword [ebp + 0x48], 0
jne case.default.0x4937bb
cmp dword [ebp + 0x58], 0
je case.0x491f1e.23
cmp ebx, dword [ebp + 0x7c]
jb case.default.0x4937bb
mov eax, dword [ebp + 0x8c]
test eax, eax
je case.0x4937bb.10
cmp ebx, dword [ebp + 0x88]
jbe case.0x4937bb.10
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov ecx, dword [ebp + 0x7c]
cmp ebx, ecx
jae 0x493254
mov edx, dword [ebp + 0x18]
lea esi, [ebp + 0x1c]
test edx, edx
je 0x493210
push 1
push esi
push ecx
mov ecx, ebx
call fcn.0049b100
add esp, 0xc
test eax, eax
je case.default.0x4937bb
jmp 0x49323f
mov edx, dword [esi]
lea eax, [edx + edx]
sub ecx, eax
cmp ebx, ecx
ja case.default.0x4937bb
mov ax, word [ebx]
cmp ax, word [ebp + 0x2c]
jne case.default.0x4937bb
cmp edx, 1
je 0x49323f
mov ax, word [ebx + 2]
cmp ax, word [ebp + 0x2e]
jne case.default.0x4937bb
mov ecx, dword [esi]
mov eax, dword [ebp + 0x7c]
add ecx, ecx
sub eax, ecx
cmp ebx, eax
jne case.default.0x4937bb
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x8c]
test eax, eax
je case.0x4937bb.10
cmp ebx, dword [ebp + 0x88]
jbe case.0x4937bb.10
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x78]
je 0x49334f
mov ax, word [ebx - 2]
lea edx, [ebx - 2]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x4932af
add edx, 0xfffffffe
cmp edx, dword [ebp + 0x88]
jae 0x4932bd
mov dword [ebp + 0x88], edx
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4932e8
movzx eax, word [edx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
cmp dword [ebp + 0x54], 0
je 0x493337
cmp ecx, 0x5f
jne 0x4932fb
lea esi, [ecx - 0x5e]
jmp 0x493351
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x493330
cmp eax, 3
jne 0x49334f
mov esi, 1
jmp 0x493351
cmp ecx, 0x100
jae 0x49334f
mov eax, dword [ebp + 0x3c]
test byte [ecx + eax], 0x10
je 0x49334f
mov esi, 1
jmp 0x493351
xor esi, esi
cmp ebx, dword [ebp + 0x7c]
jb 0x49339b
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x493378
cmp ebx, dword [ebp + 0x88]
jbe 0x493378
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
xor edx, edx
lea ecx, [edx + 1]
mov edi, dword [esp + 0x14]
movzx eax, word [edi]
add edi, 2
mov dword [esp + 0x14], edi
cmp eax, 5
je 0x493392
mov ecx, edx
xor ecx, esi
test ecx, ecx
jmp 0x491ee1
movzx ecx, word [ebx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4933c6
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
cmp dword [ebp + 0x54], 0
je 0x49341d
cmp ecx, 0x5f
jne 0x4933d8
lea edx, [ecx - 0x5e]
xor ecx, ecx
jmp 0x49337d
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x493411
cmp eax, 3
jne 0x493378
mov edx, 1
xor ecx, ecx
jmp 0x49337d
cmp ecx, 0x100
jae 0x493378
mov eax, dword [ebp + 0x3c]
test byte [ecx + eax], 0x10
je 0x493378
mov edx, 1
xor ecx, ecx
jmp 0x49337d
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x7c]
test edx, edx
je 0x493478
cmp ebx, ecx
jae 0x49346c
push 1
lea eax, [ebp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0049b100
add esp, 0xc
test eax, eax
je 0x49346c
mov eax, 1
jmp 0x49346e
xor eax, eax
test eax, eax
jne case.default.0x4937bb
jmp case.0x491f1e.13
mov edx, dword [ebp + 0x1c]
lea eax, [edx + edx]
sub ecx, eax
cmp ebx, ecx
ja case.0x491f1e.13
mov ax, word [ebx]
cmp ax, word [ebp + 0x2c]
jne case.0x491f1e.13
cmp edx, 1
je case.default.0x4937bb
mov ax, word [ebx + 2]
cmp ax, word [ebp + 0x2e]
je case.default.0x4937bb
mov eax, dword [ebp + 0x7c]
cmp ebx, eax
jae 0x49737c
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ebx, eax
jae 0x4934d6
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x4934d6
add ebx, 2
mov dword [esp + 0x1c], ebx
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
add ebx, 2
add esi, 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49353f
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0x100
jae case.0x4937bb.10
mov eax, dword [ebp + 0x3c]
test byte [ecx + eax], 4
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4935a5
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0xff
ja case.default.0x4937bb
mov eax, dword [ebp + 0x3c]
test byte [ecx + eax], 4
je case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49360b
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0x100
jae case.0x4937bb.10
mov eax, dword [ebp + 0x3c]
test byte [ecx + eax], 1
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x493671
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0xff
ja case.default.0x4937bb
mov eax, dword [ebp + 0x3c]
test byte [ecx + eax], 1
je case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4936d7
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0x100
jae case.0x4937bb.10
mov eax, dword [ebp + 0x3c]
test byte [ecx + eax], 0x10
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49373d
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0xff
ja case.default.0x4937bb
mov eax, dword [ebp + 0x3c]
test byte [ecx + eax], 0x10
je case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov edx, dword [ebp + 0x7c]
cmp ebx, edx
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4937a5
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0x85
ja 0x4937e7
je case.0x4937bb.11
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x4937bb
jmp dword [ecx*4 + 0x4996c8]
cmp ebx, edx
jae case.0x4937bb.10
cmp word [ebx], 0xa
jne case.0x4937bb.10
add ebx, 2
add esi, 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], esi
jmp 0x491ef2
sub ecx, 0x2028
je case.0x4937bb.11
sub ecx, 1
jne case.default.0x4937bb
cmp dword [ebp + 0x68], 0
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49384f
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0x2000
ja 0x4938ad
je case.default.0x4937bb
cmp ecx, 0xa0
ja 0x493889
je case.default.0x4937bb
cmp ecx, 9
je case.default.0x4937bb
cmp ecx, 0x20
je case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ecx, 0x1680
je case.default.0x4937bb
cmp ecx, 0x180e
je case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ecx, 0x3000
ja case.0x4938d5.8203
je case.default.0x4937bb
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.0x4938d5.8203
movzx eax, byte [ecx + 0x4996e0]
jmp dword [eax*4 + 0x4996d8]
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49391d
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0x2000
ja 0x49397b
je case.0x4938d5.8203
cmp ecx, 0xa0
ja 0x493957
je case.0x4938d5.8203
cmp ecx, 9
je case.0x4938d5.8203
cmp ecx, 0x20
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ecx, 0x1680
je case.0x4938d5.8203
cmp ecx, 0x180e
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ecx, 0x3000
ja case.default.0x4937bb
je case.0x4938d5.8203
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.default.0x4937bb
movzx eax, byte [ecx + 0x499748]
jmp dword [eax*4 + 0x499740]
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4939eb
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0x85
ja 0x493a0c
je case.default.0x4937bb
add ecx, 0xfffffff6
cmp ecx, 3
ja case.0x4938d5.8203
jmp dword [ecx*4 + 0x4997a8]
sub ecx, 0x2028
je case.default.0x4937bb
sub ecx, 1
je case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x493a6e
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ecx, 0x85
ja 0x493a8f
je case.0x4938d5.8203
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x4937bb
jmp dword [ecx*4 + 0x4997b8]
sub ecx, 0x2028
je case.0x4938d5.8203
sub ecx, 1
jne case.default.0x4937bb
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x493af1
movzx eax, word [ebx]
and edx, 0x3ff
shl edx, 0xa
and eax, 0x3ff
or edx, eax
add edx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx ecx, word [esi + 2]
cmp ecx, 8
ja case.default.0x493b1c
jmp dword [ecx*4 + 0x4997c8]
cmp dword [esp + 0x20], 0xf
jmp 0x493c64
mov al, byte [eax*8 + 0x4cbbc9]
cmp al, 9
je 0x493c53
cmp al, 5
je 0x493c53
cmp al, 8
je 0x493c53
xor ecx, ecx
jmp 0x493c58
movzx ecx, byte [eax*8 + 0x4cbbc9]
xor edx, edx
movzx eax, word [esi + 4]
cmp eax, dword [ecx*4 + 0x4bfde0]
setne dl
xor eax, eax
cmp dword [esp + 0x20], 0x10
sete al
cmp edx, eax
jmp 0x493c64
movzx eax, byte [eax*8 + 0x4cbbc9]
xor ecx, ecx
cmp word [esi + 4], ax
setne cl
xor eax, eax
cmp dword [esp + 0x20], 0x10
jmp 0x493c5f
movzx eax, byte [eax*8 + 0x4cbbc8]
xor ecx, ecx
cmp word [esi + 4], ax
setne cl
xor eax, eax
cmp dword [esp + 0x20], 0x10
jmp 0x493c5f
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x493c53
cmp eax, 3
je 0x493c53
xor ecx, ecx
jmp 0x493c58
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 6
je 0x493c53
cmp edx, 9
je 0x493c53
cmp edx, 0xa
je 0x493c53
cmp edx, 0xc
je 0x493c53
cmp edx, 0xd
je 0x493c53
xor ecx, ecx
jmp 0x493c58
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 6
je 0x493c53
cmp edx, 9
je 0x493c53
cmp edx, 0xa
je 0x493c53
cmp edx, 0xb
jmp 0x493c00
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x493c53
cmp eax, 3
je 0x493c53
cmp edx, 0x5f
je 0x493c53
xor ecx, ecx
jmp 0x493c58
mov ecx, 1
xor eax, eax
cmp dword [esp + 0x20], 0xf
sete al
cmp ecx, eax
je case.default.0x4937bb
add esi, 6
mov dword [esp + 0x14], esi
jmp 0x491ef2
mov esi, dword [ebp + 0x7c]
cmp ebx, esi
jae 0x49737c
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x493cb9
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
je case.default.0x4937bb
cmp ebx, esi
jae 0x493d6e
mov dword [esp + 0x1c], ebx
nop word [eax + eax]
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x493d35
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
jne 0x493d6a
lea ebx, [ebx + edx*2]
cmp ebx, esi
jb 0x493d00
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x14]
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x491ef2
movzx eax, word [esi + 2]
xor edx, edx
cmp dword [esp + 0x20], 0x6e
sete dl
add esi, 4
lea ecx, [eax + eax]
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], esi
cmp ecx, edi
jge 0x493db4
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + ecx*4]
test esi, esi
js 0x493db4
mov ebp, dword [eax + ecx*4 + 4]
sub ebp, esi
jmp 0x493dbe
mov ebp, dword [ebp + 0x50]
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
mov esi, eax
lea edi, [eax - 0x62]
cmp edi, 7
ja case.default.0x493dda
movzx eax, byte [edi + 0x4997f4]
jmp dword [eax*4 + 0x4997ec]
add dword [esp + 0x14], 2
mov eax, edi
movsx esi, byte [edi + 0x4bf658]
and eax, 1
mov dword [esp + 0x30], eax
movsx eax, byte [edi + 0x4bf650]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x493e39
mov dword [esp + 0x34], connect
jmp 0x493e39
mov edi, dword [esp + 0x14]
xor eax, eax
cmp esi, 0x69
sete al
movzx esi, word [edi + 2]
mov dword [esp + 0x30], eax
movzx eax, word [edi + 4]
test eax, eax
cmove eax, dword [esp + 0x54]
add edi, 6
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x170]
test ebp, ebp
je 0x491ed4
jns 0x493e52
test esi, esi
je 0x491ed4
cmp esi, 1
jl 0x493e8f
mov edi, 1
nop dword [eax]
push edx
push dword [esp + 0x178]
mov edx, ebx
push ebp
call fcn.00491c40
add esp, 0xc
test eax, eax
js 0x497a19
mov ecx, dword [esp + 0x3c]
lea ebx, [ebx + eax*2]
mov edx, dword [esp + 0x24]
inc edi
mov dword [esp + 0x1c], ebx
cmp edi, esi
jle 0x493e60
mov eax, dword [esp + 0x34]
cmp esi, eax
jne 0x4973ab
nop dword [eax + eax]
mov ebp, dword [esp + 0x174]
jmp 0x491ee7
mov esi, dword [esp + 0x174]
push edx
push esi
push ebp
mov edx, ebx
call fcn.00491c40
add esp, 0xc
test eax, eax
js 0x497471
lea ebx, [ebx + eax*2]
mov ebp, esi
mov dword [esp + 0x1c], ebx
jmp 0x491ee7
movzx eax, word [esi + 0x22]
lea ebp, [esi + 2]
add esi, 0x22
mov dword [esp + 0x40], ebp
mov dword [esp + 0x14], esi
mov edx, eax
lea ecx, [eax - 0x62]
cmp ecx, 7
ja case.default.0x493efd
movzx eax, byte [ecx + 0x499804]
jmp dword [eax*4 + 0x4997fc]
movsx eax, byte [ecx + 0x4bf650]
mov edx, ecx
movsx edi, byte [ecx + 0x4bf658]
and edx, 1
add esi, 2
mov dword [esp + 0x18], edx
test eax, eax
mov ecx, closesocket
cmove eax, ecx
jmp 0x493f4b
movzx edi, word [esi + 2]
xor eax, eax
cmp edx, 0x69
mov ecx, closesocket
sete al
mov dword [esp + 0x18], eax
movzx eax, word [esi + 4]
test eax, eax
cmove eax, ecx
add esi, 6
mov dword [esp + 0x14], esi
mov esi, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edi
cmp edi, esi
jl 0x493ffa
jmp 0x493f79
mov edi, 1
mov dword [esp + 0x24], 1
mov dword [esp + 0x34], edi
mov esi, edi
mov ecx, dword [esp + 0x174]
cmp ebx, dword [ecx + 0x7c]
jae 0x497c7f
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x493fc1
movzx eax, word [ebx]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
add ebx, 2
or edx, eax
mov dword [esp + 0x1c], ebx
add edx, 0x10000
cmp edx, 0xff
jbe 0x493fd6
cmp dword [esp + 0x20], 0x6a
je case.default.0x4937bb
jmp 0x493ff5
mov ecx, edx
mov eax, 1
and ecx, 7
shr edx, 3
shl eax, cl
test byte [edx + ebp], al
je case.default.0x4937bb
mov ecx, dword [esp + 0x174]
inc esi
cmp esi, edi
jle 0x493f80
mov eax, dword [esp + 0x24]
cmp edi, eax
jne 0x497553
mov ebp, dword [esp + 0x174]
jmp 0x491ee7
movzx eax, word [esi + 2]
lea ebp, [esi + 4]
mov dword [esp + 0x40], ebp
lea esi, [esi + eax*2]
movzx eax, word [esi]
mov dword [esp + 0x14], esi
mov edx, eax
lea ecx, [eax - 0x62]
cmp ecx, 7
ja case.default.0x49403c
movzx eax, byte [ecx + 0x499814]
jmp dword [eax*4 + 0x49980c]
movsx eax, byte [ecx + 0x4bf650]
mov edx, ecx
movsx edi, byte [ecx + 0x4bf658]
add esi, 2
and edx, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
test eax, eax
jne 0x49409c
mov dword [esp + 0x24], connect
jmp 0x49409c
movzx edi, word [esi + 2]
xor eax, eax
cmp edx, 0x69
mov ecx, closesocket
sete al
mov dword [esp + 0x18], eax
movzx eax, word [esi + 4]
test eax, eax
cmove eax, ecx
add esi, 6
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
mov esi, 1
cmp edi, esi
jl 0x494121
jmp 0x4940c0
mov edi, 1
mov dword [esp + 0x24], 1
mov esi, edi
nop word [eax + eax]
mov ecx, dword [esp + 0x174]
cmp ebx, dword [ecx + 0x7c]
jae 0x497c7f
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x494108
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
push 1
mov edx, ebp
call fcn.0049b2b0
add esp, 4
test eax, eax
je case.default.0x4937bb
inc esi
cmp esi, edi
jle 0x4940c0
mov eax, dword [esp + 0x24]
cmp edi, eax
jne 0x4977d5
mov ebp, dword [esp + 0x174]
jmp 0x491ee7
mov ax, word [esi + 2]
add esi, 2
mov ecx, 0xfc00
mov dword [esp + 0x14], esi
and ax, cx
xor edx, edx
mov ecx, 0xd800
cmp ax, cx
mov ecx, dword [ebp + 0x7c]
mov eax, ecx
sete dl
sub eax, ebx
inc edx
sar eax, 1
cmp edx, eax
jg 0x4979fe
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
add esi, 2
dec edx
mov dword [esp + 0x14], esi
movzx ecx, word [eax]
mov ax, word [ebx]
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp cx, ax
jne case.default.0x4937bb
test edx, edx
jg 0x494170
jmp 0x491ef2
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
movzx ecx, word [esi + 2]
lea ebp, [esi + 2]
mov eax, ecx
mov dword [esp + 0x34], 1
and eax, 0xfc00
lea esi, [ebp + 2]
mov dword [esp + 0x14], esi
cmp eax, 0xd800
jne 0x4941e9
movzx eax, word [esi]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov dword [esp + 0x34], 2
add ecx, 0x10000
movzx eax, word [ebx]
mov edx, eax
cmp ecx, 0x80
jae 0x494229
mov ebp, 0xff
cmp ax, bp
mov ebp, dword [esp + 0x174]
ja 0x49420e
mov eax, dword [ebp + 0x34]
movzx edx, byte [edx + eax]
mov eax, dword [ebp + 0x34]
movzx eax, byte [ecx + eax]
cmp eax, edx
jne case.default.0x4937bb
add ebx, 2
mov dword [esp + 0x1c], ebx
jmp 0x491ef2
mov eax, edx
mov dword [esp + 0x30], ecx
add ebx, 2
and eax, 0xfc00
mov dword [esp + 0x1c], ebx
mov esi, ecx
mov edi, ecx
cmp eax, 0xd800
jne 0x494274
movzx eax, word [ebx]
and edx, 0x3ff
mov esi, dword [esp + 0x34]
and eax, 0x3ff
shl edx, 0xa
add ebx, 2
or edx, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], ebx
add edx, 0x10000
mov dword [esp + 0x30], ecx
mov esi, ecx
mov eax, dword [esp + 0x34]
lea eax, [eax*2]
add eax, ebp
mov ebp, dword [esp + 0x174]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x30], edx
je 0x491ee7
shr esi, 7
and edi, 0x7f
movzx eax, byte [esi + 0x4ccca8]
shl eax, 7
add eax, edi
movzx eax, word [eax*2 + 0x4c02c8]
mov eax, dword [eax*8 + 0x4cbbcc]
add eax, ecx
cmp edx, eax
jmp 0x491ee1
movzx ebp, word [esi + 2]
add esi, 4
mov edi, ebp
jmp 0x494374
mov dword [esp + 0x2c], 1
movzx ebp, word [esi + 2]
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebp
cmp ecx, 0x28
je 0x4942f2
mov dword [esp + 0x18], edi
cmp ecx, 0x35
jne 0x4942fa
mov dword [esp + 0x18], 1
add esi, 4
jmp 0x49437c
xor edi, edi
mov dword [esp + 0x2c], 1
mov ebp, closesocket
add esi, 2
jmp 0x494374
mov dword [esp + 0x2c], 1
mov edi, 1
mov ebp, closesocket
add esi, 2
jmp 0x494374
xor edi, edi
mov dword [esp + 0x2c], 1
add esi, 2
lea ebp, [edi + 1]
jmp 0x494374
cmp edx, 0x2e
mov ecx, edx
sbb eax, eax
add esi, 2
and eax, 0xfffffff3
add eax, 0x2e
sub ecx, eax
mov eax, ecx
mov dword [esp + 0x18], ecx
and dword [esp + 0x18], 1
movsx ebp, byte [eax + 0x4bf650]
movsx edi, byte [eax + 0x4bf658]
test ebp, ebp
mov eax, closesocket
cmove ebp, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebp
mov ecx, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
movzx esi, word [esi]
mov eax, esi
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4946ca
mov eax, ecx
and esi, 0x3ff
shl esi, 0xa
movzx edx, word [eax + 2]
lea eax, [ecx + 4]
and edx, 0x3ff
mov dword [esp + 0x14], eax
or edx, esi
mov esi, 2
add edx, 0x10000
mov dword [esp + 0x34], esi
cmp dword [esp + 0x20], 0x2e
jb 0x494409
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
mov ecx, dword [eax*8 + 0x4cbbcc]
add ecx, edx
cmp ecx, edx
je 0x494409
lea edx, [esp + 0x74]
call fcn.0049b0a0
mov dword [esp + 0x3c], eax
jmp 0x494411
mov dword [esp + 0x3c], 0
mov ebp, 1
cmp edi, ebp
jl 0x494542
mov eax, dword [esp + 0x174]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0x7c]
mov dword [esp + 0x20], ecx
lea eax, [ecx - 4]
mov dword [esp + 0x40], eax
nop
cmp ebx, eax
ja 0x4944a0
mov edx, dword [esp + 0x30]
add esi, esi
mov ecx, ebx
sub esi, 4
jb 0x494462
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x494467
add ecx, 4
add edx, 4
sub esi, 4
jae 0x494451
cmp esi, 0xfffffffc
je 0x494494
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x49449c
cmp esi, 0xfffffffd
je 0x494494
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x49449c
cmp esi, 0xfffffffe
je 0x494494
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x49449c
cmp esi, 0xffffffff
je 0x494494
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x49449c
add ebx, 4
jmp 0x494529
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
test edx, edx
jle 0x497a19
lea edi, [edx + edx]
mov eax, ecx
sub eax, edi
cmp ebx, eax
ja 0x497a19
lea esi, [edx + edx]
mov ecx, ebx
lea edx, [esp + 0x74]
sub esi, 4
jb 0x4944e1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4944e6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4944d0
cmp esi, 0xfffffffc
je 0x494523
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x497a19
cmp esi, 0xfffffffd
je 0x494523
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x497a19
cmp esi, 0xfffffffe
je 0x494523
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x497a19
cmp esi, 0xffffffff
je 0x494523
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x497a19
add ebx, edi
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
inc ebp
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
cmp ebp, edi
jle 0x494440
mov eax, dword [esp + 0x24]
cmp edi, eax
je 0x493ea0
cmp dword [esp + 0x18], 0
jne 0x497ae4
mov ebp, ebx
mov dword [esp + 0x18], ebp
cmp edi, eax
jge 0x494678
mov eax, dword [esp + 0x174]
mov ecx, dword [eax + 0x7c]
lea eax, [esi + esi]
mov ebp, ecx
mov dword [esp + 0x20], ecx
sub ebp, eax
nop dword [eax]
cmp ebx, ebp
ja 0x4945e4
mov edx, dword [esp + 0x30]
add esi, esi
mov ecx, ebx
sub esi, 4
jb 0x4945a2
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4945a7
add ecx, 4
add edx, 4
sub esi, 4
jae 0x494591
cmp esi, 0xfffffffc
je 0x4945d4
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4945e0
cmp esi, 0xfffffffd
je 0x4945d4
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4945e0
cmp esi, 0xfffffffe
je 0x4945d4
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4945e0
cmp esi, 0xffffffff
je 0x4945d4
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4945e0
mov esi, dword [esp + 0x34]
lea ebx, [ebx + esi*2]
jmp 0x49465d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
test edx, edx
jle 0x494696
lea edi, [edx + edx]
mov eax, ecx
sub eax, edi
cmp ebx, eax
ja 0x494696
lea esi, [edx + edx]
mov ecx, ebx
lea edx, [esp + 0x74]
sub esi, 4
jb 0x494621
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x494626
add ecx, 4
add edx, 4
sub esi, 4
jae 0x494610
cmp esi, 0xfffffffc
je 0x494653
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x494696
cmp esi, 0xfffffffd
je 0x494653
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x494696
cmp esi, 0xfffffffe
je 0x494653
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x494696
cmp esi, 0xffffffff
je 0x494653
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x494696
mov esi, dword [esp + 0x34]
add ebx, edi
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
inc edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edi
cmp edi, dword [esp + 0x24]
jl 0x494580
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x174]
cmp dword [esp + 0x2c], 0
je 0x497a4f
mov ebp, dword [esp + 0x174]
jmp 0x491ee7
mov esi, dword [esp + 0x174]
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4946c4
cmp ebx, dword [esi + 0x7c]
jb 0x4946c4
cmp ebx, dword [esi + 0x88]
jbe 0x4946c4
mov dword [esi + 0x64], 1
cmp eax, 1
jg 0x498f9a
mov ebp, dword [esp + 0x18]
jmp 0x49467f
add ecx, 2
mov dword [esp + 0x14], ecx
cmp edx, 0x2e
jb 0x494836
mov edx, dword [esp + 0x174]
cmp esi, 0x7f
jbe 0x49470f
mov eax, esi
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, esi
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
mov ebp, dword [eax*8 + 0x4cbbcc]
add ebp, esi
jmp 0x494716
mov eax, dword [edx + 0x38]
movzx ebp, byte [eax + esi]
mov ecx, 1
cmp edi, ecx
jl 0x49475b
mov edx, dword [edx + 0x7c]
mov eax, dword [esp + 0x14]
nop word [eax + eax]
mov dword [esp + 0x14], eax
cmp ebx, edx
jae 0x497c78
movzx eax, word [ebx]
cmp esi, eax
je 0x49474b
cmp ebp, eax
jne case.default.0x4937bb
mov eax, dword [esp + 0x14]
add ebx, 2
inc ecx
mov dword [esp + 0x1c], ebx
cmp ecx, edi
jle 0x494730
mov eax, dword [esp + 0x24]
cmp edi, eax
je 0x493ea0
cmp dword [esp + 0x18], 0
jne 0x497c92
mov edx, dword [esp + 0x28]
mov edi, ebx
cmp edx, eax
jge 0x4947a7
mov eax, dword [esp + 0x174]
mov ecx, dword [eax + 0x7c]
cmp ebx, ecx
jae 0x494808
movzx eax, word [ebx]
cmp esi, eax
je 0x494799
cmp ebp, eax
jne 0x4947a7
add ebx, 2
inc edx
mov dword [esp + 0x1c], ebx
cmp edx, dword [esp + 0x24]
jl 0x494786
mov ebp, dword [esp + 0x174]
cmp dword [esp + 0x2c], 0
jne 0x491ee7
cmp ebx, edi
jb case.default.0x4937bb
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
sub ebx, 2
test eax, eax
jne 0x4970a7
cmp ebx, edi
jae 0x4947c1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x4947ae
cmp ebx, dword [ebp + 0x88]
jbe 0x4947ae
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x4947ae
cmp edi, 1
jl 0x494873
mov eax, dword [esp + 0x174]
mov ecx, 1
mov edx, dword [eax + 0x7c]
nop word [eax + eax]
cmp ebx, edx
jae 0x497c78
movzx eax, word [ebx]
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp esi, eax
jne case.default.0x4937bb
inc ecx
cmp ecx, edi
jle 0x494850
mov ecx, dword [esp + 0x14]
cmp edi, ebp
je 0x493ea0
cmp dword [esp + 0x18], 0
jne 0x497d3f
mov edx, dword [esp + 0x28]
mov edi, ebx
cmp edx, ebp
jge 0x4948b7
mov eax, dword [esp + 0x174]
mov ecx, dword [eax + 0x7c]
nop word [eax + eax]
cmp ebx, ecx
jae 0x494918
movzx eax, word [ebx]
cmp esi, eax
jne 0x4948b7
add ebx, 2
inc edx
mov dword [esp + 0x1c], ebx
cmp edx, ebp
jl 0x4948a0
mov ebp, dword [esp + 0x174]
cmp dword [esp + 0x2c], 0
jne 0x491ee7
cmp ebx, edi
jb case.default.0x4937bb
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
sub ebx, 2
test eax, eax
jne 0x4970a7
cmp ebx, edi
jae 0x4948d1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x4948be
cmp ebx, dword [ebp + 0x88]
jbe 0x4948be
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x4948be
cmp ebx, dword [ebp + 0x7c]
jae 0x49737c
lea ecx, [esi + 2]
movzx esi, word [ebx]
mov eax, esi
add ebx, 2
and eax, 0xfc00
mov dword [esp + 0x1c], ebx
cmp eax, 0xd800
jne 0x49498a
movzx eax, word [ebx]
and esi, 0x3ff
shl esi, 0xa
and eax, 0x3ff
or esi, eax
add esi, 0x10000
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x20], 0x20
lea eax, [ecx + 2]
movzx edx, word [ecx]
mov dword [esp + 0x14], eax
jne 0x4949e9
cmp edx, 0x7f
jbe 0x4949c9
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
mov eax, dword [eax*8 + 0x4cbbcc]
add eax, edx
jmp 0x4949d0
mov eax, dword [ebp + 0x38]
movzx eax, byte [eax + edx]
cmp edx, esi
je case.default.0x4937bb
cmp eax, esi
je case.default.0x4937bb
mov esi, dword [esp + 0x14]
jmp 0x491ef2
mov dword [esp + 0x14], eax
cmp edx, esi
je case.default.0x4937bb
mov esi, eax
jmp 0x491ef2
movzx eax, word [esi + 2]
lea ecx, [esi + 4]
mov dword [esp + 0x28], eax
mov edi, eax
jmp 0x494ac3
movzx eax, word [esi + 2]
xor edi, edi
mov dword [esp + 0x28], eax
cmp ecx, 0x42
je 0x494a26
mov dword [esp + 0x18], edi
cmp ecx, 0x4f
jne 0x494a2e
mov dword [esp + 0x18], 1
lea ecx, [esi + 4]
jmp 0x494ac3
mov dword [esp + 0x2c], 1
lea ecx, [esi + 2]
xor edi, edi
jmp 0x494abb
mov dword [esp + 0x2c], 1
lea ecx, [esi + 2]
mov edi, 1
jmp 0x494abb
mov dword [esp + 0x2c], 1
lea ecx, [esi + 2]
xor edi, edi
mov dword [esp + 0x28], 1
jmp 0x494ac3
movzx eax, word [esi + 2]
lea ecx, [esi + 4]
mov dword [esp + 0x2c], 1
xor edi, edi
mov dword [esp + 0x28], eax
jmp 0x494ac3
cmp edx, 0x48
mov ecx, edx
sbb eax, eax
and eax, 0xfffffff3
add eax, 0x48
sub ecx, eax
mov eax, ecx
mov dword [esp + 0x18], ecx
and dword [esp + 0x18], 1
lea ecx, [esi + 2]
movsx edi, byte [eax + 0x4bf658]
movsx eax, byte [eax + 0x4bf650]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x494ac3
mov dword [esp + 0x28], connect
movzx ebp, word [ecx]
lea esi, [ecx + 2]
cmp edx, 0x48
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], esi
mov edx, 1
jb 0x494c5d
cmp ebp, 0x7f
jbe 0x494b16
mov eax, ebp
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, ebp
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
mov ecx, dword [esp + 0x174]
mov ebp, dword [eax*8 + 0x4cbbcc]
add ebp, dword [esp + 0x34]
jmp 0x494b24
mov ecx, dword [esp + 0x174]
mov eax, dword [ecx + 0x38]
movzx ebp, byte [eax + ebp]
mov dword [esp + 0x30], ebp
cmp edi, 1
jl 0x494b8b
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x494b70
movzx eax, word [ebx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
add ebx, 2
or ecx, eax
mov dword [esp + 0x1c], ebx
add ecx, 0x10000
cmp dword [esp + 0x34], ecx
je case.default.0x4937bb
cmp ebp, ecx
je case.default.0x4937bb
inc edx
cmp edx, edi
jle 0x494b30
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp edi, eax
je 0x49204c
cmp dword [esp + 0x18], 0
jne 0x497e95
mov ecx, dword [esp + 0x174]
mov ebp, ebx
cmp edi, eax
jge 0x494c10
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x494c32
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x494bef
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp dword [esp + 0x34], ecx
je 0x494c09
cmp dword [esp + 0x30], ecx
je 0x494c09
inc edi
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp edi, dword [esp + 0x28]
jl 0x494bb2
mov ecx, dword [esp + 0x174]
cmp dword [esp + 0x2c], 0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x170]
je 0x497e09
mov ebp, dword [esp + 0x174]
jmp 0x491ef2
mov ecx, dword [esp + 0x174]
mov eax, dword [ecx + 0x8c]
test eax, eax
je 0x494c10
cmp ebx, dword [ecx + 0x88]
jbe 0x494c10
mov dword [ecx + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x494c10
cmp edi, 1
jl 0x494cc1
mov ecx, dword [esp + 0x174]
mov esi, dword [ecx + 0x7c]
nop dword [eax]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x494cb0
movzx eax, word [ebx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
add ebx, 2
or ecx, eax
mov dword [esp + 0x1c], ebx
add ecx, 0x10000
cmp ebp, ecx
je case.default.0x4937bb
inc edx
cmp edx, edi
jle 0x494c70
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp edi, eax
je 0x49204c
cmp dword [esp + 0x18], 0
jne 0x497fff
mov ecx, dword [esp + 0x174]
mov ebp, ebx
cmp edi, eax
jge 0x494d40
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x494d62
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x494d25
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp dword [esp + 0x34], ecx
je 0x494d39
inc edi
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp edi, dword [esp + 0x28]
jl 0x494ce8
mov ecx, dword [esp + 0x174]
cmp dword [esp + 0x2c], 0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x170]
je 0x497f6f
mov ebp, dword [esp + 0x174]
jmp 0x491ef2
mov ecx, dword [esp + 0x174]
mov eax, dword [ecx + 0x8c]
test eax, eax
je 0x494d40
cmp ebx, dword [ecx + 0x88]
jbe 0x494d40
mov dword [ecx + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x494d40
movzx eax, word [esi + 2]
lea ecx, [esi + 4]
mov ebp, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], 1
jmp 0x494e60
movzx eax, word [esi + 2]
xor ebp, ebp
mov dword [esp + 0x20], eax
xor eax, eax
cmp ecx, 0x5c
mov dword [esp + 0x24], ebp
lea ecx, [esi + 4]
sete al
mov dword [esp + 0x18], eax
jmp 0x494e60
xor ebp, ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], ebp
lea ecx, [esi + 2]
jmp 0x494e58
mov ebp, 1
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], ebp
lea ecx, [esi + 2]
jmp 0x494e58
xor ebp, ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], ebp
lea ecx, [esi + 2]
mov dword [esp + 0x20], 1
jmp 0x494e60
movzx eax, word [esi + 2]
lea ecx, [esi + 4]
xor ebp, ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], eax
jmp 0x494e60
add edx, 0xffffffab
lea ecx, [esi + 2]
mov eax, edx
and edx, 1
mov dword [esp + 0x18], edx
movsx ebp, byte [eax + 0x4bf658]
movsx eax, byte [eax + 0x4bf650]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], eax
test eax, eax
jne 0x494e60
mov dword [esp + 0x20], connect
movzx eax, word [ecx]
lea esi, [ecx + 2]
mov edx, eax
mov dword [esp + 0x14], esi
mov edi, eax
mov dword [esp + 0x28], edi
cmp edx, 0x10
je 0x494e85
cmp edx, 0xf
je 0x494e85
or eax, 0xffffffff
mov dword [esp + 0x30], eax
jmp 0x494eab
movzx ecx, word [esi]
xor eax, eax
cmp edx, 0xf
mov dword [esp + 0x30], ecx
sete al
mov dword [esp + 0x38], eax
lea eax, [esi + 2]
movzx esi, word [eax]
add eax, 2
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esp + 0x44], esi
test ebp, ebp
jle 0x495beb
test eax, eax
js 0x495431
cmp eax, 8
ja case.default.0x493b1c
jmp dword [eax*4 + 0x49981c]
cmp dword [esp + 0x38], 0
jne case.default.0x4937bb
mov eax, dword [esp + 0x174]
mov edx, 1
mov esi, dword [eax + 0x7c]
mov ecx, ebx
cmp ebx, esi
jae 0x497c78
mov ax, word [ebx]
mov ebx, 0xfc00
and ax, bx
xor ebx, ebx
cmp ax, word [esp + 0x48]
sete bl
inc edx
lea ebx, [ebx*2 + 2]
add ebx, ecx
cmp edx, ebp
jle 0x494ee5
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
nop word [eax + eax]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x494f68
movzx eax, word [ebx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
mov al, byte [eax*8 + 0x4cbbc9]
cmp al, 9
je 0x494f9b
cmp al, 5
je 0x494f9b
cmp al, 8
je 0x494f9b
xor eax, eax
jmp 0x494fa0
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x494f30
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x494fff
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov edi, dword [esp + 0x44]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], edi
mov edi, dword [esp + 0x28]
sete cl
cmp ecx, dword [esp + 0x38]
je case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x494fc7
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
nop
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495098
movzx eax, word [ebx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp eax, dword [esp + 0x44]
sete cl
cmp ecx, dword [esp + 0x38]
je case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x495060
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
nop dword [eax]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495128
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc8]
cmp eax, dword [esp + 0x44]
sete cl
cmp ecx, dword [esp + 0x38]
je case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x4950f0
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
nop dword [eax]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4951b8
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x4951f1
cmp eax, 3
je 0x4951f1
xor eax, eax
jmp 0x4951f6
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x495180
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov esi, 1
mov edi, dword [ecx + 0x7c]
cmp ebx, edi
jae 0x497c78
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495259
movzx eax, word [ebx]
and edx, 0x3ff
shl edx, 0xa
and eax, 0x3ff
or edx, eax
add edx, 0x10000
add ebx, 2
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 6
je 0x4952a1
cmp edx, 9
je 0x4952a1
cmp edx, 0xa
je 0x4952a1
cmp edx, 0xc
je 0x4952a1
cmp edx, 0xd
je 0x4952a1
xor eax, eax
jmp 0x4952a6
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
inc esi
cmp esi, ebp
jle 0x495221
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov esi, 1
mov edi, dword [ecx + 0x7c]
cmp ebx, edi
jae 0x497c78
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49530d
movzx eax, word [ebx]
and edx, 0x3ff
shl edx, 0xa
and eax, 0x3ff
or edx, eax
add edx, 0x10000
add ebx, 2
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 6
je 0x49535a
cmp edx, 9
je 0x49535a
cmp edx, 0xa
je 0x49535a
cmp edx, 0xb
je 0x49535a
cmp edx, 0xc
je 0x49535a
cmp edx, 0xd
je 0x49535a
xor eax, eax
jmp 0x49535f
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
inc esi
cmp esi, ebp
jle 0x4952d5
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov esi, 1
mov edi, dword [ecx + 0x7c]
nop
cmp ebx, edi
jae 0x497c78
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
mov dword [esp + 0x1c], ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4953d0
movzx eax, word [ebx]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
add ebx, 2
or edx, eax
mov dword [esp + 0x1c], ebx
add edx, 0x10000
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x495410
cmp eax, 3
je 0x495410
cmp edx, 0x5f
je 0x495410
xor eax, eax
jmp 0x495415
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
inc esi
cmp esi, ebp
jle 0x495390
mov edi, dword [esp + 0x28]
jmp 0x495beb
cmp edx, 0x16
jne 0x49554f
mov esi, dword [esp + 0x174]
lea edi, [edx - 0x15]
mov ebp, dword [esi + 0x7c]
cmp ebx, ebp
jae 0x4980d5
movzx ecx, word [ebx]
lea edx, [ebx + 2]
mov eax, ecx
mov ebx, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495481
movzx eax, word [edx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
je case.default.0x4937bb
mov esi, dword [esi + 0x7c]
cmp ebx, esi
jae 0x49552a
nop
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4954f5
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
jne 0x49552a
lea ebx, [ebx + edx*2]
cmp ebx, esi
jb 0x4954c0
mov esi, dword [esp + 0x174]
inc edi
cmp edi, dword [esp + 0x24]
jle 0x495447
mov ebp, dword [esp + 0x24]
mov ecx, esi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
jmp 0x495bf2
lea eax, [edi - 6]
cmp eax, 0xf
ja case.default.0x493b1c
jmp dword [eax*4 + 0x499840]
mov ecx, dword [esp + 0x174]
mov esi, 1
nop
mov ecx, dword [ecx + 0x7c]
cmp ebx, ecx
jae 0x497c78
mov eax, dword [esp + 0x174]
mov edx, dword [eax + 0x18]
add eax, 0x1c
test edx, edx
je 0x4955d7
push 1
push eax
push ecx
mov ecx, ebx
call fcn.0049b100
add esp, 0xc
test eax, eax
jne case.default.0x4937bb
mov ecx, dword [esp + 0x174]
add ebx, 2
cmp ebx, dword [ecx + 0x7c]
jae 0x4955c9
mov ax, word [ebx]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x4955c9
add ebx, 2
inc esi
cmp esi, ebp
jle 0x495570
mov dword [esp + 0x1c], ebx
jmp 0x495bf2
mov edx, dword [eax]
lea eax, [edx + edx]
sub ecx, eax
cmp ebx, ecx
ja 0x4955a2
mov ecx, dword [esp + 0x174]
mov ax, word [ebx]
cmp ax, word [ecx + 0x2c]
jne 0x4955a9
cmp edx, 1
je case.default.0x4937bb
mov ax, word [ebx + 2]
cmp ax, word [ecx + 0x2e]
je case.default.0x4937bb
jmp 0x4955a9
mov esi, dword [esp + 0x174]
mov ecx, 1
mov edx, dword [esi + 0x7c]
nop word [eax + eax]
cmp ebx, edx
jae 0x4980d5
add ebx, 2
cmp ebx, edx
jae 0x495641
mov ax, word [ebx]
and ax, word [esp + 0x4c]
cmp ax, word [esp + 0x50]
jne 0x495641
add ebx, 2
inc ecx
cmp ecx, ebp
jle 0x495620
mov dword [esp + 0x1c], ebx
mov ecx, esi
jmp 0x495bf2
mov eax, dword [esp + 0x174]
lea ecx, [ebp*2]
mov eax, dword [eax + 0x7c]
sub eax, ecx
cmp ebx, eax
ja case.default.0x4937bb
add ebx, ecx
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov esi, 1
mov edi, dword [ecx + 0x7c]
cmp ebx, edi
jae 0x497c7f
movzx ecx, word [ebx]
lea edx, [ebx + 2]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4956be
movzx eax, word [edx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add edx, 2
cmp ecx, 0x85
ja 0x49570e
je case.0x4956d4.11
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x4937bb
jmp dword [ecx*4 + 0x499880]
mov ebx, edx
cmp edx, edi
jae 0x4956f5
cmp word [edx], 0xa
mov ecx, dword [esp + 0x174]
jne 0x4956fc
lea ebx, [edx + 2]
jmp 0x4956fc
mov ebx, edx
mov ecx, dword [esp + 0x174]
inc esi
cmp esi, ebp
jle 0x495686
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
jmp 0x495bf2
sub ecx, 0x2028
je case.0x4956d4.11
sub ecx, 1
jne case.default.0x4937bb
mov ecx, dword [esp + 0x174]
mov ebx, edx
cmp dword [ecx + 0x68], 0
jne case.default.0x4937bb
jmp 0x4956fc
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49577b
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
cmp ecx, 0x2000
ja 0x4957d1
je case.default.0x4937bb
cmp ecx, 0xa0
ja 0x4957b7
je case.default.0x4937bb
cmp ecx, 9
je case.default.0x4937bb
cmp ecx, 0x20
je case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x495743
mov dword [esp + 0x1c], ebx
jmp 0x495beb
cmp ecx, 0x1680
je case.default.0x4937bb
cmp ecx, 0x180e
je case.default.0x4937bb
jmp case.0x4957f1.8203
cmp ecx, 0x3000
ja case.0x4957f1.8203
je case.default.0x4937bb
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.0x4957f1.8203
movzx eax, byte [ecx + 0x499898]
jmp dword [eax*4 + 0x499890]
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49583f
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
cmp ecx, 0x2000
ja 0x495885
je case.0x4958a9.8193
cmp ecx, 0xa0
ja 0x49586f
je case.0x4958a9.8193
cmp ecx, 9
je case.0x4958a9.8193
cmp ecx, 0x20
jne case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x495807
mov dword [esp + 0x1c], ebx
jmp 0x495beb
cmp ecx, 0x1680
je case.0x4958a9.8193
cmp ecx, 0x180e
jne case.default.0x4937bb
jmp case.0x4958a9.8193
cmp ecx, 0x3000
ja case.default.0x4937bb
je case.0x4958a9.8193
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.default.0x4937bb
movzx eax, byte [ecx + 0x499900]
jmp dword [eax*4 + 0x4998f8]
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
nop
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4958f8
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
cmp ecx, 0x85
ja 0x495915
je case.default.0x4937bb
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x49590e
jmp dword [ecx*4 + 0x499960]
sub ecx, 0x2028
je case.default.0x4937bb
sub ecx, 1
je case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x4958c0
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49597f
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
cmp ecx, 0x85
ja 0x49599c
je case.0x495995.10
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x4937bb
jmp dword [ecx*4 + 0x499970]
sub ecx, 0x2028
je case.0x495995.10
sub ecx, 1
jne case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x495947
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
nop word [eax + eax]
cmp ebx, esi
jae 0x497c78
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495a08
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
cmp ecx, 0x80
jae 0x495a24
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 4
jne case.default.0x4937bb
inc edx
cmp edx, ebp
jle 0x4959d0
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx eax, word [ebx]
mov ecx, 0x80
cmp ax, cx
jae case.default.0x4937bb
mov ecx, eax
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 4
je case.default.0x4937bb
inc edx
add ebx, 2
cmp edx, ebp
jle 0x495a41
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov eax, dword [esp + 0x174]
mov edx, 1
mov esi, dword [eax + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx eax, word [ebx]
mov ecx, 0x80
cmp ax, cx
jae 0x495abb
mov ecx, eax
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 1
jne case.default.0x4937bb
add ebx, 2
cmp ebx, esi
jae 0x495ada
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x495ada
add ebx, 2
inc edx
cmp edx, ebp
jle 0x495a90
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx eax, word [ebx]
mov ecx, 0x80
cmp ax, cx
jae case.default.0x4937bb
mov ecx, eax
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 1
je case.default.0x4937bb
inc edx
add ebx, 2
cmp edx, ebp
jle 0x495af7
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov eax, dword [esp + 0x174]
mov edx, 1
mov esi, dword [eax + 0x7c]
cmp ebx, esi
jae 0x497c78
movzx eax, word [ebx]
mov ecx, 0x80
cmp ax, cx
jae 0x495b71
mov ecx, eax
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 0x10
jne case.default.0x4937bb
add ebx, 2
cmp ebx, esi
jae 0x495b90
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x495b90
add ebx, 2
inc edx
cmp edx, ebp
jle 0x495b46
mov dword [esp + 0x1c], ebx
jmp 0x495beb
mov ecx, dword [esp + 0x174]
mov edx, 1
mov esi, dword [ecx + 0x7c]
nop word [eax + eax]
cmp ebx, esi
jae 0x497c78
movzx eax, word [ebx]
mov ecx, 0x80
cmp ax, cx
jae case.default.0x4937bb
mov ecx, eax
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 0x10
je case.default.0x4937bb
add ebx, 2
inc edx
mov dword [esp + 0x1c], ebx
cmp edx, ebp
jle 0x495bb0
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x20]
cmp ebp, edx
je 0x493ea0
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x30]
jne 0x498139
mov esi, ebx
mov dword [esp + 0x18], esi
test eax, eax
js 0x496336
cmp eax, 8
ja case.default.0x493b1c
jmp dword [eax*4 + 0x499980]
cmp ebp, edx
jge 0x49628e
mov edx, dword [ecx + 0x7c]
mov edi, dword [esp + 0x20]
nop word [eax + eax]
cmp ebx, edx
jae 0x495c7b
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
cmp dword [esp + 0x38], 0
movzx ecx, ax
jne 0x49628e
xor eax, eax
cmp cx, word [esp + 0x48]
sete al
inc ebp
lea ebx, [ebx + eax*2]
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ebp, edi
jl 0x495c40
jmp 0x49628e
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x496295
cmp ebx, dword [ebp + 0x88]
jbe 0x496295
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x496295
cmp ebp, edx
jge 0x49628e
mov esi, dword [ecx + 0x7c]
mov edi, dword [esp + 0x20]
mov edx, 1
cmp ebx, esi
jae 0x495d54
movzx ecx, word [ebx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495cfd
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
mov al, byte [eax*8 + 0x4cbbc9]
cmp al, 9
je 0x495d30
cmp al, 5
je 0x495d30
cmp al, 8
je 0x495d30
xor eax, eax
jmp 0x495d35
mov eax, 1
cmp eax, dword [esp + 0x38]
je 0x49628a
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, edi
jl 0x495cc0
jmp 0x49628a
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x495d79
cmp ebx, dword [ebp + 0x88]
jbe 0x495d79
mov dword [ebp + 0x64], edx
cmp eax, 1
jg 0x498f9a
mov esi, dword [esp + 0x18]
jmp 0x496295
cmp ebp, edx
jge 0x49628e
mov esi, dword [ecx + 0x7c]
mov edi, dword [esp + 0x44]
cmp ebx, esi
jae 0x495e1f
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495dce
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], edi
sete cl
cmp ecx, dword [esp + 0x38]
je 0x49628a
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x495d91
jmp 0x49628a
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x495d79
cmp ebx, dword [ebp + 0x88]
jbe 0x495d79
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
mov esi, dword [esp + 0x18]
jmp 0x496295
cmp ebp, edx
jge 0x49628e
mov esi, dword [ecx + 0x7c]
mov edi, dword [esp + 0x20]
cmp ebx, esi
jae 0x495e1f
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495ea1
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp eax, dword [esp + 0x44]
sete cl
cmp ecx, dword [esp + 0x38]
je 0x49628a
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, edi
jl 0x495e68
jmp 0x49628a
cmp ebp, edx
jge 0x49628e
mov esi, dword [ecx + 0x7c]
mov edi, dword [esp + 0x20]
cmp ebx, esi
jae 0x495e1f
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495f35
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc8]
cmp eax, dword [esp + 0x44]
sete cl
cmp ecx, dword [esp + 0x38]
je 0x49628a
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, edi
jl 0x495ef8
jmp 0x49628a
cmp ebp, edx
jge 0x49628e
mov esi, dword [ecx + 0x7c]
mov edi, dword [esp + 0x20]
nop dword [eax]
mov edx, 1
cmp ebx, esi
jae 0x495d54
movzx ecx, word [ebx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x495fcd
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x496006
cmp eax, 3
je 0x496006
xor eax, eax
jmp 0x49600b
mov eax, 1
cmp eax, dword [esp + 0x38]
je 0x49628a
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, edi
jl 0x495f90
jmp 0x49628a
cmp ebp, edx
jge 0x49628e
mov edi, dword [ecx + 0x7c]
nop word [eax + eax]
mov esi, 1
cmp ebx, edi
jae 0x4960eb
movzx edx, word [ebx]
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49607d
movzx eax, word [ebx + 2]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
mov esi, 2
add edx, 0x10000
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 6
je 0x4960c5
cmp edx, 9
je 0x4960c5
cmp edx, 0xa
je 0x4960c5
cmp edx, 0xc
je 0x4960c5
cmp edx, 0xd
je 0x4960c5
xor eax, eax
jmp 0x4960ca
mov eax, 1
cmp eax, dword [esp + 0x38]
je 0x49628a
inc ebp
lea ebx, [ebx + esi*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496040
jmp 0x49628a
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x495d79
cmp ebx, dword [ebp + 0x88]
jbe 0x495d79
mov dword [ebp + 0x64], esi
cmp eax, 1
jg 0x498f9a
mov esi, dword [esp + 0x18]
jmp 0x496295
cmp ebp, edx
jge 0x49628e
mov edi, dword [ecx + 0x7c]
nop dword [eax]
mov esi, 1
cmp ebx, edi
jae 0x4960eb
movzx edx, word [ebx]
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496169
movzx eax, word [ebx + 2]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
mov esi, 2
add edx, 0x10000
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 6
je 0x4961b6
cmp edx, 9
je 0x4961b6
cmp edx, 0xa
je 0x4961b6
cmp edx, 0xb
je 0x4961b6
cmp edx, 0xc
je 0x4961b6
cmp edx, 0xd
je 0x4961b6
xor eax, eax
jmp 0x4961bb
mov eax, 1
cmp eax, dword [esp + 0x38]
je 0x49628a
inc ebp
lea ebx, [ebx + esi*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496130
jmp 0x49628a
cmp ebp, edx
jge 0x49628e
mov edi, dword [ecx + 0x7c]
nop word [eax + eax]
mov esi, 1
cmp ebx, edi
jae 0x4960eb
movzx edx, word [ebx]
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49622d
movzx eax, word [ebx + 2]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
mov esi, 2
add edx, 0x10000
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x49626d
cmp eax, 3
je 0x49626d
cmp edx, 0x5f
je 0x49626d
xor eax, eax
jmp 0x496272
mov eax, 1
cmp eax, dword [esp + 0x38]
je 0x49628a
inc ebp
lea ebx, [ebx + esi*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x4961f0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x174]
cmp dword [esp + 0x2c], 0
jne 0x491ee7
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov eax, ebx
add ebx, 0xfffffffe
cmp eax, esi
je case.default.0x4937bb
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x4962fc
add ebx, 0xfffffffe
mov eax, dword [esp + 0x17c]
mov edx, edi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x4962d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
cmp edi, 0x16
jne 0x496561
cmp ebp, edx
jge 0x49645d
mov edi, dword [ecx + 0x7c]
nop word [eax + eax]
cmp ebx, edi
jae 0x49652f
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49638d
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
je 0x496459
mov eax, dword [esp + 0x174]
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
mov esi, dword [eax + 0x7c]
cmp ebx, esi
jae 0x49644e
nop dword [eax + eax]
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496415
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
jne 0x49644a
lea ebx, [ebx + edx*2]
cmp ebx, esi
jb 0x4963e0
mov dword [esp + 0x1c], ebx
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x496350
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x174]
cmp dword [esp + 0x2c], 0
jne 0x491ee7
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov eax, ebx
add ebx, 0xfffffffe
cmp eax, esi
je case.default.0x4937bb
movzx eax, word [ebx]
mov edx, ebx
mov ecx, eax
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x4964cd
movzx ecx, word [edx - 2]
lea ebx, [edx - 2]
movzx ecx, cx
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4964f8
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
jne 0x4980fb
sub ebx, 2
jmp 0x4964b3
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x496558
cmp ebx, dword [ebp + 0x88]
jbe 0x496558
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
mov esi, dword [esp + 0x18]
jmp 0x496464
lea eax, [edi - 6]
cmp eax, 0xf
ja case.default.0x493b1c
jmp dword [eax*4 + 0x4999a4]
cmp edx, 0x7fffffff
jge 0x496670
cmp ebp, edx
jge 0x4968bc
nop dword [eax + eax]
mov ecx, dword [ecx + 0x7c]
cmp ebx, ecx
jae 0x496631
mov eax, dword [esp + 0x174]
mov edx, dword [eax + 0x18]
add eax, 0x1c
test edx, edx
je 0x4965fd
push 1
push eax
push ecx
mov ecx, ebx
call fcn.0049b100
add esp, 0xc
test eax, eax
jne 0x4968bc
mov ecx, dword [esp + 0x174]
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ebx, dword [ecx + 0x7c]
jae 0x4965f1
mov ax, word [ebx]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x4965f1
add ebx, 2
mov dword [esp + 0x1c], ebx
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x496590
jmp 0x4968bc
mov edx, dword [eax]
lea eax, [edx + edx]
sub ecx, eax
cmp ebx, ecx
ja 0x4965c2
mov ecx, dword [esp + 0x174]
mov ax, word [ebx]
cmp ax, word [ecx + 0x2c]
jne 0x4965c9
cmp edx, 1
je 0x4968bc
mov ax, word [ebx + 2]
cmp ax, word [ecx + 0x2e]
je 0x4968bc
jmp 0x4965c9
mov ecx, dword [esp + 0x174]
mov eax, dword [ecx + 0x8c]
test eax, eax
je 0x4968bc
cmp ebx, dword [ecx + 0x88]
jbe 0x4968bc
mov dword [ecx + 0x64], 1
cmp eax, 1
jg 0x498f9a
mov ebp, ecx
jmp 0x4968c3
mov ecx, dword [ecx + 0x7c]
cmp ebx, ecx
jae 0x496631
mov eax, dword [esp + 0x174]
mov edx, dword [eax + 0x18]
add eax, 0x1c
test edx, edx
je 0x4966d9
push 1
push eax
push ecx
mov ecx, ebx
call fcn.0049b100
add esp, 0xc
test eax, eax
jne 0x4968bc
mov ecx, dword [esp + 0x174]
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ebx, dword [ecx + 0x7c]
jae 0x4966cd
mov ax, word [ebx]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x4966cd
add ebx, 2
mov dword [esp + 0x1c], ebx
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x496670
jmp 0x4968bc
mov edx, dword [eax]
lea eax, [edx + edx]
sub ecx, eax
cmp ebx, ecx
ja 0x49669e
mov ecx, dword [esp + 0x174]
mov ax, word [ebx]
cmp ax, word [ecx + 0x2c]
jne 0x4966a5
cmp edx, 1
je 0x4968bc
mov ax, word [ebx + 2]
cmp ax, word [ecx + 0x2e]
je 0x4968bc
jmp 0x4966a5
cmp edx, 0x7fffffff
jge 0x496785
cmp ebp, edx
jge 0x4968bc
mov ecx, dword [ecx + 0x7c]
cmp ebx, ecx
jae 0x49674f
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ebx, ecx
jae 0x496745
mov ax, word [ebx]
and ax, word [esp + 0x4c]
cmp ax, word [esp + 0x50]
jne 0x496745
add ebx, 2
mov dword [esp + 0x1c], ebx
inc ebp
cmp ebp, edx
jl 0x496720
jmp 0x4968bc
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x4968c3
cmp ebx, dword [ebp + 0x88]
jbe 0x4968c3
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x4968c3
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
mov ebx, dword [ebp + 0x7c]
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x4968c3
cmp ebx, dword [ebp + 0x88]
jbe 0x4968c3
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x4968c3
sub edx, ebp
mov ebp, dword [esp + 0x174]
mov ecx, dword [ebp + 0x7c]
mov eax, ecx
sub eax, ebx
sar eax, 1
cmp edx, eax
jbe 0x4967f4
mov eax, dword [ebp + 0x8c]
mov ebx, ecx
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x4968c3
cmp ecx, dword [ebp + 0x88]
jmp 0x4967a7
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
jmp 0x4968c3
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
nop dword [eax + eax]
cmp ebx, esi
jae 0x49697e
movzx ecx, word [ebx]
lea edx, [ebx + 2]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49684c
movzx eax, word [edx]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov eax, 4
add ecx, 0x10000
jmp 0x496851
mov eax, 2
cmp ecx, 0xd
jne 0x49686b
mov ebx, edx
mov dword [esp + 0x1c], ebx
cmp edx, esi
jae 0x4968b8
cmp word [ebx], 0xa
jne 0x4968ad
lea ebx, [edx + 2]
jmp 0x4968a9
cmp ecx, 0xa
je 0x4968a7
mov edx, dword [esp + 0x174]
cmp dword [edx + 0x68], 0
jne 0x496e37
cmp ecx, 0xb
je 0x4968a7
cmp ecx, 0xc
je 0x4968a7
cmp ecx, 0x85
je 0x4968a7
cmp ecx, 0x2028
je 0x4968a7
cmp ecx, 0x2029
jne 0x496e37
add ebx, eax
mov dword [esp + 0x1c], ebx
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x496810
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x174]
cmp dword [esp + 0x2c], 0
jne 0x491ee7
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
lea ecx, [ebx - 2]
cmp ebx, esi
je case.default.0x4937bb
mov ax, word [ecx]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x496926
add ecx, 0xfffffffe
mov ebx, ecx
cmp edi, 0x11
jne 0x496942
cmp ecx, esi
jbe 0x496942
cmp word [ecx], 0xa
jne 0x496942
cmp word [ecx - 2], 0xd
lea eax, [ecx - 2]
cmove ebx, eax
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x496903
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x4969a7
cmp ebx, dword [ebp + 0x88]
jbe 0x4969a7
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
mov esi, dword [esp + 0x18]
jmp 0x4968c3
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
nop dword [eax + eax]
mov edx, 1
cmp ebx, esi
jae 0x496a7e
movzx ecx, word [ebx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4969fd
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp ecx, 0x2000
ja 0x496a54
je case.0x496a70.8193
cmp ecx, 0xa0
ja 0x496a44
je case.0x496a70.8193
cmp ecx, 9
je case.0x496a70.8193
cmp ecx, 0x20
je case.0x496a70.8193
xor ecx, ecx
xor eax, eax
cmp edi, 0x12
sete al
cmp ecx, eax
je 0x4968b8
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x4969c0
jmp 0x4968b8
cmp ecx, 0x1680
je case.0x496a70.8193
cmp ecx, 0x180e
jmp 0x496a1d
cmp ecx, 0x3000
ja case.0x496a70.8203
je case.0x496a70.8193
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.0x496a70.8203
movzx eax, byte [ecx + 0x4999ec]
jmp dword [eax*4 + 0x4999e4]
mov ecx, 1
jmp 0x496a21
mov ebp, dword [esp + 0x174]
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x4969a7
cmp ebx, dword [ebp + 0x88]
jbe 0x4969a7
mov dword [ebp + 0x64], edx
cmp eax, 1
jg 0x498f9a
mov esi, dword [esp + 0x18]
jmp 0x4968c3
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
nop
mov edx, 1
cmp ebx, esi
jae 0x496a7e
movzx ecx, word [ebx]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496af9
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp ecx, 0x85
ja 0x496b12
je case.0x496b0b.10
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x496b0b
jmp dword [ecx*4 + 0x499a4c]
sub ecx, 0x2028
je case.0x496b0b.10
sub ecx, 1
je case.0x496b0b.10
xor ecx, ecx
jmp 0x496b28
mov ecx, 1
xor eax, eax
cmp edi, 0x14
sete al
cmp ecx, eax
je 0x4968b8
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496ac0
jmp 0x4968b8
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
nop word [eax + eax]
cmp ebx, esi
jae 0x49697e
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496b9d
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp ecx, 0x100
jae 0x496bb9
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 4
jne 0x4968b8
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496b60
jmp 0x4968b8
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x49697e
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496c14
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp ecx, 0x100
jae 0x4968b8
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 4
je 0x4968b8
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496bd7
jmp 0x4968b8
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x49697e
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496c8f
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp ecx, 0x100
jae 0x496cab
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 1
jne 0x4968b8
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496c52
jmp 0x4968b8
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
nop dword [eax]
cmp ebx, esi
jae 0x49697e
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496d0d
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp ecx, 0x100
jae 0x4968b8
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 1
je 0x4968b8
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496cd0
jmp 0x4968b8
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
nop dword [eax + eax]
cmp ebx, esi
jae 0x49697e
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496d8d
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp ecx, 0x100
jae 0x496da9
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 0x10
jne 0x4968b8
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496d50
jmp 0x4968b8
cmp ebp, edx
jge 0x4968bc
mov esi, dword [ecx + 0x7c]
cmp ebx, esi
jae 0x49697e
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x496e04
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
cmp ecx, 0x100
jae 0x4968b8
mov eax, dword [esp + 0x174]
mov eax, dword [eax + 0x3c]
test byte [ecx + eax], 0x10
je 0x4968b8
inc ebp
lea ebx, [ebx + edx*2]
mov dword [esp + 0x1c], ebx
cmp ebp, dword [esp + 0x20]
jl 0x496dc7
jmp 0x4968b8
mov esi, dword [esp + 0x18]
mov ebp, edx
jmp 0x4968c3
cmp ecx, 0x74
mov ecx, ebx
jne 0x496e89
mov eax, dword [esp + 0x17c]
inc eax
push eax
push dword [esp + 0x17c]
push edx
push dword [esp + 0x17c]
lea edx, [esi + 4]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, ebp
mov ebp, dword [esp + 0x174]
jmp 0x49708e
mov dword [edx + 0x9c], 2
mov eax, dword [esp + 0x17c]
inc eax
push eax
push dword [esp + 0x17c]
push edx
push dword [esp + 0x17c]
mov edx, ebp
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov ebp, dword [esp + 0x174]
add esi, 4
jmp 0x49708e
mov ebp, dword [esp + 0x174]
mov edx, dword [esp + 0x170]
movzx ecx, word [esi + 6]
mov eax, dword [ebp + 0x90]
cmp eax, edx
cmovg edx, eax
add ecx, 2
cmp word [esi + ecx*2], 0x71
mov dword [esp + 0x170], edx
lea ecx, [esi + ecx*2]
jne 0x496f30
mov edx, ecx
nop word [eax + eax]
movzx eax, word [ecx + 2]
cmp word [edx + eax*2], 0x71
lea ecx, [edx + eax*2]
mov edx, ecx
je 0x496f10
jmp 0x496f29
mov ebp, dword [esp + 0x174]
mov edx, dword [esp + 0x170]
cmp dword [esp + 0x20], 0x86
lea esi, [ecx + 4]
mov dword [esp + 0x14], esi
jne 0x497092
mov dword [ebp + 0x9c], 2
mov ecx, ebx
mov eax, dword [esp + 0x17c]
inc eax
push eax
push dword [esp + 0x17c]
push ebp
push edx
push dword [esp + 0x17c]
mov edx, esi
call fcn.00491df0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
cmp eax, 0x75
je 0x4972e6
cmp eax, 0x74
jne 0x496fe4
mov eax, dword [esp + 0x17c]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x17c]
push edx
push edi
push dword [esp + 0x17c]
lea edx, [esi + 4]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
movzx eax, word [ebp]
cmp eax, 0x7b
je 0x497297
mov ecx, 0x82
cmp ax, cx
jae 0x497256
mov esi, ebp
mov ebp, dword [esp + 0x174]
jmp 0x49708e
mov eax, 0x82
cmp word [ebp], ax
jb 0x496ff9
mov dword [edx + 0x9c], 2
mov eax, dword [esp + 0x17c]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x17c]
push edx
push edi
push dword [esp + 0x17c]
mov edx, ebp
call fcn.00491df0
mov ecx, dword [esp + 0x188]
add esp, 0x14
cmp eax, 0xfffffc1c
jne 0x497034
cmp dword [ecx + 0xb8], ebp
je 0x497038
test eax, eax
jne 0x4970a7
add esi, 4
cmp word [ebp], 0x7b
mov dword [esp + 0x14], esi
je 0x4972d1
mov ebp, dword [esp + 0x174]
jmp 0x497092
movzx edi, word [esi + 4]
lea eax, [edi + edi]
cmp eax, dword [ebp + 0x14]
jl 0x498faa
cmp edx, 0x82
jae 0x4970b2
cmp edx, 0x7b
je 0x4970b2
cmp dword [ebp + 0x6c], 0
jne 0x4970bc
movzx eax, word [esi + 2]
cmp word [esi + eax*2], 0x71
je 0x4970bc
movzx eax, cx
movzx eax, byte [eax + 0x4bfe60]
lea esi, [esi + eax*2]
mov dword [esp + 0x14], esi
mov eax, dword [ebp]
cmp eax, dword [ebp + 4]
jb 0x491e91
inc eax
mov dword [ebp], eax
mov eax, 0xfffffff8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov dword [ebp + 0x9c], 2
mov ecx, dword [esp + 0x14]
lea esi, [ebp + 0xb0]
mov eax, dword [esp + 0x17c]
mov ebp, dword [esi]
inc eax
push eax
movzx eax, word [ecx]
push dword [esp + 0x17c]
mov dword [esp + 0x48], ebp
push dword [esp + 0x17c]
movzx eax, byte [eax + 0x4bfe60]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
lea edx, [ecx + eax*2]
mov ecx, ebx
call fcn.00491df0
mov edi, eax
add esp, 0x14
mov ecx, esi
cmp edi, 0xfffffc20
jne 0x497157
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x174]
movzx eax, word [ecx + 2]
lea edx, [ecx + eax*2]
mov eax, edi
cmp dword [ebp + 0x80], edx
mov ecx, esi
mov ebp, dword [esp + 0x40]
jae 0x497157
mov eax, dword [esp + 0x14]
cmp word [eax], 0x71
je 0x497161
cmp word [edx], 0x71
mov eax, edi
jne 0x497157
mov esi, dword [esp + 0x174]
add esi, 0xb0
jmp 0x497161
mov esi, ecx
test eax, eax
jne 0x4990e1
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 2]
mov dword [esi], ebp
lea ecx, [ecx + eax*2]
mov esi, ecx
mov dword [esp + 0x14], ecx
cmp word [esi], 0x71
jne case.default.0x4937bb
mov edx, dword [esp + 0x20]
mov ecx, 0x71
mov ebp, dword [esp + 0x174]
jmp case.0x491f1e.123
mov eax, dword [esp + 0x17c]
inc eax
push eax
push dword [esp + 0x17c]
movzx eax, word [esi + 2]
add ecx, eax
push ebp
push edi
push dword [esp + 0x17c]
lea edx, [esi + ecx*2]
mov ecx, ebx
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x4971d5
cmp eax, 0xfffffc1d
je 0x4971d5
cmp eax, 0xfffffc20
jne 0x4970a7
lea eax, [esi + 4]
mov dword [ebp + 0x80], eax
mov eax, 0xfffffc1f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, 0xffffffe6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0xf0]
cmp eax, ecx
je 0x497216
push eax
call fcn.0049efc2
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, 0xfffffffa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x16c]
mov dword [edx + 0x84], ebx
mov dword [edx + 0x80], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ecx, dword [esp + 0x174]
mov edx, ebp
mov dword [ecx + 0x9c], 2
mov eax, dword [esp + 0x17c]
inc eax
push eax
push dword [esp + 0x17c]
push ecx
push edi
push dword [esp + 0x17c]
mov ecx, ebx
call fcn.00491df0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, ebp
inc eax
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push edi
push dword [esp + 0x17c]
mov ecx, ebx
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x49732f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, esi
inc eax
push eax
push dword [esp + 0x17c]
push ecx
jmp 0x4972b0
mov dword [edx + 0x84], ebx
mov eax, 0xfffffc1b
mov dword [edx + 0x90], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x17c]
push edx
push edi
push dword [esp + 0x17c]
mov edx, esi
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov eax, dword [esp + 0x174]
mov dword [eax + 0xb8], ebp
mov eax, 0xfffffc1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x174]
mov ecx, dword [esp + 0x16c]
mov dword [eax + 0x84], ebx
mov dword [eax + 0x90], edi
mov dword [eax + 0x80], ecx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [ebp + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, dword [ebp + 0x88]
jbe case.default.0x4937bb
mov dword [ebp + 0x64], 1
cmp eax, 1
jg 0x498f9a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
cmp dword [esp + 0x30], 0
je 0x49748d
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x48], esi
nop dword [eax]
cmp esi, dword [esp + 0x34]
jge case.default.0x4937bb
push dword [esp + 0x24]
mov esi, dword [esp + 0x178]
mov edx, ebx
push esi
push ebp
mov ecx, edi
call fcn.00491c40
add esp, 0xc
test eax, eax
js 0x497471
mov esi, dword [esp + 0x48]
lea ebx, [ebx + eax*2]
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
inc esi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
mov dword [esp + 0x48], esi
test eax, eax
je 0x497400
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esi + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, dword [esi + 0x7c]
jb case.default.0x4937bb
jmp 0x4980e3
mov edi, ebx
cmp esi, eax
jge 0x497500
push edx
push dword [esp + 0x178]
mov edx, ebx
push ebp
call fcn.00491c40
add esp, 0xc
test eax, eax
js 0x4974be
mov ecx, dword [esp + 0x3c]
lea ebx, [ebx + eax*2]
mov edx, dword [esp + 0x24]
inc esi
cmp esi, dword [esp + 0x34]
jl 0x497493
jmp 0x4974ec
mov ecx, dword [esp + 0x174]
mov eax, dword [ecx + 0x8c]
test eax, eax
je 0x4974ec
cmp ebx, dword [ecx + 0x7c]
jb 0x4974ec
cmp ebx, dword [ecx + 0x88]
jbe 0x4974ec
mov dword [ecx + 0x64], 1
cmp eax, 1
jg 0x498f9a
cmp ebx, edi
jb case.default.0x4937bb
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov eax, ebp
neg eax
lea ebx, [ebx + eax*2]
cmp ebx, edi
jae 0x497500
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
cmp dword [esp + 0x18], 0
je 0x497661
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, edi
nop dword [eax + eax]
cmp esi, dword [esp + 0x24]
jge case.default.0x4937bb
mov ecx, dword [esp + 0x174]
cmp ebx, dword [ecx + 0x7c]
jae 0x497c7f
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4975ea
movzx eax, word [ebx]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
add ebx, 2
add edx, 0x10000
cmp edx, 0xff
jbe 0x4975ff
cmp dword [esp + 0x20], 0x6a
je case.default.0x4937bb
jmp 0x49761e
mov ecx, edx
mov eax, 1
and ecx, 7
shr edx, 3
shl eax, cl
test byte [edx + ebp], al
je case.default.0x4937bb
mov ecx, dword [esp + 0x174]
mov eax, dword [esp + 0x17c]
inc edi
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov esi, edi
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x4975a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ebp, ebx
cmp edi, eax
jge 0x4976c9
mov eax, dword [esp + 0x174]
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + 0x7c]
cmp ebx, edi
jae 0x49779f
movzx edx, word [ebx]
mov esi, 1
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4976b2
movzx eax, word [ebx + 2]
and edx, 0x3ff
and eax, 0x3ff
shl edx, 0xa
or edx, eax
mov esi, 2
add edx, 0x10000
cmp edx, 0xff
jbe 0x497766
cmp dword [esp + 0x20], 0x6a
jne 0x497786
mov esi, dword [esp + 0x174]
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push esi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov eax, ebx
add ebx, 0xfffffffe
cmp eax, ebp
je case.default.0x4937bb
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x49772c
add ebx, 0xfffffffe
mov eax, dword [esp + 0x17c]
mov edx, edi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push esi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497707
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ecx, edx
mov eax, 1
and ecx, 7
shr edx, 3
shl eax, cl
mov ecx, dword [esp + 0x40]
test byte [edx + ecx], al
je 0x4976c9
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
lea ebx, [ebx + esi*2]
inc eax
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x497675
jmp 0x4976c9
mov esi, dword [esp + 0x174]
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4976d0
cmp ebx, dword [esi + 0x88]
jbe 0x4976d0
mov dword [esi + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x4976d0
cmp dword [esp + 0x18], 0
je 0x4978c7
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, edi
nop dword [eax]
cmp esi, dword [esp + 0x24]
jge case.default.0x4937bb
mov ecx, dword [esp + 0x174]
cmp ebx, dword [ecx + 0x7c]
jae 0x497c7f
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49786a
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
push 1
mov edx, ebp
call fcn.0049b2b0
add esp, 4
test eax, eax
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc edi
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov ecx, ebx
mov esi, edi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497820
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ebp, ebx
cmp edi, eax
jge 0x497931
nop dword [eax]
mov esi, dword [esp + 0x174]
cmp ebx, dword [esi + 0x7c]
jae 0x4979cf
movzx ecx, word [ebx]
mov esi, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x497915
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov esi, 2
add ecx, 0x10000
mov edx, dword [esp + 0x40]
push 1
call fcn.0049b2b0
add esp, 4
test eax, eax
je 0x497931
inc edi
lea ebx, [ebx + esi*2]
cmp edi, dword [esp + 0x24]
jl 0x4978d0
mov esi, dword [esp + 0x174]
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push esi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
nop
mov eax, ebx
add ebx, 0xfffffffe
cmp eax, ebp
je case.default.0x4937bb
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x497995
add ebx, 0xfffffffe
mov eax, dword [esp + 0x17c]
mov edx, edi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push esi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x497938
cmp ebx, dword [esi + 0x88]
jbe 0x497938
mov dword [esi + 0x64], 1
cmp eax, 1
jg 0x498f9a
jmp 0x497938
mov eax, dword [ebp + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, ecx
jb case.default.0x4937bb
jmp 0x497386
mov ecx, dword [esp + 0x174]
mov eax, dword [ecx + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, dword [ecx + 0x7c]
jb case.default.0x4937bb
cmp ebx, dword [ecx + 0x88]
jbe case.default.0x4937bb
mov dword [ecx + 0x64], 1
jmp 0x497395
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push esi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
cmp ebx, ebp
je case.default.0x4937bb
mov ax, word [ebx - 2]
add ebx, 0xfffffffe
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x497aaa
add ebx, 0xfffffffe
mov eax, dword [esp + 0x17c]
mov edx, edi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push esi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497a86
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov ebp, dword [esp + 0x174]
inc eax
mov edx, dword [esp + 0x14]
push eax
push dword [esp + 0x17c]
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, edi
cmp esi, dword [esp + 0x24]
jge case.default.0x4937bb
mov edx, dword [esp + 0x34]
mov ebp, dword [ebp + 0x7c]
mov ecx, ebp
lea eax, [edx + edx]
sub ecx, eax
cmp ebx, ecx
ja 0x497b9c
lea esi, [edx + edx]
mov ecx, ebx
mov edx, dword [esp + 0x30]
sub esi, 4
jb 0x497b61
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x497b66
add ecx, 4
add edx, 4
sub esi, 4
jae 0x497b50
cmp esi, 0xfffffffc
je 0x497b93
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x497b9c
cmp esi, 0xfffffffd
je 0x497b93
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x497b9c
cmp esi, 0xfffffffe
je 0x497b93
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x497b9c
cmp esi, 0xffffffff
je 0x497b93
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x497b9c
mov eax, dword [esp + 0x34]
lea ebx, [ebx + eax*2]
jmp 0x497c0e
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jle 0x497c5c
lea edi, [ecx + ecx]
mov eax, ebp
sub eax, edi
cmp ebx, eax
ja 0x497c5c
lea esi, [ecx + ecx]
mov ecx, ebx
lea edx, [esp + 0x74]
sub esi, 4
jb 0x497bd6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x497bdb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x497bc5
cmp esi, 0xfffffffc
je 0x497c08
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x497c5c
cmp esi, 0xfffffffd
je 0x497c08
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x497c5c
cmp esi, 0xfffffffe
je 0x497c08
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x497c5c
cmp esi, 0xffffffff
je 0x497c08
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x497c5c
add ebx, edi
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x17c]
inc edi
mov ebp, dword [esp + 0x174]
inc eax
mov edx, dword [esp + 0x14]
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov dword [esp + 0x30], edi
mov esi, edi
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497b22
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ecx, dword [esp + 0x174]
mov eax, dword [ecx + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, ebp
jmp 0x497a31
mov ecx, dword [esp + 0x174]
mov eax, dword [ecx + 0x8c]
test eax, eax
je case.default.0x4937bb
jmp 0x497a37
mov eax, dword [esp + 0x17c]
mov ecx, ebx
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
nop dword [eax]
cmp edi, dword [esp + 0x24]
jge case.default.0x4937bb
mov ecx, dword [esp + 0x174]
cmp ebx, dword [ecx + 0x7c]
jae 0x497c7f
movzx eax, word [ebx]
cmp esi, eax
je 0x497cf5
cmp ebp, eax
jne case.default.0x4937bb
mov eax, dword [esp + 0x28]
add ebx, 2
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x28], eax
mov edi, eax
mov eax, dword [esp + 0x17c]
inc eax
push eax
push dword [esp + 0x17c]
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497cd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, ecx
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov ecx, edi
nop word [eax + eax]
cmp edi, ebp
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx eax, word [ebx]
add ebx, 2
cmp esi, eax
jne case.default.0x4937bb
mov eax, dword [esp + 0x17c]
lea edi, [ecx + 1]
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push edx
push dword [esp + 0x17c]
mov edx, dword [esp + 0x24]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
mov ecx, edi
test eax, eax
je 0x497d80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [edx + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, dword [edx + 0x88]
jbe case.default.0x4937bb
mov dword [edx + 0x64], 1
jmp 0x497395
mov eax, dword [esp + 0x17c]
mov edx, esi
inc eax
push eax
push dword [esp + 0x17c]
push ecx
push edi
push dword [esp + 0x17c]
mov ecx, ebx
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov eax, ebx
add ebx, 0xfffffffe
cmp eax, ebp
je case.default.0x4937bb
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x497e5b
add ebx, 0xfffffffe
mov eax, dword [esp + 0x17c]
mov edx, esi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497e36
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, esi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, edi
cmp esi, dword [esp + 0x28]
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x497f1a
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
cmp dword [esp + 0x34], ecx
je case.default.0x4937bb
cmp ebp, ecx
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc edi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov esi, edi
push edx
push dword [esp + 0x17c]
mov edx, dword [esp + 0x24]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497ed0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, esi
inc eax
push eax
push dword [esp + 0x17c]
push ecx
push edi
push dword [esp + 0x17c]
mov ecx, ebx
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
nop dword [eax]
mov eax, ebx
add ebx, 0xfffffffe
cmp eax, ebp
je case.default.0x4937bb
mov ax, word [ebx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x497fc5
add ebx, 0xfffffffe
mov eax, dword [esp + 0x17c]
mov edx, esi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x497fa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, esi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, edi
nop word [eax + eax]
cmp esi, dword [esp + 0x28]
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49808a
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
cmp ebp, ecx
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc edi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov esi, edi
push edx
push dword [esp + 0x17c]
mov edx, dword [esp + 0x24]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esi + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, dword [esi + 0x88]
jbe case.default.0x4937bb
mov dword [esi + 0x64], 1
jmp 0x497395
mov eax, dword [esp + 0x17c]
mov edx, edi
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
push ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x4964a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
test eax, eax
js 0x498a95
cmp eax, 8
ja case.default.0x493b1c
jmp dword [eax*4 + 0x499a5c]
mov eax, dword [esp + 0x17c]
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, ebp
nop word [eax + eax]
mov ecx, ebx
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx eax, word [ebx]
add ebx, 2
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4981c1
lea ebx, [ecx + 4]
cmp dword [esp + 0x38], 0
jne case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov esi, ebp
push edx
push dword [esp + 0x17c]
mov edx, edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498190
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, ebp
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49828c
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
mov al, byte [eax*8 + 0x4cbbc9]
cmp al, 9
je 0x4982bf
cmp al, 5
je 0x4982bf
cmp al, 8
je 0x4982bf
xor eax, eax
jmp 0x4982c4
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov esi, ebp
push edx
push dword [esp + 0x17c]
mov edx, edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498242
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, ebp
nop dword [eax + eax]
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49839a
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov esi, dword [esp + 0x44]
mov eax, ecx
shr eax, 7
and ecx, 0x7f
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], esi
sete cl
cmp ecx, dword [esp + 0x38]
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov esi, ebp
push edx
push dword [esp + 0x17c]
mov edx, edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498350
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, ebp
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49849c
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp eax, dword [esp + 0x44]
sete cl
cmp ecx, dword [esp + 0x38]
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov esi, ebp
push edx
push dword [esp + 0x17c]
mov edx, edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498452
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, ebp
nop dword [eax]
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49859a
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
xor ecx, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc8]
cmp eax, dword [esp + 0x44]
sete cl
cmp ecx, dword [esp + 0x38]
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov esi, ebp
push edx
push dword [esp + 0x17c]
mov edx, edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498550
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edi, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov edx, edi
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov esi, ebp
nop dword [eax + eax]
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
mov edx, dword [esp + 0x174]
cmp ebx, dword [edx + 0x7c]
jae 0x497de3
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49869a
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ebx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x4986d3
cmp eax, 3
je 0x4986d3
xor eax, eax
jmp 0x4986d8
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
inc eax
mov ecx, ebx
push eax
push dword [esp + 0x17c]
mov esi, ebp
push edx
push dword [esp + 0x17c]
mov edx, edi
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov edi, dword [esp + 0x174]
mov esi, ebp
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
cmp ebx, dword [edi + 0x7c]
jae 0x49883e
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4987a4
movzx eax, word [ebx]
and edx, 0x3ff
shl edx, 0xa
and eax, 0x3ff
or edx, eax
add edx, 0x10000
add ebx, 2
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 6
je 0x4987ec
cmp edx, 9
je 0x4987ec
cmp edx, 0xa
je 0x4987ec
cmp edx, 0xc
je 0x4987ec
cmp edx, 0xd
je 0x4987ec
xor eax, eax
jmp 0x4987f1
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov ecx, ebx
mov esi, ebp
push edi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498761
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [edi + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, dword [edi + 0x88]
jbe case.default.0x4937bb
mov dword [edi + 0x64], 1
jmp 0x497395
mov eax, dword [esp + 0x17c]
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov edi, dword [esp + 0x174]
mov esi, ebp
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
cmp ebx, dword [edi + 0x7c]
jae 0x49883e
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4988e1
movzx eax, word [ebx]
and edx, 0x3ff
shl edx, 0xa
and eax, 0x3ff
or edx, eax
add edx, 0x10000
add ebx, 2
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 6
je 0x49892e
cmp edx, 9
je 0x49892e
cmp edx, 0xa
je 0x49892e
cmp edx, 0xb
je 0x49892e
cmp edx, 0xc
je 0x49892e
cmp edx, 0xd
je 0x49892e
xor eax, eax
jmp 0x498933
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov ecx, ebx
mov esi, ebp
push edi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x4988a2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
jne 0x4970a7
mov edi, dword [esp + 0x174]
mov esi, ebp
nop
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
cmp ebx, dword [edi + 0x7c]
jae 0x49883e
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x498a03
movzx eax, word [ebx]
and edx, 0x3ff
shl edx, 0xa
and eax, 0x3ff
or edx, eax
add ebx, 2
add edx, 0x10000
mov eax, edx
shr eax, 7
movzx ecx, byte [eax + 0x4ccca8]
mov eax, edx
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
mov eax, dword [eax*4 + 0x4bfde0]
cmp eax, 1
je 0x498a43
cmp eax, 3
je 0x498a43
cmp edx, 0x5f
je 0x498a43
xor eax, eax
jmp 0x498a48
mov eax, 1
cmp eax, dword [esp + 0x38]
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov ecx, ebx
mov esi, ebp
push edi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x4989c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
push ecx
push dword [esp + 0x17c]
mov ecx, ebx
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
cmp edi, 0x16
jne 0x498c0d
test eax, eax
jne 0x4970a7
mov edi, dword [esp + 0x174]
mov esi, ebp
nop dword [eax]
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
mov esi, dword [edi + 0x7c]
cmp ebx, esi
jae 0x49883e
movzx ecx, word [ebx]
lea edx, [ebx + 2]
mov eax, ecx
mov ebx, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x498b27
movzx eax, word [edx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
je case.default.0x4937bb
cmp ebx, esi
jae 0x498bca
nop dword [eax]
movzx ecx, word [ebx]
mov edx, 1
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x498b95
movzx eax, word [ebx + 2]
and ecx, 0x3ff
and eax, 0x3ff
shl ecx, 0xa
or ecx, eax
mov edx, 2
add ecx, 0x10000
mov eax, ecx
and ecx, 0x7f
shr eax, 7
movzx eax, byte [eax + 0x4ccca8]
shl eax, 7
add eax, ecx
movzx eax, word [eax*2 + 0x4c02c8]
movzx eax, byte [eax*8 + 0x4cbbc9]
cmp dword [eax*4 + 0x4bfde0], 2
jne 0x498bca
lea ebx, [ebx + edx*2]
cmp ebx, esi
jb 0x498b60
mov eax, dword [esp + 0x17c]
inc ebp
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov ecx, ebx
mov esi, ebp
push edi
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498ae0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
test eax, eax
jne 0x4970a7
mov esi, ebp
nop word [eax + eax]
cmp esi, dword [esp + 0x20]
jge case.default.0x4937bb
mov esi, dword [esp + 0x174]
mov ecx, dword [esi + 0x7c]
cmp ebx, ecx
jae 0x498f70
cmp edi, 0xc
jne 0x498c8e
mov edx, dword [esi + 0x18]
lea eax, [esi + 0x1c]
test edx, edx
je 0x498c63
push 1
push eax
push ecx
mov ecx, ebx
call fcn.0049b100
add esp, 0xc
test eax, eax
jne case.default.0x4937bb
jmp 0x498c8e
mov edx, dword [eax]
lea eax, [edx + edx]
sub ecx, eax
cmp ebx, ecx
ja 0x498c8e
mov ax, word [ebx]
cmp ax, word [esi + 0x2c]
jne 0x498c8e
cmp edx, 1
je case.default.0x4937bb
mov ax, word [ebx + 2]
cmp ax, word [esi + 0x2e]
je case.default.0x4937bb
movzx ecx, word [ebx]
add ebx, 2
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x498cbe
movzx eax, word [ebx]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebx, 2
lea eax, [edi - 6]
cmp eax, 0xf
ja case.default.0x493b1c
jmp dword [eax*4 + 0x499a80]
cmp ecx, 0x85
ja 0x498d09
je case.0x498ce7.11
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x4937bb
jmp dword [ecx*4 + 0x499ac0]
cmp ebx, dword [esi + 0x7c]
jae case.0x498cca.12
cmp word [ebx], 0xa
jne case.0x498cca.12
add ebx, 2
jmp case.0x498cca.12
sub ecx, 0x2028
je case.0x498ce7.11
sub ecx, 1
jne case.default.0x4937bb
cmp dword [esi + 0x68], 0
jne case.default.0x4937bb
jmp case.0x498cca.12
cmp ecx, 0x2000
ja 0x498d6d
je case.default.0x4937bb
cmp ecx, 0xa0
ja 0x498d56
je case.default.0x4937bb
cmp ecx, 9
je case.default.0x4937bb
cmp ecx, 0x20
jmp 0x498f11
cmp ecx, 0x1680
je case.default.0x4937bb
cmp ecx, 0x180e
jmp 0x498f11
cmp ecx, 0x3000
ja case.0x498cca.12
je case.default.0x4937bb
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.0x498cca.12
movzx eax, byte [ecx + 0x499ad8]
jmp dword [eax*4 + 0x499ad0]
cmp ecx, 0x2000
ja 0x498dec
je case.0x498cca.12
cmp ecx, 0xa0
ja 0x498dcf
je case.0x498cca.12
cmp ecx, 9
je case.0x498cca.12
cmp ecx, 0x20
jne case.default.0x4937bb
jmp case.0x498cca.12
cmp ecx, 0x1680
je case.0x498cca.12
cmp ecx, 0x180e
jne case.default.0x4937bb
jmp case.0x498cca.12
cmp ecx, 0x3000
ja case.default.0x4937bb
je case.0x498cca.12
add ecx, 0xffffdfff
cmp ecx, 0x5e
ja case.default.0x4937bb
movzx eax, byte [ecx + 0x499b40]
jmp dword [eax*4 + 0x499b38]
cmp ecx, 0x85
ja 0x498e3c
je case.default.0x4937bb
add ecx, 0xfffffff6
cmp ecx, 3
ja case.0x498cca.12
jmp dword [ecx*4 + 0x499ba0]
sub ecx, 0x2028
je case.default.0x4937bb
sub ecx, 1
jmp 0x498f11
cmp ecx, 0x85
ja 0x498e71
je case.0x498cca.12
add ecx, 0xfffffff6
cmp ecx, 3
ja case.default.0x4937bb
jmp dword [ecx*4 + 0x499bb0]
sub ecx, 0x2028
je case.0x498cca.12
sub ecx, 1
jne case.default.0x4937bb
jmp case.0x498cca.12
cmp ecx, 0x100
jae case.0x498cca.12
mov eax, dword [esi + 0x3c]
test byte [ecx + eax], 4
jne case.default.0x4937bb
jmp case.0x498cca.12
cmp ecx, 0x100
jae case.default.0x4937bb
mov eax, dword [esi + 0x3c]
test byte [ecx + eax], 4
jmp 0x498f11
cmp ecx, 0x100
jae case.0x498cca.12
mov eax, dword [esi + 0x3c]
test byte [ecx + eax], 1
jne case.default.0x4937bb
jmp case.0x498cca.12
cmp ecx, 0x100
jae case.default.0x4937bb
mov eax, dword [esi + 0x3c]
test byte [ecx + eax], 1
jmp 0x498f11
cmp ecx, 0x100
jae case.0x498cca.12
mov eax, dword [esi + 0x3c]
test byte [ecx + eax], 0x10
jne case.default.0x4937bb
jmp case.0x498cca.12
cmp ecx, 0x100
jae case.default.0x4937bb
mov eax, dword [esi + 0x3c]
test byte [ecx + eax], 0x10
je case.default.0x4937bb
mov eax, dword [esp + 0x17c]
inc ebp
mov edx, dword [esp + 0x14]
inc eax
push eax
push dword [esp + 0x17c]
mov ecx, ebx
mov esi, ebp
push dword [esp + 0x17c]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x498c20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, 0xfffffff2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esi + 0x8c]
test eax, eax
je case.default.0x4937bb
cmp ebx, dword [esi + 0x88]
jbe case.default.0x4937bb
mov dword [esi + 0x64], 1
cmp eax, 1
jle case.default.0x4937bb
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x174]
mov eax, dword [ecx + edi*8]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + edi*8 + 4]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x10]
mov ebp, dword [ebp + 0x94]
sub eax, edi
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x40], eax
mov eax, ebx
sub eax, dword [esi + 0x78]
sar eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
nop
cmp edx, 0x82
jb 0x499002
mov dword [esi + 0x9c], 2
mov eax, dword [esp + 0x17c]
inc eax
push eax
movzx eax, word [ecx]
push dword [esp + 0x17c]
push esi
movzx eax, byte [eax + 0x4bfe60]
push dword [esp + 0x17c]
push dword [esp + 0x17c]
lea edx, [ecx + eax*2]
mov ecx, ebx
call fcn.00491df0
mov edx, dword [esp + 0x188]
mov esi, eax
add esp, 0x14
cmp esi, 0xfffffc1c
je 0x4990a9
mov ecx, dword [esp + 0x14]
cmp esi, 0xfffffc20
jne 0x499074
movzx eax, word [ecx + 2]
lea eax, [ecx + eax*2]
cmp dword [edx + 0x80], eax
jae 0x499074
cmp word [ecx], 0x71
je 0x499070
cmp word [eax], 0x71
jne 0x499074
xor esi, esi
jmp 0x499078
test esi, esi
jne 0x4990d4
mov dword [edx + 0x94], ebp
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x40]
mov dword [edx + 0xb0], eax
cmp word [ecx], 0x71
mov dword [esp + 0x14], ecx
jne 0x4990a9
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x174]
jmp 0x498ff0
mov ecx, dword [edx + 0xc]
mov eax, dword [esp + 0x54]
mov dword [ecx + edi*8], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [esp + 0x48]
mov dword [ecx + edi*8 + 4], eax
mov eax, dword [esp + 0x174]
mov edx, dword [edx + 0x10]
sub edx, edi
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x30]
mov dword [ecx + edx*4], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
cmp eax, 0xfffffc1c
jne 0x49912a
mov edx, dword [esp + 0x14]
movzx eax, word [edx]
mov ecx, eax
cmp eax, 0x7b
je 0x499118
cmp ecx, 0x71
jne 0x499110
mov ecx, edx
nop dword [eax]
movzx eax, word [edx + 2]
cmp word [ecx + eax*2], 0x71
lea edx, [ecx + eax*2]
mov ecx, edx
je 0x499100
movzx eax, word [edx + 2]
add eax, eax
sub edx, eax
mov eax, dword [esp + 0x174]
xor ecx, ecx
cmp dword [eax + 0xb8], edx
cmove edi, ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
lea edi, [esi + 4]
mov dword [ebp + 0xb4], edi
mov dword [ebp + 0xb0], 0
mov eax, dword [esp + 0x17c]
inc eax
push eax
movzx eax, word [esi]
push dword [esp + 0x17c]
push ebp
movzx ecx, byte [eax + 0x4bfe60]
movzx eax, word [esi + 2]
push dword [esp + 0x17c]
add ecx, eax
push dword [esp + 0x17c]
lea edx, [esi + ecx*2]
mov ecx, ebx
call fcn.00491df0
mov esi, eax
add esp, 0x14
cmp esi, 1
je 0x49919d
cmp esi, 0xfffffc19
je 0x49919d
cmp esi, 0xfffffc1b
jne 0x4991b9
cmp dword [ebp + 0xb0], 0
jne 0x4991b9
mov dword [ebp + 0xb0], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
cmp esi, 0xfffffc1f
jne 0x4990d4
mov edx, dword [ebp + 0x80]
mov ecx, edi
call fcn.0049b060
test eax, eax
jne 0x4990d4
mov dword [ebp + 0x80], ebx
lea eax, [esi - 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x17c]
movzx eax, byte [edx + 0x4bfe60]
push ebp
push edi
push dword [esp + 0x17c]
lea edx, [esi + eax*2]
call fcn.00491df0
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x499252
cmp ecx, 0xfffffc1d
je 0x499252
cmp ecx, 0xfffffc1e
je 0x499252
cmp ecx, 0xfffffc1f
je 0x499252
cmp ecx, 0xfffffc20
mov eax, 0xfffffc1a
cmovne eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, 0xfffffc1a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x17c]
movzx eax, byte [edx + 0x4bfe60]
push ebp
push edi
push dword [esp + 0x17c]
lea edx, [esi + eax*2]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x49929e
cmp eax, 0xfffffc20
jne 0x4970a7
mov eax, 0xfffffc1d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov edx, dword [esp + 0x14]
add esi, 4
mov dword [ebp + 0xb4], esi
mov dword [ebp + 0xb0], 0
mov eax, dword [esp + 0x17c]
inc eax
push eax
movzx eax, word [edx]
push dword [esp + 0x17c]
push ebp
movzx ecx, byte [eax + 0x4bfe60]
movzx eax, word [edx + 2]
add ecx, eax
push edi
push dword [esp + 0x17c]
lea edx, [edx + ecx*2]
mov ecx, ebx
call fcn.00491df0
mov ecx, eax
add esp, 0x14
cmp ecx, 1
je 0x49930a
cmp ecx, 0xfffffc19
jne 0x499319
cmp dword [ebp + 0xb0], 0
jne 0x499319
mov dword [ebp + 0xb0], esi
test ecx, ecx
je 0x49929e
cmp ecx, 0xfffffc20
mov eax, 0xfffffc1d
cmovne eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x17c]
movzx eax, byte [edx + 0x4bfe60]
push ebp
push edi
push dword [esp + 0x17c]
lea edx, [esi + eax*2]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x499379
cmp eax, 0xfffffc1d
je 0x499379
cmp eax, 0xfffffc20
jne 0x4970a7
mov dword [ebp + 0x80], ebx
mov eax, 0xfffffc1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, dword [esp + 0x17c]
mov ecx, ebx
inc eax
push eax
push dword [esp + 0x17c]
movzx eax, byte [edx + 0x4bfe60]
push ebp
push edi
push dword [esp + 0x17c]
lea edx, [esi + eax*2]
call fcn.00491df0
add esp, 0x14
test eax, eax
je 0x49943f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov edx, dword [esp + 0x14]
add esi, 4
mov dword [ebp + 0xb4], esi
mov dword [ebp + 0xb0], 0
mov eax, dword [esp + 0x17c]
inc eax
push eax
movzx eax, word [edx]
push dword [esp + 0x17c]
push ebp
movzx ecx, byte [eax + 0x4bfe60]
movzx eax, word [edx + 2]
add ecx, eax
push edi
push dword [esp + 0x17c]
lea edx, [edx + ecx*2]
mov ecx, ebx
call fcn.00491df0
add esp, 0x14
cmp eax, 1
je 0x499424
cmp eax, 0xfffffc19
jne 0x499433
cmp dword [ebp + 0xb0], 0
jne 0x499433
mov dword [ebp + 0xb0], esi
test eax, eax
jne 0x4970a7
mov esi, dword [esp + 0x14]
mov dword [ebp + 0x80], esi
mov eax, 0xfffffc20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov esi, dword [esp + 0x16c]
cmp ebx, esi
jne 0x499495
cmp edx, 0x99
je 0x499495
cmp dword [ebp + 0xa8], 0
jne 0x499495
cmp dword [ebp + 0x5c], 0
jne case.default.0x4937bb
cmp dword [ebp + 0x60], 0
je 0x499495
mov ecx, dword [ebp + 0x98]
mov eax, dword [ebp + 0x78]
lea eax, [eax + ecx*2]
cmp esi, eax
je case.default.0x4937bb
mov dword [ebp + 0x84], ebx
test edx, edx
mov eax, 0xfffffc19
mov dword [ebp + 0x90], edi
mov ecx, 1
mov dword [ebp + 0x80], esi
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffffeb
pop ebx
add esp, 0x158
ret