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

Disassembly:
sub esp, 0x140
push ebx
push ebp
xor eax, eax
push esi
push edi
cmp dword [esp + 0x158], eax
jne 0x4901c0
cmp dword [esp + 0x16c], eax
jne 0x4901a0
push 1
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x184]
push eax
call fcn.00490160
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea eax, [esp + 0x16c]
sub eax, dword [esp + 0x154]
cdq
xor eax, edx
sub eax, edx
neg eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ebx, dword [esp + 0x164]
mov ecx, dword [ebx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
cmp ecx, dword [ebx + 4]
jae 0x495b0e
mov ebp, dword [esp + 0x154]
jmp 0x4901e5
xor eax, eax
inc ecx
mov dword [ebx], ecx
mov ecx, dword [esp + 0x16c]
cmp ecx, dword [ebx + 8]
jae 0x495b20
cmp dword [ebx + 0x9c], 2
jne 0x490221
mov edx, dword [esp + 0x168]
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x168], ecx
mov dword [ebx + 0x9c], eax
mov esi, dword [esp + 0x158]
movzx eax, word [esi]
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
cmp edx, 0x9b
ja case.0x49024e.98
movzx edi, byte [edx + 0x49809c]
jmp dword [edi*4 + 0x497f54]
mov ebx, dword [esp + 0x164]
cmp dword [ebx + 0x70], ecx
je 0x495ddb
movzx edx, byte [edx + 0x4bc9d0]
movzx eax, word [esi + 2]
add edx, eax
lea ecx, [esi + edx*2]
mov dword [esp + 0x158], ecx
jmp 0x490221
mov ebx, dword [esp + 0x164]
mov edx, dword [ebx + 0xb0]
mov edi, dword [esp + 0x15c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
mov edi, edi
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x160]
mov esi, dword [esp + 0x158]
inc eax
push eax
push ecx
push ebx
push edx
push edi
lea eax, [esi + 4]
push eax
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 1
je 0x490395
cmp eax, 0xfffffc20
jne 0x4902fe
movzx ecx, word [esi + 2]
lea ecx, [esi + ecx*2]
cmp dword [ebx + 0x80], ecx
jae 0x497f46
cmp word [esi], 0x71
je 0x490306
cmp word [ecx], 0x71
jmp 0x490300
test eax, eax
jne 0x497f46
movzx edx, word [esi + 2]
mov ecx, dword [esp + 0x24]
lea eax, [esi + edx*2]
mov dword [ebx + 0xb0], ecx
cmp word [eax], 0x71
mov dword [esp + 0x158], eax
je 0x4902a0
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x7c
je 0x490340
cmp eax, 0x71
jne case.0x49024e.151
jmp 0x490340
mov eax, dword [esp + 0x158]
movzx edx, word [eax + 2]
cmp word [eax + edx*2], 0x71
lea eax, [eax + edx*2]
mov dword [esp + 0x158], eax
je 0x490340
mov esi, dword [esp + 0x158]
cmp word [esi], 0x72
mov eax, dword [ebx + 0x90]
mov ebp, dword [ebx + 0x84]
mov dword [esp + 0x160], eax
je 0x490386
cmp ebp, dword [esp + 0x20]
jne 0x49578d
add esi, 4
mov dword [esp + 0x158], esi
jmp 0x490221
mov edi, dword [ebx + 0x80]
mov dword [esp + 0x15c], edi
jmp 0x49032a
mov dword [esp + 0x24], ecx
jmp 0x490ea9
cmp word [esi + 4], 0x70
movzx edi, word [esi + 2]
mov ebx, dword [esp + 0x164]
jne 0x4904a4
mov ecx, dword [0x4da69c]
test ecx, ecx
je 0x49049a
mov dword [esp + 0xa0], 2
movzx eax, word [esi + 6]
mov dword [esp + 0xa4], eax
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xa8], edx
mov eax, dword [ebx + 0x78]
mov dword [esp + 0xac], eax
mov edx, dword [ebx + 0x7c]
sub edx, dword [ebx + 0x78]
mov eax, dword [esp + 0x15c]
sar edx, 1
mov dword [esp + 0xb0], edx
sub eax, dword [ebx + 0x78]
mov edx, ebp
sar eax, 1
mov dword [esp + 0xb4], eax
sub edx, dword [ebx + 0x78]
sar edx, 1
mov dword [esp + 0xb8], edx
movzx eax, word [esi + 8]
mov dword [esp + 0xc8], eax
movzx edx, word [esi + 0xa]
mov eax, dword [esp + 0x160]
mov dword [esp + 0xcc], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xbc], eax
mov eax, dword [ebx + 0x94]
mov dword [esp + 0xc0], eax
mov edx, dword [ebx + 0xac]
mov dword [esp + 0xc4], edx
mov eax, dword [ebx + 0xb4]
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0xd4], eax
call ecx
add esp, 4
test eax, eax
jg case.0x49024e.151
js 0x497f46
mov edx, dword [esp + 0x14]
add esi, 0xc
mov dword [esp + 0x158], esi
movzx ecx, word [esi + 4]
lea eax, [esi + 4]
cmp ecx, 0x89
je 0x4906aa
cmp ecx, 0x8a
je 0x4906aa
cmp ecx, 0x87
je 0x49053b
cmp ecx, 0x88
je 0x49053b
cmp ecx, 0x8b
jne 0x4904e7
movzx eax, word [esi + 2]
lea eax, [esi + eax*2]
jmp 0x4907e8
mov edx, dword [esp + 0x160]
mov dword [ebx + 0x9c], 1
mov ecx, dword [esp + 0x16c]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push 0
push ebx
push edx
push ecx
push eax
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 1
je 0x495730
test eax, eax
je 0x49052f
cmp eax, 0xfffffc20
jne 0x497f46
mov edx, dword [esp + 0x14]
lea eax, [esi + edi*2]
jmp 0x4907e8
movzx eax, word [esi + 6]
add eax, eax
cmp eax, dword [esp + 0x160]
jge 0x490557
mov edi, dword [ebx + 0xc]
cmp dword [edi + eax*4], 0
jge 0x490695
mov dword [esp + 0x20], 0
cmp ecx, 0x88
jne 0x49065f
mov ecx, dword [ebx + 0x20]
mov esi, dword [ebx + 0x28]
sar eax, 1
xor edi, edi
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x490592
lea ecx, [ecx]
movzx edx, word [esi]
cmp edx, eax
je 0x490592
mov edx, dword [ebx + 0x24]
inc edi
lea esi, [esi + edx*2]
cmp edi, ecx
jl 0x490580
cmp edi, ecx
jge 0x49065f
mov eax, dword [esp + 0x164]
mov eax, dword [eax + 0x28]
mov ebx, esi
mov dword [esp + 0x30], eax
cmp esi, eax
jbe 0x490603
mov ecx, dword [esp + 0x164]
mov eax, dword [ecx + 0x24]
add eax, eax
mov dword [esp + 0x24], eax
mov edi, edi
sub ebx, dword [esp + 0x24]
lea ecx, [esi + 2]
lea eax, [ebx + 2]
call fcn.004993a0
test eax, eax
jne 0x490603
movzx eax, word [ebx]
add eax, eax
cmp eax, dword [esp + 0x160]
jge 0x4905f5
mov edx, dword [esp + 0x164]
mov ecx, dword [edx + 0xc]
cmp dword [ecx + eax*4], 0
jge 0x490684
mov dword [esp + 0x20], 0
cmp ebx, dword [esp + 0x30]
ja 0x4905c0
inc edi
cmp edi, dword [esp + 0x18]
jge 0x49065f
mov edx, dword [esp + 0x164]
mov ebx, dword [edx + 0x24]
lea eax, [esi + 2]
add ebx, ebx
mov dword [esp + 0x30], eax
lea ecx, [ecx]
mov ecx, dword [esp + 0x30]
add esi, ebx
lea eax, [esi + 2]
call fcn.004993a0
test eax, eax
jne 0x49065f
movzx eax, word [esi]
add eax, eax
cmp eax, dword [esp + 0x160]
jge 0x490650
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0xc]
cmp dword [edx + eax*4], 0
jge 0x490688
inc edi
mov dword [esp + 0x20], 0
cmp edi, dword [esp + 0x18]
jl 0x490620
mov eax, dword [esp + 0x158]
movzx eax, word [eax + 2]
mov esi, dword [esp + 0x158]
mov ebx, dword [esp + 0x164]
mov edx, dword [esp + 0x14]
lea eax, [esi + eax*2]
jmp 0x4907dd
mov ebx, edx
jmp 0x49068a
mov ebx, ecx
mov esi, dword [esp + 0x158]
mov edx, dword [esp + 0x14]
mov eax, 2
mov dword [esp + 0x20], 1
lea eax, [esi + eax*2]
jmp 0x4907dd
cmp dword [ebx + 0xa8], 0
jne 0x4906bf
movzx ecx, word [esi + 2]
lea eax, [esi + ecx*2]
jmp 0x4907e8
movzx edx, word [esi + 6]
cmp edx, 0xffff
je 0x490801
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
cmp edx, eax
je 0x490801
mov dword [esp + 0x20], 0
cmp ecx, 0x8a
jne 0x4907b4
mov ecx, dword [esp + 0x164]
mov eax, dword [ecx + 0x20]
mov esi, dword [ecx + 0x28]
xor ebx, ebx
mov dword [esp + 0x18], eax
test eax, eax
jle 0x490722
nop
movzx edi, word [esi]
cmp edi, edx
je 0x490722
mov edi, dword [ecx + 0x24]
inc ebx
lea esi, [esi + edi*2]
cmp ebx, eax
jl 0x490710
cmp ebx, eax
jge 0x4907b4
mov eax, dword [ecx + 0x28]
mov edi, esi
mov dword [esp + 0x34], eax
cmp esi, eax
jbe 0x49076f
mov eax, dword [ecx + 0x24]
add eax, eax
mov dword [esp + 0x24], eax
sub edi, dword [esp + 0x24]
lea ecx, [esi + 2]
lea eax, [edi + 2]
call fcn.004993a0
test eax, eax
jne 0x49076f
movzx ecx, word [edi]
cmp ecx, dword [esp + 0x30]
sete al
mov dword [esp + 0x20], eax
test eax, eax
jne 0x490809
cmp edi, dword [esp + 0x34]
ja 0x490740
inc ebx
cmp ebx, dword [esp + 0x18]
jge 0x4907b4
mov edx, dword [esp + 0x164]
mov edi, dword [edx + 0x24]
lea eax, [esi + 2]
add edi, edi
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
add esi, edi
lea eax, [esi + 2]
call fcn.004993a0
test eax, eax
jne 0x4907b4
movzx ecx, word [esi]
cmp ecx, dword [esp + 0x30]
sete al
mov dword [esp + 0x20], eax
test eax, eax
jne 0x490809
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x490789
mov edx, dword [esp + 0x158]
movzx eax, word [edx + 2]
mov ecx, dword [esp + 0x158]
mov ebx, dword [esp + 0x164]
lea edx, [ecx + eax*2]
mov dword [esp + 0x158], edx
mov eax, edx
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x20], 0
jne 0x495772
cmp word [eax], 0x71
je 0x495772
add eax, 4
mov dword [esp + 0x158], eax
jmp 0x490221
mov dword [esp + 0x20], 1
mov eax, 2
jmp 0x4907bf
mov eax, dword [esp + 0x158]
movzx esi, word [eax + 2]
mov ecx, dword [esp + 0x164]
lea eax, [esi + esi]
mov dword [ecx + 0x94], esi
cmp eax, dword [ecx + 0x14]
jl 0x490844
add dword [esp + 0x158], 4
mov dword [ecx + 0x40], 1
jmp 0x490221
mov edi, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
sub edi, esi
mov esi, dword [edx + edi*4]
mov dword [edx + eax*4], esi
mov edx, ebp
sub edx, dword [ecx + 0x78]
mov ecx, dword [ecx + 0xc]
sar edx, 1
mov dword [ecx + eax*4 + 4], edx
cmp dword [esp + 0x160], eax
jg 0x490873
add eax, 2
mov dword [esp + 0x160], eax
add dword [esp + 0x158], 4
jmp 0x490221
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0xb0]
mov eax, 1
mov dword [esp + 0x24], edx
cmp dword [esi + 0x9c], eax
jne 0x4908aa
mov dword [esp + 0x20], eax
mov dword [esi + 0x9c], ecx
jmp 0x4908ae
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x15c]
mov ebx, dword [esp + 0x160]
lea esp, [esp]
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x158]
inc eax
push eax
push 0
push esi
push ebx
push edi
add ecx, 4
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 1
je 0x490924
cmp eax, 0xfffffc19
je 0x490924
test eax, eax
je 0x4908fd
cmp eax, 0xfffffc20
jne 0x497f46
mov eax, dword [esp + 0x158]
movzx edx, word [eax + 2]
mov ecx, dword [esp + 0x24]
lea eax, [eax + edx*2]
mov dword [esi + 0xb0], ecx
cmp word [eax], 0x71
mov dword [esp + 0x158], eax
je 0x4908c0
jmp 0x490931
mov edx, dword [esi + 0x80]
mov dword [esp + 0x15c], edx
mov eax, dword [esp + 0x158]
cmp word [eax], 0x72
je case.0x49024e.151
cmp dword [esp + 0x20], 0
jne 0x496191
lea ecx, [ecx]
mov eax, dword [esp + 0x158]
movzx ecx, word [eax + 2]
cmp word [eax + ecx*2], 0x71
lea eax, [eax + ecx*2]
mov dword [esp + 0x158], eax
je 0x490950
mov edx, dword [esi + 0x90]
add dword [esp + 0x158], 4
mov dword [esp + 0x160], edx
jmp 0x490221
mov esi, dword [esp + 0x164]
mov eax, dword [esi + 0xb0]
mov dword [esp + 0x24], eax
mov eax, 1
cmp dword [esi + 0x9c], eax
jne 0x4909b0
mov dword [esp + 0x20], eax
mov dword [esi + 0x9c], ecx
jmp 0x4909b4
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x160]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x15c]
mov edi, dword [esp + 0x158]
inc ecx
push ecx
push 0
push esi
push ebx
push edx
lea eax, [edi + 4]
push eax
push ebp
call fcn.00490160
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [esi + 0xb0], ecx
cmp eax, 1
je case.0x49024e.151
cmp eax, 0xfffffc19
je case.0x49024e.151
cmp eax, 0xfffffc1e
je 0x490a40
cmp eax, 0xfffffc1d
je 0x490a40
cmp eax, 0xfffffc1a
je 0x490a40
test eax, eax
je 0x490a26
cmp eax, 0xfffffc20
jne 0x497f46
movzx edx, word [edi + 2]
cmp word [edi + edx*2], 0x71
lea eax, [edi + edx*2]
mov dword [esp + 0x158], eax
jne 0x490a5c
jmp 0x4909bb
mov eax, dword [esp + 0x158]
movzx ecx, word [eax + 2]
cmp word [eax + ecx*2], 0x71
lea eax, [eax + ecx*2]
mov dword [esp + 0x158], eax
je 0x490a40
cmp dword [esp + 0x20], 0
jne 0x496191
add eax, 4
mov dword [esp + 0x158], eax
jmp 0x490221
movzx eax, word [esi + 2]
mov edx, dword [esp + 0x164]
cmp eax, ecx
jle 0x490ab1
mov ecx, dword [edx + 0x78]
sub ebp, 2
dec eax
cmp ebp, ecx
jb case.0x49024e.151
mov di, word [ebp]
mov ebx, 0xfc00
and di, bx
mov ebx, 0xdc00
cmp di, bx
jne 0x490aad
sub ebp, 2
test eax, eax
jg 0x490a88
cmp ebp, dword [edx + 0x88]
jae 0x490abf
mov dword [edx + 0x88], ebp
add esi, 4
mov dword [esp + 0x158], esi
jmp 0x490221
mov esi, dword [0x4da69c]
mov edi, dword [esp + 0x158]
test esi, esi
je 0x490ba4
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x68], 2
movzx edx, word [edi + 2]
mov dword [esp + 0x6c], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x70], eax
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x74], edx
mov eax, dword [ecx + 0x7c]
sub eax, dword [ecx + 0x78]
mov edx, dword [esp + 0x15c]
sar eax, 1
mov dword [esp + 0x78], eax
sub edx, dword [ecx + 0x78]
mov eax, ebp
sar edx, 1
mov dword [esp + 0x7c], edx
sub eax, dword [ecx + 0x78]
sar eax, 1
mov dword [esp + 0x80], eax
movzx edx, word [edi + 8]
mov dword [esp + 0x90], edx
movzx eax, word [edi + 0xa]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x160]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x84], eax
mov edx, dword [ecx + 0x94]
mov dword [esp + 0x88], edx
mov eax, dword [ecx + 0xac]
mov dword [esp + 0x8c], eax
mov ecx, dword [ecx + 0xb4]
mov dword [esp + 0x98], ecx
mov edx, dword [edi + 4]
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0xa0], edx
call esi
add esp, 4
test eax, eax
jg case.0x49024e.151
js 0x497f46
add edi, 0xc
mov dword [esp + 0x158], edi
jmp 0x490221
mov ecx, dword [esp + 0x158]
movzx edx, word [ecx + 2]
mov ebx, dword [esp + 0x164]
mov eax, dword [ebx + 0x74]
lea esi, [eax + edx*2]
cmp esi, eax
jne 0x490bd3
xor ecx, ecx
jmp 0x490bd7
movzx ecx, word [esi + 4]
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x490bf5
cmp ecx, dword [eax + 4]
jne 0x490bef
cmp ebp, dword [eax + 0x10]
je 0x4960ec
mov eax, dword [eax]
test eax, eax
jne 0x490be1
add dword [esp + 0x158], 4
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], ebp
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x40]
mov dword [ebx + 0xa8], edx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x4c], ecx
cmp ecx, 0x1e
jg 0x490c32
lea eax, [esp + 0xd8]
mov dword [esp + 0x48], eax
jmp 0x490c53
lea eax, [ecx*4]
push eax
call dword [0x4d5458]
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
je 0x4960fc
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebx + 0xc]
add ecx, ecx
add ecx, ecx
push ecx
push edx
push eax
call fcn.004a3c00
mov eax, 0x82
add esp, 0xc
cmp word [esi], ax
sbb eax, eax
inc eax
mov dword [esp + 0x20], eax
test eax, eax
je 0x490c82
mov dword [ebx + 0x9c], 2
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x160]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
movzx edx, word [esi]
push ebx
push eax
movzx eax, byte [edx + 0x4bc9d0]
push ecx
lea ecx, [esi + eax*2]
push ecx
push ebp
call fcn.00490160
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
add esp, 0x1c
mov edi, eax
lea eax, [edx*4]
mov edx, dword [ebx + 0xc]
push eax
push ecx
push edx
call fcn.004a3c00
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov dword [ebx + 0xa8], eax
cmp edi, 1
je 0x490d26
cmp edi, 0xfffffc19
je 0x490d26
test edi, edi
je 0x490d01
cmp edi, 0xfffffc20
jne 0x49610c
lea ecx, [esp + 0x40]
mov dword [ebx + 0xa8], ecx
movzx edx, word [esi + 2]
cmp word [esi + edx*2], 0x71
lea esi, [esi + edx*2]
jne 0x496136
mov eax, dword [esp + 0x20]
jmp 0x490c74
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xd8]
cmp eax, ecx
je 0x490d3f
push eax
call dword [0x4d545c]
add esp, 4
mov edx, dword [ebx + 0x80]
mov ebp, dword [ebx + 0x84]
mov dword [esp + 0x15c], edx
jmp 0x490221
mov eax, dword [esp + 0x158]
movzx ecx, word [eax + 2]
cmp word [eax + ecx*2], 0x71
lea eax, [eax + ecx*2]
mov dword [esp + 0x158], eax
je case.0x49024e.113
jmp 0x490221
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
mov esi, dword [esp + 0x158]
inc edx
push edx
mov edx, dword [esp + 0x164]
push eax
mov eax, dword [esp + 0x164]
push ecx
push edx
push eax
add esi, 2
push esi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
jmp 0x490dd0
movzx ecx, word [esi + 2]
cmp word [esi + ecx*2], 0x71
lea esi, [esi + ecx*2]
je 0x490dd0
add esi, 4
mov dword [esp + 0x158], esi
jmp 0x490221
mov esi, dword [esp + 0x158]
add esi, 2
mov eax, esi
lea esp, [esp]
movzx edx, word [eax + 2]
cmp word [eax + edx*2], 0x71
lea eax, [eax + edx*2]
je 0x490e00
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
inc ecx
push ecx
mov ecx, dword [esp + 0x168]
push edx
mov edx, dword [esp + 0x168]
push ecx
mov ecx, dword [esp + 0x168]
push edx
push ecx
add eax, 4
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov dword [esp + 0x158], esi
jmp 0x490221
lea eax, [esi + 2]
jmp 0x490e60
movzx edx, word [eax + 2]
cmp word [eax + edx*2], 0x71
lea eax, [eax + edx*2]
je 0x490e60
add eax, 4
mov dword [esp + 0x158], eax
jmp 0x490221
movzx eax, word [esi + 2]
add esi, 2
mov dword [esp + 0x158], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], 1
cmp eax, 0x80
je 0x490ea9
cmp eax, 0x85
jne 0x49105b
movzx edx, word [esi + 4]
mov ebx, dword [esp + 0x164]
lea ecx, [edx + edx]
mov dword [esp + 0x28], edx
cmp ecx, dword [ebx + 0x14]
jge 0x491053
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + ecx*4]
mov ecx, dword [eax + ecx*4 + 4]
mov esi, dword [esp + 0x158]
sub esi, dword [ebx + 0x74]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x10]
sar esi, 1
sub ecx, edx
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
mov edx, dword [ebx + 0x10]
sub edx, dword [esp + 0x28]
mov eax, dword [ebx + 0xc]
mov edi, dword [esp + 0x158]
mov ecx, ebp
sub ecx, dword [ebx + 0x78]
sar ecx, 1
cmp dword [esp + 0x14], 0x82
mov dword [eax + edx*4], ecx
jl 0x490f2f
mov dword [ebx + 0x9c], 2
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x160]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
movzx edx, word [edi]
push ebx
push eax
movzx eax, byte [edx + 0x4bc9d0]
push ecx
lea ecx, [edi + eax*2]
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 0xfffffc1b
jne 0x490fa6
mov edx, dword [ebx + 0x90]
mov eax, dword [ebx + 0x74]
mov ebp, dword [ebx + 0x84]
mov dword [esp + 0x160], edx
mov edx, dword [ebx + 0x94]
lea ecx, [eax + esi*2]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 1
jmp 0x490f00
cmp eax, 0xfffffc20
jne 0x490fcc
movzx ecx, word [edi + 2]
lea ecx, [edi + ecx*2]
cmp dword [ebx + 0x80], ecx
jae 0x497f46
cmp word [edi], 0x71
je 0x490fd4
cmp word [ecx], 0x71
jmp 0x490fce
test eax, eax
jne 0x497f46
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x94], edx
movzx eax, word [edi + 2]
cmp word [edi + eax*2], 0x71
lea eax, [edi + eax*2]
mov dword [esp + 0x158], eax
je 0x490f00
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x49102a
mov ecx, dword [esp + 0x28]
mov esi, dword [ebx + 0xc]
mov edi, dword [esp + 0x34]
lea eax, [ecx + ecx]
mov dword [esi + eax*4], edi
mov esi, dword [ebx + 0xc]
mov edi, dword [esp + 0x1c]
mov dword [esi + eax*4 + 4], edi
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [ebx + 0xc]
mov dword [ecx + eax*4], esi
cmp dword [esp + 0x24], 0
jne 0x491039
test edx, edx
je case.0x49024e.151
add dword [esp + 0x158], 4
jmp 0x490221
mov ebx, dword [esp + 0x164]
mov dword [esp + 0x24], ecx
jmp 0x491062
xor ecx, ecx
mov dword [esp + 0x24], ecx
jmp 0x491062
mov ebx, dword [esp + 0x164]
mov edi, dword [esp + 0x164]
mov eax, esi
sub eax, dword [ebx + 0x74]
mov esi, dword [esp + 0x158]
mov ebx, dword [esp + 0x160]
sar eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x14], 0x82
jl 0x49109a
mov dword [edi + 0x9c], 2
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x15c]
inc edx
push edx
movzx edx, word [esi]
push eax
movzx eax, byte [edx + 0x4bc9d0]
push edi
push ebx
push ecx
lea ecx, [esi + eax*2]
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 0xfffffc1b
jne 0x4910fa
mov ebx, dword [edi + 0x90]
mov edx, dword [edi + 0x74]
mov eax, dword [esp + 0x30]
mov ebp, dword [edi + 0x84]
mov dword [esp + 0x160], ebx
lea esi, [edx + eax*2]
mov dword [esp + 0x18], 1
jmp 0x491086
cmp eax, 0xfffffc20
jne 0x491120
movzx ecx, word [esi + 2]
lea ecx, [esi + ecx*2]
cmp dword [edi + 0x80], ecx
jae 0x497f46
cmp word [esi], 0x71
je 0x491128
cmp word [ecx], 0x71
jmp 0x491122
test eax, eax
jne 0x497f46
movzx edx, word [esi + 2]
cmp word [esi + edx*2], 0x71
lea esi, [esi + edx*2]
je 0x491086
cmp dword [esp + 0x18], 0
jne 0x49114c
cmp dword [esp + 0x24], 0
je case.0x49024e.151
add esi, 4
mov dword [esp + 0x158], esi
jmp 0x490221
mov ecx, dword [esp + 0x158]
movzx eax, word [ecx + 2]
add eax, eax
mov edi, ecx
sub edi, eax
movzx eax, word [edi]
mov edx, 0x82
mov dword [esp + 0x18], edi
cmp ax, dx
jae 0x49118c
cmp eax, 0x7b
je 0x49118c
mov dword [esp + 0x20], 0
jmp 0x4911a3
mov edx, dword [esp + 0x168]
mov esi, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp + 0x20], esi
mov dword [esp + 0x168], edx
cmp eax, 0x77
jb 0x4911b1
cmp eax, 0x7a
jbe 0x49616a
cmp eax, 0x7c
je 0x49616a
cmp eax, 0x7f
je 0x4911e1
mov edx, 0x84
cmp ax, dx
je 0x4911e1
mov edx, 0x80
cmp ax, dx
je 0x4911e1
mov edx, 0x85
cmp ax, dx
jne 0x49127f
movzx eax, word [edi + 4]
mov ebx, dword [esp + 0x164]
cmp dword [ebx + 0xa8], 0
mov dword [esp + 0x28], eax
lea edx, [eax + eax]
je 0x49120b
mov esi, dword [ebx + 0xa8]
cmp dword [esi + 4], eax
je 0x4961a1
mov esi, dword [esp + 0x160]
mov dword [ebx + 0x94], eax
cmp edx, dword [ebx + 0x14]
jl 0x491229
mov dword [ebx + 0x40], 1
jmp 0x49128d
cmp edx, esi
jle 0x49124a
mov eax, dword [ebx + 0xc]
lea edi, [eax + esi*4]
lea ecx, [eax + edx*4]
cmp edi, ecx
jae 0x491246
sub ecx, edi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + ecx*4]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebx + 0xc]
mov eax, ebp
sub eax, dword [ebx + 0x78]
sar eax, 1
mov dword [ecx + edx*4 + 4], eax
mov ecx, dword [esp + 0x158]
cmp esi, edx
jg 0x49128d
lea esi, [edx + 2]
mov dword [esp + 0x160], esi
jmp 0x49128d
mov esi, dword [esp + 0x160]
mov ebx, dword [esp + 0x164]
cmp word [ecx], 0x72
je 0x49129d
cmp ebp, dword [esp + 0x20]
jne 0x495a24
cmp word [edi], 0x7b
je 0x496266
add ecx, 4
mov dword [esp + 0x158], ecx
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x44], ecx
je 0x4912d4
cmp ebp, dword [eax + 0x78]
je case.0x49024e.151
jmp 0x4912d4
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x78]
jne case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x44], ecx
je 0x491301
cmp ebp, dword [eax + 0x78]
je case.0x49024e.151
mov edx, dword [eax + 0x78]
cmp ebp, edx
je 0x491380
cmp ebp, dword [eax + 0x7c]
je case.0x49024e.151
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x491349
cmp ebp, edx
jbe case.0x49024e.151
push 1
push ecx
lea esi, [eax + 0x1c]
mov ecx, ebp
call fcn.00499510
add esp, 8
test eax, eax
je case.0x49024e.151
add dword [esp + 0x158], 2
jmp 0x490221
mov esi, dword [eax + 0x1c]
mov ecx, dword [eax + 0x78]
lea edx, [esi + esi]
add ecx, edx
cmp ebp, ecx
jb case.0x49024e.151
mov ecx, ebp
sub ecx, edx
mov dx, word [ecx]
cmp dx, word [eax + 0x2c]
jne case.0x49024e.151
cmp esi, 1
je 0x491380
mov cx, word [ecx + 2]
cmp cx, word [eax + 0x2e]
jne case.0x49024e.151
add dword [esp + 0x158], 2
jmp 0x490221
mov eax, dword [esp + 0x164]
mov edx, dword [eax + 0x98]
mov eax, dword [eax + 0x78]
lea ecx, [eax + edx*2]
cmp ebp, ecx
jne case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
add esi, 2
mov dword [esp + 0x15c], ebp
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x491458
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x491415
mov edx, dword [eax + 0x7c]
push 1
push ecx
lea esi, [eax + 0x1c]
mov ecx, ebp
call fcn.00499450
add esp, 8
test eax, eax
je case.0x49024e.151
mov esi, dword [esp + 0x158]
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ecx, dword [eax + 0x1c]
mov edi, dword [eax + 0x7c]
lea edx, [ecx + ecx]
sub edi, edx
cmp ebp, edi
ja case.0x49024e.151
mov dx, word [ebp]
cmp dx, word [eax + 0x2c]
jne case.0x49024e.151
cmp ecx, 1
je 0x491485
mov cx, word [ebp + 2]
cmp cx, word [eax + 0x2e]
jne case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
cmp dword [eax + 0x48], ecx
jne case.0x49024e.151
cmp dword [eax + 0x8c], ecx
je 0x491485
cmp ebp, dword [eax + 0x88]
jbe 0x491485
mov ecx, 1
mov dword [eax + 0x64], ecx
cmp dword [eax + 0x8c], ecx
jg 0x4962df
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ebx, dword [esp + 0x164]
cmp dword [ebx + 0x48], ecx
jne case.0x49024e.151
cmp dword [ebx + 0x58], ecx
je 0x4914f5
jmp 0x4914b2
mov ebx, dword [esp + 0x164]
cmp ebp, dword [ebx + 0x7c]
jb case.0x49024e.151
cmp dword [ebx + 0x8c], ecx
je 0x4914df
cmp ebp, dword [ebx + 0x88]
jbe 0x4914df
mov eax, 1
mov dword [ebx + 0x64], eax
cmp dword [ebx + 0x8c], eax
jg 0x4962df
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ebx, dword [esp + 0x164]
cmp ebp, dword [ebx + 0x7c]
jae 0x491566
mov eax, dword [ebx + 0x18]
lea esi, [ebx + 0x1c]
cmp eax, ecx
je 0x491522
mov edx, dword [ebx + 0x7c]
push 1
push eax
mov ecx, ebp
call fcn.00499450
add esp, 8
test eax, eax
je case.0x49024e.151
jmp 0x491555
mov eax, dword [esi]
mov ecx, dword [ebx + 0x7c]
lea edx, [eax + eax]
sub ecx, edx
cmp ebp, ecx
ja case.0x49024e.151
mov dx, word [ebp]
cmp dx, word [ebx + 0x2c]
jne case.0x49024e.151
cmp eax, 1
je 0x491555
mov ax, word [ebp + 2]
cmp ax, word [ebx + 0x2e]
jne case.0x49024e.151
mov ecx, dword [esi]
mov edx, dword [ebx + 0x7c]
add ecx, ecx
sub edx, ecx
cmp ebp, edx
jne case.0x49024e.151
cmp dword [ebx + 0x8c], 0
je 0x49158b
cmp ebp, dword [ebx + 0x88]
jbe 0x49158b
mov eax, 1
mov dword [ebx + 0x64], eax
cmp dword [ebx + 0x8c], eax
jg 0x4962df
add dword [esp + 0x158], 2
jmp 0x490221
mov edx, dword [esp + 0x164]
cmp ebp, dword [edx + 0x78]
je 0x491664
mov ax, word [ebp - 2]
lea ecx, [ebp - 2]
mov edi, 0xfc00
and ax, di
mov edi, 0xdc00
cmp ax, di
jne 0x4915c4
sub ecx, 2
cmp ecx, dword [edx + 0x88]
jae 0x4915d2
mov dword [edx + 0x88], ecx
movzx eax, word [ecx]
mov edi, eax
and edi, 0xfc00
cmp edi, 0xd800
jne 0x4915fe
movzx ecx, word [ecx + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
cmp dword [edx + 0x54], 0
je 0x49164d
cmp eax, 0x5f
jne 0x491611
lea ecx, [eax - 0x5e]
jmp 0x491666
mov ecx, eax
shr ecx, 7
movzx ecx, byte [ecx + 0x4be2f8]
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [ecx*2 + 0x4c04f8]
movzx ecx, byte [eax*8 + 0x4bd219]
mov eax, dword [ecx*4 + 0x4bca70]
cmp eax, 1
je 0x491646
cmp eax, 3
jne 0x491664
mov ecx, 1
jmp 0x491666
cmp eax, 0x100
jae 0x491664
mov ecx, dword [edx + 0x3c]
test byte [eax + ecx], 0x10
je 0x491664
mov ecx, 1
jmp 0x491666
xor ecx, ecx
cmp ebp, dword [edx + 0x7c]
jb 0x4916b5
cmp dword [edx + 0x8c], 0
je 0x491690
cmp ebp, dword [edx + 0x88]
jbe 0x491690
mov eax, 1
mov dword [edx + 0x64], eax
cmp dword [edx + 0x8c], eax
jg 0x4962df
xor eax, eax
mov dx, word [esi]
add esi, 2
mov dword [esp + 0x158], esi
cmp dx, 5
jne 0x491759
xor edx, edx
cmp eax, ecx
sete dl
jmp 0x491760
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
cmp edi, 0xd800
jne 0x4916e2
movzx edi, word [ebp + 2]
and eax, 0x3ff
and edi, 0x3ff
shl eax, 0xa
or eax, edi
add eax, 0x10000
cmp dword [edx + 0x54], 0
je 0x491737
cmp eax, 0x5f
jne 0x4916f4
mov eax, 1
jmp 0x491692
mov edx, eax
shr edx, 7
movzx edx, byte [edx + 0x4be2f8]
and eax, 0x7f
shl edx, 7
add edx, eax
movzx eax, word [edx*2 + 0x4c04f8]
movzx edx, byte [eax*8 + 0x4bd219]
mov eax, dword [edx*4 + 0x4bca70]
cmp eax, 1
je 0x49172d
cmp eax, 3
jne 0x491690
mov eax, 1
jmp 0x491692
cmp eax, 0x100
jae 0x491690
mov edx, dword [edx + 0x3c]
test byte [eax + edx], 0x10
je 0x491690
mov eax, 1
jmp 0x491692
xor edx, edx
cmp eax, ecx
setne dl
mov eax, edx
test eax, eax
je 0x490221
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ebx, dword [esp + 0x164]
mov eax, dword [ebx + 0x18]
cmp eax, ecx
je 0x4917b4
cmp ebp, dword [ebx + 0x7c]
jae 0x4917ed
mov edx, dword [ebx + 0x7c]
push 1
lea esi, [ebx + 0x1c]
push eax
mov ecx, ebp
call fcn.00499450
add esp, 8
test eax, eax
jne case.0x49024e.151
mov esi, dword [esp + 0x158]
xor ecx, ecx
jmp 0x4917ed
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x7c]
lea edx, [eax + eax]
sub edi, edx
cmp ebp, edi
ja 0x4917ed
mov dx, word [ebp]
cmp dx, word [ebx + 0x2c]
jne 0x4917ed
cmp eax, 1
je case.0x49024e.151
mov ax, word [ebp + 2]
cmp ax, word [ebx + 0x2e]
je case.0x49024e.151
jmp 0x4917ed
mov ebx, dword [esp + 0x164]
mov eax, dword [ebx + 0x7c]
cmp ebp, eax
jae 0x4962b3
add ebp, 2
cmp ebp, eax
jae 0x491818
mov cx, word [ebp]
mov edx, 0xfc00
and cx, dx
mov eax, 0xdc00
cmp cx, ax
jne 0x491818
add ebp, 2
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x4962ef
add ebp, 2
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ecx, dword [esp + 0x164]
cmp ebp, dword [ecx + 0x7c]
jae 0x49632b
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x49188c
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
cmp eax, 0x100
jae 0x4918a0
mov ecx, dword [ecx + 0x3c]
test byte [eax + ecx], 4
jne case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ecx, dword [esp + 0x164]
cmp ebp, dword [ecx + 0x7c]
jae 0x49632b
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x4918f2
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
cmp eax, 0xff
ja case.0x49024e.151
mov ecx, dword [ecx + 0x3c]
test byte [eax + ecx], 4
je case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ecx, dword [esp + 0x164]
cmp ebp, dword [ecx + 0x7c]
jae 0x49632b
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x49195c
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
cmp eax, 0x100
jae 0x491970
mov ecx, dword [ecx + 0x3c]
test byte [eax + ecx], 1
jne case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ecx, dword [esp + 0x164]
cmp ebp, dword [ecx + 0x7c]
jae 0x49632b
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x4919c2
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
cmp eax, 0xff
ja case.0x49024e.151
mov ecx, dword [ecx + 0x3c]
test byte [eax + ecx], 1
je case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ecx, dword [esp + 0x164]
cmp ebp, dword [ecx + 0x7c]
jae 0x49632b
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x491a2c
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
cmp eax, 0x100
jae 0x491a40
mov ecx, dword [ecx + 0x3c]
test byte [eax + ecx], 0x10
jne case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov ecx, dword [esp + 0x164]
cmp ebp, dword [ecx + 0x7c]
jae 0x49632b
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x491a92
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
cmp eax, 0xff
ja case.0x49024e.151
mov ecx, dword [ecx + 0x3c]
test byte [eax + ecx], 0x10
je case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov edx, dword [esp + 0x164]
mov ecx, dword [edx + 0x7c]
cmp ebp, ecx
jae 0x496368
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
add ebp, 2
cmp edi, 0xd800
jne 0x491afe
movzx edi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edi, 0x3ff
or eax, edi
add eax, 0x10000
add ebp, 2
cmp eax, 0xd
ja 0x491b32
je 0x491b15
cmp eax, 0xa
je 0x491b59
jbe case.0x49024e.151
cmp eax, 0xc
jmp 0x491b49
cmp ebp, ecx
jae 0x491b59
cmp word [ebp], 0xa
jne 0x491b59
add ebp, 2
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
cmp eax, 0x85
je 0x491b4f
cmp eax, 0x2027
jbe case.0x49024e.151
cmp eax, 0x2029
ja case.0x49024e.151
cmp dword [edx + 0x68], 0
jne case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x4962ef
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x491bab
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
cmp eax, 0x180e
ja 0x491bda
je case.0x49024e.151
cmp eax, 0xa0
ja 0x491bd3
je case.0x49024e.151
cmp eax, 9
je case.0x49024e.151
cmp eax, 0x20
jmp 0x491c05
cmp eax, 0x1680
jmp 0x491c05
cmp eax, 0x205f
ja 0x491c00
je case.0x49024e.151
cmp eax, 0x2000
jb 0x491c0b
cmp eax, 0x200a
jbe case.0x49024e.151
cmp eax, 0x202f
jmp 0x491c05
cmp eax, 0x3000
je case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x4962ef
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x491c5d
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
cmp eax, 0x180e
ja 0x491c80
je 0x491cad
cmp eax, 0xa0
ja 0x491c79
je 0x491cad
cmp eax, 9
je 0x491cad
cmp eax, 0x20
jmp 0x491ca7
cmp eax, 0x1680
jmp 0x491ca7
cmp eax, 0x205f
ja 0x491ca2
je 0x491cad
cmp eax, 0x2000
jb case.0x49024e.151
cmp eax, 0x200a
jbe 0x491cad
cmp eax, 0x202f
jmp 0x491ca7
cmp eax, 0x3000
jne case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x4962ef
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x491cff
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
cmp eax, 0x85
ja 0x491d16
je case.0x49024e.151
cmp eax, 0xa
jb 0x491d28
cmp eax, 0xd
jmp 0x491d22
cmp eax, 0x2028
jb 0x491d28
cmp eax, 0x2029
jbe case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x4962ef
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x491d7a
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
cmp eax, 0x85
ja 0x491d91
je 0x491da7
cmp eax, 0xa
jb case.0x49024e.151
cmp eax, 0xd
jmp 0x491da1
cmp eax, 0x2028
jb case.0x49024e.151
cmp eax, 0x2029
ja case.0x49024e.151
add esi, 2
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x4962ef
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x491df9
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
mov edx, eax
shr edx, 7
movzx ecx, byte [edx + 0x4be2f8]
shl ecx, 7
mov edx, eax
and edx, 0x7f
add ecx, edx
movzx edx, word [esi + 2]
movzx ecx, word [ecx*2 + 0x4c04f8]
lea ecx, [ecx*8 + 0x4bd218]
cmp edx, 8
ja case.default.0x491e2b
jmp dword [edx*4 + 0x498138]
cmp dword [esp + 0x14], 0xf
jmp 0x491f5b
mov cl, byte [ecx + 1]
cmp cl, 9
je 0x491f4a
cmp cl, 5
je 0x491f4a
cmp cl, 8
je 0x491f4a
xor eax, eax
jmp 0x491f4f
movzx edx, byte [ecx + 1]
movzx eax, word [esi + 4]
xor ecx, ecx
cmp eax, dword [edx*4 + 0x4bca70]
setne cl
xor edx, edx
cmp dword [esp + 0x14], 0x10
sete dl
cmp ecx, edx
jmp 0x491f5b
movzx eax, byte [ecx + 1]
xor ecx, ecx
cmp word [esi + 4], ax
setne cl
xor edx, edx
cmp dword [esp + 0x14], 0x10
sete dl
cmp ecx, edx
jmp 0x491f5b
movzx eax, byte [ecx]
xor ecx, ecx
cmp word [esi + 4], ax
setne cl
xor edx, edx
cmp dword [esp + 0x14], 0x10
sete dl
cmp ecx, edx
jmp 0x491f5b
movzx eax, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4bca70]
cmp eax, 1
je 0x491f4a
cmp eax, 3
je 0x491f4a
xor eax, eax
jmp 0x491f4f
movzx edx, byte [ecx + 1]
cmp dword [edx*4 + 0x4bca70], 6
je 0x491f4a
cmp eax, 9
je 0x491f4a
cmp eax, 0xa
je 0x491f4a
cmp eax, 0xc
je 0x491f4a
cmp eax, 0xd
je 0x491f4a
xor eax, eax
jmp 0x491f4f
movzx edx, byte [ecx + 1]
cmp dword [edx*4 + 0x4bca70], 6
je 0x491f4a
cmp eax, 9
je 0x491f4a
cmp eax, 0xa
je 0x491f4a
cmp eax, 0xb
jmp 0x491eff
movzx edx, byte [ecx + 1]
mov ecx, dword [edx*4 + 0x4bca70]
cmp ecx, 1
je 0x491f4a
cmp ecx, 3
je 0x491f4a
cmp eax, 0x5f
je 0x491f4a
xor eax, eax
jmp 0x491f4f
mov eax, 1
xor ecx, ecx
cmp dword [esp + 0x14], 0xf
sete cl
cmp eax, ecx
je case.0x49024e.151
add esi, 6
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x164]
mov edi, dword [eax + 0x7c]
cmp ebp, edi
jae 0x4962ef
movzx eax, word [ebp]
mov ecx, eax
mov edx, 2
and ecx, 0xfc00
add ebp, edx
cmp ecx, 0xd800
jne 0x491fb8
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, edx
mov ecx, eax
shr ecx, 7
movzx ecx, byte [ecx + 0x4be2f8]
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x4c04f8]
movzx ecx, byte [eax*8 + 0x4bd219]
cmp dword [ecx*4 + 0x4bca70], edx
je case.0x49024e.151
cmp ebp, edi
jae 0x49205a
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
mov ecx, 1
cmp ebx, 0xd800
jne 0x492025
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, edx
mov ebx, eax
shr ebx, 7
movzx ebx, byte [ebx + 0x4be2f8]
and eax, 0x7f
shl ebx, 7
add ebx, eax
movzx eax, word [ebx*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
cmp dword [eax*4 + 0x4bca70], edx
jne 0x49205a
lea ebp, [ebp + ecx*2]
cmp ebp, edi
jb 0x491ff1
add esi, edx
mov dword [esp + 0x158], esi
jmp 0x490221
mov eax, dword [esp + 0x158]
movzx esi, word [eax + 2]
xor ecx, ecx
cmp edx, 0x6e
sete cl
add esi, esi
add eax, 4
mov dword [esp + 0x158], eax
mov dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x160]
jge 0x4920af
mov edx, dword [esp + 0x164]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + esi*4]
lea eax, [eax + esi*4]
test ecx, ecx
js 0x4920af
mov ebx, dword [eax + 4]
sub ebx, ecx
jmp 0x4920c0
mov ecx, dword [esp + 0x164]
mov ebx, dword [ecx + 0x50]
neg ebx
sbb ebx, ebx
neg ebx
dec ebx
mov ecx, dword [esp + 0x158]
movzx edi, word [ecx]
mov eax, edi
lea edx, [eax - 0x62]
cmp edx, 7
ja case.default.0x4920df
movzx edx, byte [edx + 0x498164]
jmp dword [edx*4 + 0x49815c]
movsx edi, byte [eax + 0x4cc1d6]
add ecx, 2
mov dword [esp + 0x158], ecx
lea ecx, [eax - 0x62]
movsx eax, byte [eax + 0x4cc1de]
and ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x492148
mov dword [esp + 0x14], connect
jmp 0x492148
xor eax, eax
cmp edi, 0x69
movzx edi, word [ecx + 2]
sete al
mov dword [esp + 0x1c], eax
movzx eax, word [ecx + 4]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x49213e
mov dword [esp + 0x14], connect
add ecx, 6
mov dword [esp + 0x158], ecx
test ebx, ebx
je 0x490221
jns 0x49215a
test edi, edi
je 0x490221
mov dword [esp + 0x28], 1
cmp edi, 1
jl 0x4921a2
jmp 0x492170
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x164]
push ecx
push esi
mov eax, ebx
mov ecx, ebp
call fcn.0048ffb0
add esp, 8
test eax, eax
js 0x4963b5
lea ebp, [ebp + eax*2]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, edi
jle 0x492170
mov eax, dword [esp + 0x14]
cmp edi, eax
je 0x490221
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x28], edi
je 0x496446
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
mov edx, dword [esp + 0x164]
push eax
mov eax, dword [esp + 0x164]
push ecx
mov ecx, dword [esp + 0x164]
push edx
push eax
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov edi, dword [esp + 0x164]
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x18]
push eax
push esi
mov edx, edi
mov eax, ebx
mov ecx, ebp
call fcn.0048ffb0
add esp, 8
test eax, eax
js 0x496400
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
inc dword [esp + 0x28]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
mov edx, dword [esp + 0x160]
lea ebp, [ebp + eax*2]
mov eax, dword [esp + 0x168]
push edi
push eax
push ecx
push edx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x492206
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x18]
push edx
push esi
mov esi, dword [esp + 0x16c]
mov edx, esi
mov eax, ebx
mov ecx, ebp
call fcn.0048ffb0
add esp, 8
test eax, eax
js 0x496531
lea ebp, [ebp + eax*2]
jmp 0x490221
movzx ecx, word [esi + 0x22]
lea eax, [esi + 2]
add esi, 0x22
mov dword [esp + 0x24], eax
mov eax, ecx
lea edx, [eax - 0x62]
mov dword [esp + 0x158], esi
cmp edx, 7
ja case.default.0x4922d0
movzx edx, byte [edx + 0x498174]
jmp dword [edx*4 + 0x49816c]
movsx edi, byte [eax + 0x4cc1de]
add dword [esp + 0x158], 2
movsx esi, byte [eax + 0x4cc1d6]
lea ecx, [eax - 0x62]
and ecx, 1
mov dword [esp + 0x1c], ecx
test edi, edi
jne 0x492339
mov edi, closesocket
jmp 0x492339
xor eax, eax
cmp ecx, 0x69
sete al
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x158]
movzx edi, word [eax + 4]
movzx esi, word [eax + 2]
test edi, edi
jne 0x492326
mov edi, closesocket
add eax, 6
mov dword [esp + 0x158], eax
jmp 0x492339
mov edi, 1
mov esi, edi
mov edx, 1
cmp esi, edx
jl 0x4923c2
mov ecx, dword [esp + 0x164]
mov eax, dword [ecx + 0x7c]
mov dword [esp + 0x18], eax
cmp ebp, dword [esp + 0x18]
jae 0x496577
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x492391
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
cmp eax, 0xff
jbe 0x49239f
cmp dword [esp + 0x14], 0x6a
jmp 0x4923b7
mov ecx, eax
and ecx, 7
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp + 0x24]
shr eax, 3
mov al, byte [eax + ecx]
test al, bl
je case.0x49024e.151
inc edx
cmp edx, esi
jle 0x492354
cmp esi, edi
je 0x490221
cmp dword [esp + 0x1c], 0
je 0x496620
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov ebx, dword [esp + 0x160]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
mov ecx, dword [esp + 0x160]
push edx
push ebx
push eax
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp esi, edi
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x492462
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
cmp eax, 0xff
jbe 0x4965bb
cmp dword [esp + 0x14], 0x6a
jmp 0x4965d3
movzx edx, word [esi + 2]
lea ecx, [esi + 4]
lea ebx, [esi + edx*2]
mov dword [esp + 0x24], ecx
movzx ecx, word [ebx]
mov eax, ecx
lea edx, [eax - 0x62]
mov dword [esp + 0x158], ebx
cmp edx, 7
ja case.default.0x4924a4
movzx edx, byte [edx + 0x498184]
jmp dword [edx*4 + 0x49817c]
movsx edi, byte [eax + 0x4cc1de]
movsx esi, byte [eax + 0x4cc1d6]
lea ecx, [eax - 0x62]
add ebx, 2
and ecx, 1
mov dword [esp + 0x158], ebx
mov dword [esp + 0x1c], ecx
test edi, edi
jne 0x492508
mov edi, closesocket
jmp 0x492508
movzx edi, word [ebx + 4]
movzx esi, word [ebx + 2]
xor eax, eax
cmp ecx, 0x69
sete al
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x4924f5
mov edi, closesocket
add ebx, 6
mov dword [esp + 0x158], ebx
jmp 0x492508
mov edi, 1
mov esi, edi
mov dword [esp + 0x28], 1
cmp esi, 1
jl 0x492588
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x7c]
mov dword [esp + 0x18], edx
cmp ebp, dword [esp + 0x18]
jae 0x4967a3
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x492564
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
push 1
push eax
mov eax, dword [esp + 0x2c]
call fcn.00499650
add esp, 8
test eax, eax
je case.0x49024e.151
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, esi
jle 0x492527
cmp esi, edi
je 0x490221
cmp dword [esp + 0x1c], 0
je 0x4967d6
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
mov edx, dword [esp + 0x164]
push eax
mov eax, dword [esp + 0x164]
push ecx
push edx
push eax
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
jmp 0x4925e0
mov eax, dword [esp + 0x164]
cmp esi, edi
jge case.0x49024e.151
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x49262b
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
push 1
push eax
mov eax, dword [esp + 0x2c]
call fcn.00499650
add esp, 8
test eax, eax
je case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x164]
push ecx
mov ecx, dword [esp + 0x164]
push edx
push eax
push ecx
push ebx
push ebp
inc esi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x4925e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov cx, word [esi + 2]
add esi, 2
mov edx, 0xfc00
and cx, dx
mov edx, 0xd800
mov eax, 1
mov dword [esp + 0x158], esi
cmp cx, dx
jne 0x4926b3
mov eax, 2
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x7c]
sub edx, ebp
sar edx, 1
cmp eax, edx
jg 0x49692c
test eax, eax
jle 0x490221
mov cx, word [esi]
mov dx, word [ebp]
add esi, 2
dec eax
add ebp, 2
mov dword [esp + 0x158], esi
cmp cx, dx
jne case.0x49024e.151
test eax, eax
jg 0x4926d1
jmp 0x490221
mov edi, dword [esp + 0x164]
cmp ebp, dword [edi + 0x7c]
jae 0x496961
movzx eax, word [esi + 2]
mov ecx, eax
and ecx, 0xfc00
mov edx, 1
cmp ecx, 0xd800
jne 0x49273f
movzx edx, word [esi + 4]
and eax, 0x3ff
and edx, 0x3ff
shl eax, 0xa
or eax, edx
add eax, 0x10000
mov edx, 2
movzx ecx, word [ebp]
cmp eax, 0x80
jae 0x49277c
mov edx, 0xff
cmp cx, dx
ja 0x49275b
mov edx, dword [edi + 0x34]
movzx ecx, byte [edx + ecx]
mov edx, dword [edi + 0x34]
movzx eax, byte [edx + eax]
cmp eax, ecx
jne case.0x49024e.151
add esi, 4
mov dword [esp + 0x158], esi
add ebp, 2
jmp 0x490221
mov edi, ecx
and edi, 0xfc00
add ebp, 2
cmp edi, 0xd800
jne 0x4927ad
movzx edi, word [ebp]
and ecx, 0x3ff
shl ecx, 0xa
and edi, 0x3ff
or ecx, edi
add ecx, 0x10000
add ebp, 2
lea edx, [esi + edx*2 + 2]
mov dword [esp + 0x158], edx
cmp eax, ecx
je 0x490221
mov edx, eax
shr edx, 7
movzx edx, byte [edx + 0x4be2f8]
shl edx, 7
mov esi, eax
and esi, 0x7f
add edx, esi
movzx edx, word [edx*2 + 0x4c04f8]
mov edx, dword [edx*8 + 0x4bd21c]
add edx, eax
cmp ecx, edx
je 0x490221
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
movzx edi, word [esi + 2]
add esi, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x158], esi
jmp 0x4928da
mov dword [esp + 0x20], 1
movzx ebx, word [esi + 2]
xor edi, edi
mov dword [esp + 0x14], ebx
cmp eax, 0x28
je 0x492833
mov dword [esp + 0x1c], ecx
cmp eax, 0x35
jne 0x49283b
mov dword [esp + 0x1c], 1
add esi, 4
mov dword [esp + 0x158], esi
jmp 0x4928da
xor edi, edi
add esi, 2
mov dword [esp + 0x20], 1
mov dword [esp + 0x158], esi
jmp 0x4928d2
mov edi, 1
add esi, 2
mov dword [esp + 0x20], edi
mov dword [esp + 0x158], esi
jmp 0x4928d2
mov eax, 1
xor edi, edi
add esi, 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x158], esi
jmp 0x4928da
xor ecx, ecx
cmp edx, 0x2e
setge cl
mov eax, edx
add esi, 2
mov dword [esp + 0x158], esi
dec ecx
and ecx, 0xfffffff3
add ecx, 0x2e
sub eax, ecx
movsx edi, byte [eax + 0x4cc238]
mov ecx, eax
movsx eax, byte [eax + 0x4cc240]
and ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4928da
mov dword [esp + 0x14], connect
mov eax, dword [esp + 0x158]
movzx esi, word [eax]
mov ecx, esi
and ecx, 0xfc00
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], eax
cmp ecx, 0xd800
jne 0x492923
movzx ecx, word [eax + 2]
and esi, 0x3ff
and ecx, 0x3ff
shl esi, 0xa
or esi, ecx
add esi, 0x10000
mov dword [esp + 0x24], 2
mov ecx, dword [esp + 0x24]
lea eax, [eax + ecx*2]
lea ebx, [ecx + ecx]
mov dword [esp + 0x158], eax
cmp ecx, 1
jle 0x492c9c
cmp edx, 0x2e
jl 0x49297c
mov edx, esi
shr edx, 7
movzx eax, byte [edx + 0x4be2f8]
shl eax, 7
mov ecx, esi
and ecx, 0x7f
add eax, ecx
movzx edx, word [eax*2 + 0x4c04f8]
mov eax, dword [edx*8 + 0x4bd21c]
add eax, esi
cmp eax, esi
je 0x49297c
lea ecx, [esp + 0x5c]
call fcn.004995f0
mov dword [esp + 0x18], eax
jmp 0x492984
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 1
cmp edi, 1
jl 0x492aa0
mov eax, dword [esp + 0x164]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x3c], eax
sub eax, ebx
mov dword [esp + 0x34], eax
jmp 0x4929b4
mov eax, dword [esp + 0x34]
cmp ebp, eax
ja 0x492a15
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
add eax, eax
mov esi, ebp
cmp eax, 4
jb 0x4929e4
lea ecx, [ecx]
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x492a15
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x4929d0
test eax, eax
je 0x492a08
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x492a15
cmp eax, 1
jbe 0x492a08
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x492a15
cmp eax, 2
jbe 0x492a08
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x492a15
mov eax, dword [esp + 0x24]
lea ebp, [ebp + eax*2]
jmp 0x492a8f
cmp dword [esp + 0x18], 0
jle 0x49698c
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add edx, edx
sub ecx, edx
cmp ebp, ecx
ja 0x49698c
mov eax, dword [esp + 0x18]
add eax, eax
lea ecx, [esp + 0x5c]
mov esi, ebp
cmp eax, 4
jb 0x492a5d
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x49698c
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x492a45
test eax, eax
je 0x492a8d
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x49698c
cmp eax, 1
jbe 0x492a8d
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x49698c
cmp eax, 2
jbe 0x492a8d
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x49698c
add ebp, edx
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, edi
jle 0x4929b0
cmp edi, dword [esp + 0x14]
je 0x490221
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x28], edi
jne 0x4969ae
mov dword [esp + 0x1c], ebp
cmp edi, dword [esp + 0x14]
jge 0x492bf5
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x7c]
mov eax, dword [esp + 0x24]
mov ecx, edx
add eax, eax
sub ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x492ae5
mov ecx, dword [esp + 0x34]
cmp ebp, ecx
ja 0x492b49
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
add eax, eax
mov esi, ebp
cmp eax, 4
jb 0x492b18
mov edi, edi
mov edi, dword [esi]
cmp edi, dword [ecx]
jne 0x492b49
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x492b00
test eax, eax
je 0x492b3c
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x492b49
cmp eax, 1
jbe 0x492b3c
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x492b49
cmp eax, 2
jbe 0x492b3c
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x492b49
mov eax, dword [esp + 0x24]
lea ebp, [ebp + eax*2]
jmp 0x492baf
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x492bc4
lea edi, [eax + eax]
mov ecx, edx
sub ecx, edi
cmp ebp, ecx
ja 0x492bc4
add eax, eax
lea ecx, [esp + 0x5c]
mov esi, ebp
cmp eax, 4
jb 0x492b89
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x492bc4
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x492b71
test eax, eax
je 0x492bad
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x492bc4
cmp eax, 1
jbe 0x492bad
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x492bc4
cmp eax, 2
jbe 0x492bad
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x492bc4
add ebp, edi
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x14]
jl 0x492ae1
jmp 0x492bf5
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je 0x492bf5
cmp ebp, dword [eax + 0x7c]
jb 0x492bf5
cmp ebp, dword [eax + 0x88]
jbe 0x492bf5
mov ecx, 1
mov dword [eax + 0x64], ecx
cmp dword [eax + 0x8c], ecx
jg 0x4962df
cmp dword [esp + 0x20], 0
jne 0x490221
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
mov edi, dword [esp + 0x160]
mov ebx, dword [esp + 0x15c]
mov esi, dword [esp + 0x158]
inc edx
push edx
push eax
push ecx
push edi
push ebx
push esi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp ebp, dword [esp + 0x1c]
je case.0x49024e.151
mov dx, word [ebp - 2]
sub ebp, 2
mov eax, 0xfc00
and dx, ax
mov ecx, 0xdc00
cmp dx, cx
jne 0x492c68
sub ebp, 2
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
push eax
push ecx
push edi
push ebx
push esi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x492c42
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp edx, 0x2e
jl 0x492e13
cmp esi, 0x7f
jbe 0x492cd7
mov ecx, esi
shr ecx, 7
movzx edx, byte [ecx + 0x4be2f8]
shl edx, 7
mov eax, esi
and eax, 0x7f
add edx, eax
movzx ecx, word [edx*2 + 0x4c04f8]
mov edx, dword [ecx*8 + 0x4bd21c]
add edx, esi
mov dword [esp + 0x28], edx
jmp 0x492cf9
cmp esi, 0xff
ja 0x492cf3
mov edx, dword [esp + 0x164]
mov eax, dword [edx + 0x38]
movzx edx, byte [eax + esi]
mov dword [esp + 0x28], edx
jmp 0x492cf9
mov edx, esi
mov dword [esp + 0x28], esi
mov ecx, 1
cmp edi, ecx
jl 0x492d2c
mov eax, dword [esp + 0x164]
mov ebx, dword [eax + 0x7c]
cmp ebp, ebx
jae 0x496ba4
movzx eax, word [ebp]
cmp esi, eax
je 0x492d24
cmp edx, eax
jne case.0x49024e.151
inc ecx
add ebp, 2
cmp ecx, edi
jle 0x492d0c
mov ebx, dword [esp + 0x14]
cmp edi, ebx
je 0x490221
cmp dword [esp + 0x1c], 0
jne 0x496bde
mov dword [esp + 0x1c], ebp
mov eax, edi
cmp edi, ebx
jge 0x492da6
mov ecx, dword [esp + 0x164]
mov edi, dword [ecx + 0x7c]
jmp 0x492d67
mov ecx, dword [esp + 0x164]
cmp ebp, edi
jae 0x492d81
movzx ecx, word [ebp]
cmp esi, ecx
je 0x492d77
cmp edx, ecx
jne 0x492da6
inc eax
add ebp, 2
cmp eax, ebx
jl 0x492d60
jmp 0x492da6
cmp dword [ecx + 0x8c], 0
je 0x492da6
cmp ebp, dword [ecx + 0x88]
jbe 0x492da6
mov eax, 1
mov dword [ecx + 0x64], eax
cmp dword [ecx + 0x8c], eax
jg 0x4962df
cmp dword [esp + 0x20], 0
jne 0x490221
cmp ebp, dword [esp + 0x1c]
jb 0x492e06
mov esi, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
mov edi, dword [esp + 0x160]
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
push ecx
push edx
push edi
push ebx
push esi
push ebp
call fcn.00490160
add esp, 0x1c
sub ebp, 2
test eax, eax
jne 0x497f46
cmp ebp, dword [esp + 0x1c]
jae 0x492dd0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x164]
mov eax, 1
cmp edi, eax
jl 0x492e42
mov ecx, dword [edx + 0x7c]
cmp ebp, ecx
jae 0x496c94
movzx ebx, word [ebp]
add ebp, 2
cmp esi, ebx
jne case.0x49024e.151
inc eax
cmp eax, edi
jle 0x492e26
cmp edi, dword [esp + 0x14]
je 0x490221
cmp dword [esp + 0x1c], 0
jne 0x496cc0
mov ebx, ebp
mov dword [esp + 0x1c], ebx
mov eax, edi
cmp edi, dword [esp + 0x14]
jge 0x492ead
mov ecx, dword [edx + 0x7c]
lea esp, [esp]
cmp ebp, ecx
jae 0x492e88
movzx edi, word [ebp]
cmp esi, edi
jne 0x492ead
inc eax
add ebp, 2
cmp eax, dword [esp + 0x14]
jl 0x492e70
jmp 0x492ead
cmp dword [edx + 0x8c], 0
je 0x492ead
cmp ebp, dword [edx + 0x88]
jbe 0x492ead
mov eax, 1
mov dword [edx + 0x64], eax
cmp dword [edx + 0x8c], eax
jg 0x4962df
cmp dword [esp + 0x20], 0
jne 0x490221
cmp ebp, ebx
jb 0x492f0b
mov esi, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
mov edi, dword [esp + 0x160]
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
push eax
push ecx
push edi
push ebx
push esi
push ebp
call fcn.00490160
add esp, 0x1c
sub ebp, 2
test eax, eax
jne 0x497f46
cmp ebp, dword [esp + 0x1c]
jae 0x492ed5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edi, dword [esp + 0x164]
cmp ebp, dword [edi + 0x7c]
jae 0x496961
movzx ecx, word [ebp]
mov eax, ecx
and eax, 0xfc00
add ebp, 2
cmp eax, 0xd800
jne 0x492f5a
movzx eax, word [ebp]
and ecx, 0x3ff
shl ecx, 0xa
and eax, 0x3ff
or ecx, eax
add ecx, 0x10000
add ebp, 2
movzx eax, word [esi + 2]
add esi, 4
mov dword [esp + 0x158], esi
cmp edx, 0x20
jne 0x492fce
cmp eax, 0x7f
jbe 0x492f9f
mov edx, eax
shr edx, 7
movzx edx, byte [edx + 0x4be2f8]
shl edx, 7
mov esi, eax
and esi, 0x7f
add edx, esi
movzx edx, word [edx*2 + 0x4c04f8]
mov edx, dword [edx*8 + 0x4bd21c]
add edx, eax
jmp 0x492fb1
cmp eax, 0xff
ja 0x492faf
mov edx, dword [edi + 0x38]
movzx edx, byte [edx + eax]
jmp 0x492fb1
mov edx, eax
cmp eax, ecx
je case.0x49024e.151
cmp edx, ecx
jne 0x490221
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp eax, ecx
jne 0x490221
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
movzx ecx, word [esi + 2]
mov dword [esp + 0x14], ecx
add esi, 4
jmp 0x4930a9
movzx edi, word [esi + 2]
xor ecx, ecx
mov dword [esp + 0x14], edi
cmp eax, 0x42
je 0x49300b
mov dword [esp + 0x1c], ecx
cmp eax, 0x4f
jne 0x493013
mov dword [esp + 0x1c], 1
add esi, 4
jmp 0x4930a9
xor ecx, ecx
mov dword [esp + 0x20], 1
add esi, 2
jmp 0x4930a1
mov ecx, 1
mov dword [esp + 0x20], ecx
add esi, 2
jmp 0x4930a1
mov eax, 1
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
add esi, 2
jmp 0x4930a9
movzx eax, word [esi + 2]
xor ecx, ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], eax
add esi, 4
jmp 0x4930a9
xor ecx, ecx
cmp edx, 0x48
setl cl
mov eax, edx
add esi, 2
dec ecx
and ecx, 0xd
add ecx, 0x3b
sub eax, ecx
mov ecx, eax
and ecx, 1
mov dword [esp + 0x1c], ecx
movsx ecx, byte [eax + 0x4cc238]
movsx eax, byte [eax + 0x4cc240]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4930a9
mov dword [esp + 0x14], connect
movzx edi, word [esi]
add esi, 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x158], esi
cmp edx, 0x48
jl 0x4932e0
cmp edi, 0x7f
jbe 0x4930f5
mov edx, edi
shr edx, 7
movzx eax, byte [edx + 0x4be2f8]
shl eax, 7
mov edx, edi
and edx, 0x7f
add eax, edx
movzx eax, word [eax*2 + 0x4c04f8]
mov esi, dword [eax*8 + 0x4bd21c]
add esi, edi
mov dword [esp + 0x28], esi
jmp 0x493117
cmp edi, 0xff
ja 0x493111
mov edx, dword [esp + 0x164]
mov eax, dword [edx + 0x38]
movzx esi, byte [eax + edi]
mov dword [esp + 0x28], esi
jmp 0x493117
mov esi, edi
mov dword [esp + 0x28], edi
mov edx, 1
cmp ecx, edx
jl 0x493184
mov eax, dword [esp + 0x164]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x18], eax
cmp ebp, dword [esp + 0x18]
jae 0x4967a3
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
add ebp, 2
cmp ebx, 0xd800
jne 0x49316f
movzx ebx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ebx, 0x3ff
or eax, ebx
add eax, 0x10000
add ebp, 2
cmp edi, eax
je case.0x49024e.151
cmp esi, eax
je case.0x49024e.151
inc edx
cmp edx, ecx
jle 0x493132
mov esi, dword [esp + 0x14]
cmp ecx, esi
je 0x490221
cmp dword [esp + 0x1c], 0
jne 0x496d70
mov dword [esp + 0x1c], ebp
cmp ecx, esi
jge 0x49322e
mov edx, dword [esp + 0x164]
mov edi, dword [edx + 0x7c]
mov edx, 1
cmp ebp, edi
jae 0x493207
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x4931f0
movzx edx, word [ebp + 2]
and eax, 0x3ff
and edx, 0x3ff
shl eax, 0xa
or eax, edx
add eax, 0x10000
mov edx, 2
cmp dword [esp + 0x24], eax
je 0x49322e
cmp dword [esp + 0x28], eax
je 0x49322e
inc ecx
lea ebp, [ebp + edx*2]
cmp ecx, esi
jl 0x4931b1
jmp 0x49322e
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je 0x49322e
cmp ebp, dword [eax + 0x88]
jbe 0x49322e
mov dword [eax + 0x64], edx
cmp dword [eax + 0x8c], edx
jg 0x4962df
cmp dword [esp + 0x20], 0
jne 0x490221
mov ecx, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov edi, dword [esp + 0x160]
mov ebx, dword [esp + 0x15c]
mov eax, dword [esp + 0x158]
inc ecx
push ecx
push esi
push edx
push edi
push ebx
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov ecx, ebp
sub ebp, 2
cmp ecx, dword [esp + 0x1c]
je case.0x49024e.151
mov dx, word [ebp]
mov eax, 0xfc00
and dx, ax
mov ecx, 0xdc00
cmp dx, cx
jne 0x4932a3
sub ebp, 2
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x158]
inc edx
push edx
push esi
push eax
push edi
push ebx
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x49327b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x164]
mov edx, 1
cmp ecx, edx
jl 0x493346
mov esi, dword [eax + 0x7c]
cmp ebp, esi
jae 0x4967a3
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
add ebp, 2
cmp ebx, 0xd800
jne 0x493332
movzx ebx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ebx, 0x3ff
or eax, ebx
add eax, 0x10000
add ebp, 2
cmp edi, eax
je case.0x49024e.151
inc edx
cmp edx, ecx
jle 0x4932f7
mov eax, dword [esp + 0x164]
mov esi, dword [esp + 0x14]
cmp ecx, esi
je 0x490221
cmp dword [esp + 0x1c], 0
jne 0x496e59
mov dword [esp + 0x1c], ebp
cmp ecx, esi
jge 0x4933e7
mov edi, dword [eax + 0x7c]
jmp 0x493377
mov eax, dword [esp + 0x164]
mov edx, 1
cmp ebp, edi
jae 0x4933c7
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x4933b6
movzx edx, word [ebp + 2]
and eax, 0x3ff
and edx, 0x3ff
shl eax, 0xa
or eax, edx
add eax, 0x10000
mov edx, 2
cmp dword [esp + 0x24], eax
je 0x4933e7
inc ecx
lea ebp, [ebp + edx*2]
cmp ecx, esi
jl 0x493370
jmp 0x4933e7
cmp dword [eax + 0x8c], 0
je 0x4933e7
cmp ebp, dword [eax + 0x88]
jbe 0x4933e7
mov dword [eax + 0x64], edx
cmp dword [eax + 0x8c], edx
jg 0x4962df
cmp dword [esp + 0x20], 0
jne 0x490221
mov ecx, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov edi, dword [esp + 0x160]
mov ebx, dword [esp + 0x15c]
mov eax, dword [esp + 0x158]
inc ecx
push ecx
push esi
push edx
push edi
push ebx
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov ecx, ebp
sub ebp, 2
cmp ecx, dword [esp + 0x1c]
je case.0x49024e.151
mov dx, word [ebp]
mov eax, 0xfc00
and dx, ax
mov ecx, 0xdc00
cmp dx, cx
jne 0x49345c
sub ebp, 2
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x158]
inc edx
push edx
push esi
push eax
push edi
push ebx
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x493434
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
movzx eax, word [esi + 2]
mov ebx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 1
add esi, 4
jmp 0x493562
movzx edx, word [esi + 2]
xor ebx, ebx
mov dword [esp + 0x14], edx
xor edx, edx
cmp eax, 0x5c
sete dl
mov dword [esp + 0x24], ebx
add esi, 4
mov dword [esp + 0x1c], edx
jmp 0x493562
xor ebx, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebx
add esi, 2
jmp 0x49355a
mov ebx, 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
add esi, 2
jmp 0x49355a
mov eax, 1
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
add esi, 2
jmp 0x493562
movzx eax, word [esi + 2]
xor ebx, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
add esi, 4
jmp 0x493562
lea eax, [edx - 0x55]
movsx ebx, byte [eax + 0x4cc238]
mov edx, eax
movsx eax, byte [eax + 0x4cc240]
and edx, 1
add esi, 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
cmp eax, ecx
jne 0x493562
mov dword [esp + 0x14], connect
movzx eax, word [esi]
add esi, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x158], esi
cmp eax, 0x10
je 0x49358a
cmp eax, 0xf
je 0x49358a
mov edi, dword [esp + 0x2c]
or eax, 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x4935b3
movzx eax, word [esi]
xor edx, edx
cmp dword [esp + 0x18], 0xf
mov dword [esp + 0x28], eax
sete dl
add esi, 4
mov dword [esp + 0x158], esi
mov edi, edx
movzx edx, word [esi - 2]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edx
cmp ebx, ecx
jle 0x4936b9
cmp eax, ecx
jl 0x493ba3
cmp eax, 8
ja case.default.0x491e2b
jmp dword [eax*4 + 0x49818c]
cmp edi, ecx
jne case.0x49024e.151
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
cmp ebp, edx
jae 0x496f3b
movzx eax, word [ebp]
and eax, 0xfc00
add ebp, 2
cmp eax, 0xd800
jne 0x493610
add ebp, 2
inc ecx
cmp ecx, ebx
jle 0x4935f2
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov eax, dword [esp + 0x164]
mov edx, dword [eax + 0x7c]
cmp ebp, edx
jae 0x496f67
movzx eax, word [ebp]
mov esi, eax
and esi, 0xfc00
add ebp, 2
cmp esi, 0xd800
jne 0x49366c
movzx esi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and esi, 0x3ff
or eax, esi
add eax, 0x10000
add ebp, 2
mov esi, eax
shr esi, 7
movzx esi, byte [esi + 0x4be2f8]
and eax, 0x7f
shl esi, 7
add esi, eax
movzx eax, word [esi*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
cmp eax, 9
je 0x4936a3
cmp eax, 5
je 0x4936a3
cmp eax, 8
je 0x4936a3
xor eax, eax
jmp 0x4936a8
mov eax, 1
cmp eax, edi
je case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x493631
mov esi, dword [esp + 0x164]
mov edi, dword [esp + 0x14]
cmp ebx, edi
je 0x490221
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x28]
jne 0x496fd9
mov dword [esp + 0x1c], ebp
test eax, eax
js 0x494b0c
cmp eax, 8
ja case.default.0x491e2b
jmp dword [eax*4 + 0x4981b0]
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x7c]
cmp ebp, edx
jae 0x496f9a
movzx eax, word [ebp]
mov esi, eax
and esi, 0xfc00
add ebp, 2
cmp esi, 0xd800
jne 0x493745
movzx esi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and esi, 0x3ff
or eax, esi
add eax, 0x10000
add ebp, 2
mov esi, eax
shr esi, 7
movzx esi, byte [esi + 0x4be2f8]
and eax, 0x7f
shl esi, 7
add esi, eax
movzx eax, word [esi*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp dword [eax*4 + 0x4bca70], esi
sete cl
cmp ecx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
je case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x49370a
jmp 0x4936b9
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x7c]
cmp ebp, edx
jae 0x496f9a
movzx eax, word [ebp]
mov esi, eax
and esi, 0xfc00
add ebp, 2
cmp esi, 0xd800
jne 0x4937eb
movzx esi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and esi, 0x3ff
or eax, esi
add eax, 0x10000
add ebp, 2
mov esi, eax
shr esi, 7
movzx esi, byte [esi + 0x4be2f8]
and eax, 0x7f
shl esi, 7
add esi, eax
movzx eax, word [esi*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x38]
sete cl
cmp ecx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
je case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x4937b0
jmp 0x4936b9
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x7c]
cmp ebp, edx
jae 0x496f9a
movzx eax, word [ebp]
mov esi, eax
and esi, 0xfc00
add ebp, 2
cmp esi, 0xd800
jne 0x493886
movzx esi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and esi, 0x3ff
or eax, esi
add eax, 0x10000
add ebp, 2
mov esi, eax
shr esi, 7
movzx esi, byte [esi + 0x4be2f8]
and eax, 0x7f
shl esi, 7
add esi, eax
movzx eax, word [esi*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd218]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x38]
sete cl
cmp ecx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
je case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x49384b
jmp 0x4936b9
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x7c]
cmp ebp, edx
jae 0x496f67
movzx eax, word [ebp]
mov esi, eax
and esi, 0xfc00
add ebp, 2
cmp esi, 0xd800
jne 0x493921
movzx esi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and esi, 0x3ff
or eax, esi
add eax, 0x10000
add ebp, 2
mov esi, eax
shr esi, 7
movzx esi, byte [esi + 0x4be2f8]
and eax, 0x7f
shl esi, 7
add esi, eax
movzx eax, word [esi*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
mov eax, dword [eax*4 + 0x4bca70]
cmp eax, 1
je 0x49395a
cmp eax, 3
je 0x49395a
xor eax, eax
jmp 0x49395f
mov eax, 1
cmp eax, edi
je case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x4938e6
jmp 0x4936b9
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x7c]
lea edi, [ecx + 5]
cmp ebp, edx
jae 0x496f67
movzx eax, word [ebp]
mov esi, eax
and esi, 0xfc00
add ebp, 2
cmp esi, 0xd800
jne 0x4939ca
movzx esi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and esi, 0x3ff
or eax, esi
add eax, 0x10000
add ebp, 2
mov esi, eax
shr esi, 7
movzx esi, byte [esi + 0x4be2f8]
shl esi, 7
mov ebx, eax
and ebx, 0x7f
add esi, ebx
movzx esi, word [esi*2 + 0x4c04f8]
movzx esi, byte [esi*8 + 0x4bd219]
cmp dword [esi*4 + 0x4bca70], edi
je 0x493a11
cmp eax, 9
je 0x493a11
cmp eax, 0xa
je 0x493a11
cmp eax, 0xc
je 0x493a11
cmp eax, 0xd
je 0x493a11
xor eax, eax
jmp 0x493a16
mov eax, 1
cmp eax, dword [esp + 0x2c]
je case.0x49024e.151
mov ebx, dword [esp + 0x24]
inc ecx
cmp ecx, ebx
jle 0x49398f
jmp 0x4936b9
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov eax, dword [esp + 0x164]
mov edx, dword [eax + 0x7c]
lea edi, [ecx + 5]
cmp ebp, edx
jae 0x496f67
movzx eax, word [ebp]
mov esi, eax
and esi, 0xfc00
add ebp, 2
cmp esi, 0xd800
jne 0x493a87
movzx esi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and esi, 0x3ff
or eax, esi
add eax, 0x10000
add ebp, 2
mov esi, eax
shr esi, 7
movzx esi, byte [esi + 0x4be2f8]
shl esi, 7
mov ebx, eax
and ebx, 0x7f
add esi, ebx
movzx esi, word [esi*2 + 0x4c04f8]
movzx esi, byte [esi*8 + 0x4bd219]
cmp dword [esi*4 + 0x4bca70], edi
je 0x493ad3
cmp eax, 9
je 0x493ad3
cmp eax, 0xa
je 0x493ad3
cmp eax, 0xb
je 0x493ad3
cmp eax, 0xc
je 0x493ad3
cmp eax, 0xd
je 0x493ad3
xor eax, eax
jmp 0x493ad8
mov eax, 1
cmp eax, dword [esp + 0x2c]
je case.0x49024e.151
mov ebx, dword [esp + 0x24]
inc ecx
cmp ecx, ebx
jle 0x493a4c
jmp 0x4936b9
mov edx, 1
cmp ebx, edx
jl 0x4936b9
mov ecx, dword [esp + 0x164]
mov edi, dword [ecx + 0x7c]
cmp ebp, edi
jae 0x496f9a
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x493b46
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
mov ecx, eax
shr ecx, 7
movzx ecx, byte [ecx + 0x4be2f8]
shl ecx, 7
mov esi, eax
and esi, 0x7f
add ecx, esi
movzx ecx, word [ecx*2 + 0x4c04f8]
movzx ecx, byte [ecx*8 + 0x4bd219]
mov ecx, dword [ecx*4 + 0x4bca70]
cmp ecx, 1
je 0x493b86
cmp ecx, 3
je 0x493b86
cmp eax, 0x5f
je 0x493b86
xor eax, eax
jmp 0x493b8b
mov eax, 1
cmp eax, dword [esp + 0x2c]
je case.0x49024e.151
inc edx
cmp edx, ebx
jle 0x493b0b
jmp 0x4936b9
mov eax, dword [esp + 0x18]
cmp eax, 0x16
jne 0x493cb5
lea esi, [eax - 0x15]
cmp ebx, esi
jl 0x4936b9
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x7c]
cmp ebp, edx
jae 0x496f9a
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x493c00
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
mov ecx, eax
shr ecx, 7
movzx ecx, byte [ecx + 0x4be2f8]
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x4c04f8]
movzx ecx, byte [eax*8 + 0x4bd219]
cmp dword [ecx*4 + 0x4bca70], 2
je case.0x49024e.151
cmp ebp, edx
jae 0x493ca7
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
mov ecx, 1
cmp edi, 0xd800
jne 0x493c71
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov edi, eax
shr edi, 7
movzx edi, byte [edi + 0x4be2f8]
and eax, 0x7f
shl edi, 7
add edi, eax
movzx eax, word [edi*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
cmp dword [eax*4 + 0x4bca70], 2
jne 0x493ca7
lea ebp, [ebp + ecx*2]
cmp ebp, edx
jb 0x493c3a
inc esi
cmp esi, ebx
jle 0x493bc5
jmp 0x4936b9
add eax, 0xfffffffa
cmp eax, 0xf
ja case.default.0x491e2b
jmp dword [eax*4 + 0x4981d4]
mov edi, 1
cmp ebx, edi
jl 0x4936b9
mov ecx, dword [esp + 0x164]
lea esp, [esp]
cmp ebp, dword [ecx + 0x7c]
jae 0x496f6e
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x493d1b
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x7c]
push 1
lea esi, [ecx + 0x1c]
push eax
mov ecx, ebp
call fcn.00499450
add esp, 8
test eax, eax
jne case.0x49024e.151
mov ecx, dword [esp + 0x164]
jmp 0x493d4b
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x7c]
lea edx, [eax + eax]
sub esi, edx
cmp ebp, esi
ja 0x493d4b
mov dx, word [ebp]
cmp dx, word [ecx + 0x2c]
jne 0x493d4b
cmp eax, 1
je case.0x49024e.151
mov ax, word [ebp + 2]
cmp ax, word [ecx + 0x2e]
je case.0x49024e.151
add ebp, 2
cmp ebp, dword [ecx + 0x7c]
jae 0x493d6c
mov dx, word [ebp]
mov eax, 0xfc00
and dx, ax
mov eax, 0xdc00
cmp dx, ax
jne 0x493d6c
add ebp, 2
inc edi
cmp edi, ebx
jle 0x493ce0
jmp 0x4936b9
mov eax, 1
cmp ebx, eax
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov ecx, dword [esi + 0x7c]
cmp ebp, ecx
jae 0x496f3b
add ebp, 2
cmp ebp, ecx
jae 0x493db9
mov dx, word [ebp]
mov edi, 0xfc00
and dx, di
mov edi, 0xdc00
cmp dx, di
jne 0x493db9
add ebp, 2
inc eax
cmp eax, ebx
jle 0x493d91
jmp 0x4936c0
mov esi, dword [esp + 0x164]
mov ecx, dword [esi + 0x7c]
lea eax, [ebx + ebx]
sub ecx, eax
cmp ebp, ecx
ja case.0x49024e.151
add ebp, eax
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
cmp ebp, edx
jae 0x496fad
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
add ebp, 2
cmp edi, 0xd800
jne 0x493e33
movzx edi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edi, 0x3ff
or eax, edi
add eax, 0x10000
add ebp, 2
cmp eax, 0xd
ja 0x493e58
je 0x493e48
cmp eax, 0xa
je 0x493e77
add eax, 0xfffffff5
jmp 0x493e64
cmp ebp, edx
jae 0x493e77
cmp word [ebp], 0xa
jne 0x493e77
add ebp, 2
jmp 0x493e77
cmp eax, 0x85
je 0x493e6d
add eax, 0xffffdfd8
cmp eax, 1
ja case.0x49024e.151
cmp dword [esi + 0x68], 0
jne case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x493df8
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
lea esp, [esp]
cmp ebp, edx
jae 0x496fad
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
add ebp, 2
cmp edi, 0xd800
jne 0x493edb
movzx edi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edi, 0x3ff
or eax, edi
add eax, 0x10000
add ebp, 2
cmp eax, 0x180e
ja 0x493f0d
je case.0x49024e.151
cmp eax, 0xa0
ja 0x493f06
je case.0x49024e.151
cmp eax, 9
je case.0x49024e.151
cmp eax, 0x20
jmp 0x493f38
cmp eax, 0x1680
jmp 0x493f38
cmp eax, 0x205f
ja 0x493f33
je case.0x49024e.151
cmp eax, 0x2000
jb 0x493f3e
cmp eax, 0x200a
jbe case.0x49024e.151
cmp eax, 0x202f
jmp 0x493f38
cmp eax, 0x3000
je case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x493ea0
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
cmp ebp, edx
jae 0x496fad
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
add ebp, 2
cmp edi, 0xd800
jne 0x493f9e
movzx edi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edi, 0x3ff
or eax, edi
add eax, 0x10000
add ebp, 2
cmp eax, 0x180e
ja 0x493fd3
je 0x494000
cmp eax, 0xa0
ja 0x493fc9
je 0x494000
cmp eax, 9
je 0x494000
cmp eax, 0x20
jmp 0x493ffa
cmp eax, 0x1680
jmp 0x493ffa
cmp eax, 0x205f
ja 0x493ff5
je 0x494000
cmp eax, 0x2000
jb case.0x49024e.151
cmp eax, 0x200a
jbe 0x494000
cmp eax, 0x202f
jmp 0x493ffa
cmp eax, 0x3000
jne case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x493f63
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
cmp ebp, edx
jae 0x496fad
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
add ebp, 2
cmp edi, 0xd800
jne 0x494064
movzx edi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edi, 0x3ff
or eax, edi
add eax, 0x10000
add ebp, 2
cmp eax, 0x85
ja 0x49407b
je case.0x49024e.151
cmp eax, 0xa
jb 0x49408d
cmp eax, 0xd
jmp 0x494087
cmp eax, 0x2028
jb 0x49408d
cmp eax, 0x2029
jbe case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x494025
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
mov edi, edi
cmp ebp, edx
jae 0x496fad
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
add ebp, 2
cmp edi, 0xd800
jne 0x4940ef
movzx edi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edi, 0x3ff
or eax, edi
add eax, 0x10000
add ebp, 2
cmp eax, 0x85
ja 0x494100
je 0x49410e
add eax, 0xfffffff6
cmp eax, 3
jmp 0x494108
add eax, 0xffffdfd8
cmp eax, 1
ja case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x4940b0
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
nop
cmp ebp, edx
jae 0x496f3b
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
add ebp, 2
cmp edi, 0xd800
jne 0x49416f
movzx edi, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edi, 0x3ff
or eax, edi
add eax, 0x10000
add ebp, 2
cmp eax, 0x80
jae 0x494183
mov edi, dword [esi + 0x3c]
test byte [eax + edi], 4
jne case.0x49024e.151
inc ecx
cmp ecx, ebx
jle 0x494130
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
cmp ebp, edx
jae 0x496fad
movzx eax, word [ebp]
mov edi, 0x80
cmp ax, di
jae case.0x49024e.151
mov edi, dword [esi + 0x3c]
test byte [eax + edi], 4
je case.0x49024e.151
inc ecx
add ebp, 2
cmp ecx, ebx
jle 0x4941a4
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
nop
cmp ebp, edx
jae 0x496f3b
movzx eax, word [ebp]
mov edi, 0x80
cmp ax, di
jae 0x494213
mov edi, dword [esi + 0x3c]
test byte [eax + edi], 1
jne case.0x49024e.151
add ebp, 2
cmp ebp, edx
jae 0x494237
mov ax, word [ebp]
mov edi, 0xfc00
and ax, di
mov edi, 0xdc00
cmp ax, di
jne 0x494237
add ebp, 2
inc ecx
cmp ecx, ebx
jle 0x4941f0
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
cmp ebp, edx
jae 0x496fad
movzx eax, word [ebp]
mov edi, 0x80
cmp ax, di
jae case.0x49024e.151
mov edi, dword [esi + 0x3c]
test byte [eax + edi], 1
je case.0x49024e.151
inc ecx
add ebp, 2
cmp ecx, ebx
jle 0x494258
jmp 0x4936c0
mov ecx, 1
cmp ebx, ecx
jl 0x4936b9
mov esi, dword [esp + 0x164]
mov edx, dword [esi + 0x7c]
cmp ebp, edx
jae 0x496f3b
movzx eax, word [ebp]
mov edi, 0x80
cmp ax, di
jae 0x4942c6
mov edi, dword [esi + 0x3c]
test byte [eax + edi], 0x10
jne case.0x49024e.151
add ebp, 2
cmp ebp, edx
jae 0x4942ea
mov ax, word [ebp]
mov edi, 0xfc00
and ax, di
mov edi, 0xdc00
cmp ax, di
jne 0x4942ea
add ebp, 2
inc ecx
cmp ecx, ebx
jle 0x4942a3
jmp 0x4936c0
mov esi, dword [esp + 0x164]
mov ecx, 1
cmp ebx, ecx
jl 0x4936c0
mov edx, dword [esi + 0x7c]
jmp 0x494310
cmp ebp, edx
jae 0x496fad
movzx eax, word [ebp]
mov edi, 0x80
cmp ax, di
jae case.0x49024e.151
mov edi, dword [esi + 0x3c]
test byte [eax + edi], 0x10
je case.0x49024e.151
inc ecx
add ebp, 2
cmp ecx, ebx
jle 0x494310
jmp 0x4936c0
mov ecx, ebx
cmp ebx, edi
jge 0x494a5d
mov edx, dword [esp + 0x164]
mov edx, dword [edx + 0x7c]
mov eax, 1
cmp ebp, edx
jae 0x49439b
mov si, word [ebp]
mov edi, 0xfc00
and si, di
mov edi, 0xd800
cmp si, di
jne 0x494380
mov eax, 2
cmp dword [esp + 0x2c], 0
jne 0x494a5d
inc ecx
lea ebp, [ebp + eax*2]
cmp ecx, dword [esp + 0x14]
jl 0x494358
jmp 0x494a5d
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je 0x494a5d
mov ecx, eax
cmp ebp, dword [ecx + 0x88]
jbe 0x494a5d
mov ecx, 1
mov dword [eax + 0x64], ecx
cmp dword [eax + 0x8c], ecx
jmp 0x494a57
mov edx, ebx
cmp ebx, edi
jge 0x494a5d
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
mov edi, dword [esp + 0x14]
jmp 0x4943f7
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4945f3
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x49443a
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov ebx, eax
shr ebx, 7
movzx ebx, byte [ebx + 0x4be2f8]
and eax, 0x7f
shl ebx, 7
add ebx, eax
movzx eax, word [ebx*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
cmp eax, 9
je 0x494471
cmp eax, 5
je 0x494471
cmp eax, 8
je 0x494471
xor eax, eax
jmp 0x494476
mov eax, 1
cmp eax, dword [esp + 0x2c]
je 0x494a5d
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x4943f0
jmp 0x494a5d
mov edx, ebx
cmp ebx, edi
jge 0x494a5d
mov ecx, dword [esp + 0x164]
mov esi, dword [ecx + 0x7c]
mov edi, dword [esp + 0x38]
mov eax, ecx
jmp 0x4944b7
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4945f3
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x4944fa
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov ebx, eax
shr ebx, 7
movzx ebx, byte [ebx + 0x4be2f8]
shl ebx, 7
and eax, 0x7f
add ebx, eax
movzx eax, word [ebx*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
xor ebx, ebx
cmp dword [eax*4 + 0x4bca70], edi
sete bl
cmp ebx, dword [esp + 0x2c]
je 0x494a5d
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, dword [esp + 0x14]
jl 0x4944b0
jmp 0x494a5d
mov edx, ebx
cmp ebx, edi
jge 0x494a5d
mov ecx, dword [esp + 0x164]
mov esi, dword [ecx + 0x7c]
mov edi, dword [esp + 0x14]
mov ecx, 1
cmp ebp, esi
jae 0x4945ec
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x4945a3
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov ebx, eax
shr ebx, 7
movzx ebx, byte [ebx + 0x4be2f8]
shl ebx, 7
and eax, 0x7f
add ebx, eax
movzx eax, word [ebx*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
xor ebx, ebx
cmp eax, dword [esp + 0x38]
sete bl
cmp ebx, dword [esp + 0x2c]
je 0x494a5d
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x494560
jmp 0x494a5d
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je 0x494a5d
cmp ebp, dword [eax + 0x88]
jbe 0x494a5d
mov dword [eax + 0x64], ecx
cmp dword [eax + 0x8c], ecx
jmp 0x494a57
mov edx, ebx
cmp ebx, edi
jge 0x494a5d
mov ecx, dword [esp + 0x164]
mov esi, dword [ecx + 0x7c]
mov edi, dword [esp + 0x14]
mov ecx, 1
cmp ebp, esi
jae 0x4945ec
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x494671
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov ebx, eax
shr ebx, 7
movzx ebx, byte [ebx + 0x4be2f8]
shl ebx, 7
and eax, 0x7f
add ebx, eax
movzx eax, word [ebx*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd218]
xor ebx, ebx
cmp eax, dword [esp + 0x38]
sete bl
cmp ebx, dword [esp + 0x2c]
je 0x494a5d
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x494632
jmp 0x494a5d
mov edx, ebx
cmp ebx, edi
jge 0x494a5d
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
mov edi, 1
jmp 0x4946d8
mov eax, dword [esp + 0x164]
mov ecx, edi
cmp ebp, esi
jae 0x494771
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x494718
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov ebx, eax
shr ebx, 7
movzx ebx, byte [ebx + 0x4be2f8]
and eax, 0x7f
shl ebx, 7
add ebx, eax
movzx eax, word [ebx*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
mov eax, dword [eax*4 + 0x4bca70]
cmp eax, edi
je 0x494750
cmp eax, 3
je 0x494750
xor eax, eax
jmp 0x494752
mov eax, edi
cmp eax, dword [esp + 0x2c]
je 0x494a5d
add edx, edi
lea ebp, [ebp + ecx*2]
cmp edx, dword [esp + 0x14]
jl 0x4946d1
jmp 0x494a5d
cmp dword [eax + 0x8c], 0
je 0x494a5d
cmp ebp, dword [eax + 0x88]
jbe 0x494a5d
mov dword [eax + 0x64], edi
cmp dword [eax + 0x8c], edi
jmp 0x494a57
mov edx, ebx
cmp ebx, edi
jge 0x494a5d
mov ecx, dword [esp + 0x164]
mov esi, dword [ecx + 0x7c]
mov eax, ecx
jmp 0x4947b7
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4945f3
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
cmp edi, 0xd800
jne 0x4947fa
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov edi, eax
shr edi, 7
movzx edi, byte [edi + 0x4be2f8]
shl edi, 7
mov ebx, eax
and ebx, 0x7f
add edi, ebx
movzx edi, word [edi*2 + 0x4c04f8]
movzx edi, byte [edi*8 + 0x4bd219]
cmp dword [edi*4 + 0x4bca70], 6
je 0x49484e
cmp eax, 9
je 0x49484e
cmp eax, 0xa
je 0x49484e
cmp eax, 0xc
je 0x49484e
cmp eax, 0xd
je 0x49484e
xor eax, eax
jmp 0x494853
mov eax, 1
cmp eax, dword [esp + 0x2c]
je 0x494a5d
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, dword [esp + 0x14]
jl 0x4947b0
jmp 0x494a5d
mov edx, ebx
cmp ebx, edi
jge 0x494a5d
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
jmp 0x494897
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4945f3
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
cmp edi, 0xd800
jne 0x4948da
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov edi, eax
shr edi, 7
movzx edi, byte [edi + 0x4be2f8]
shl edi, 7
mov ebx, eax
and ebx, 0x7f
add edi, ebx
movzx edi, word [edi*2 + 0x4c04f8]
movzx edi, byte [edi*8 + 0x4bd219]
cmp dword [edi*4 + 0x4bca70], 6
je 0x49493b
cmp eax, 9
je 0x49493b
cmp eax, 0xa
je 0x49493b
cmp eax, 0xb
je 0x49493b
cmp eax, 0xc
je 0x49493b
cmp eax, 0xd
je 0x49493b
xor eax, eax
jmp 0x494940
mov eax, 1
cmp eax, dword [esp + 0x2c]
je 0x494a5d
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, dword [esp + 0x14]
jl 0x494890
jmp 0x494a5d
mov esi, ebx
cmp ebx, dword [esp + 0x14]
jge 0x494a5d
mov edx, dword [esp + 0x164]
mov edi, dword [edx + 0x7c]
mov eax, edx
jmp 0x494987
mov eax, dword [esp + 0x164]
mov edx, 1
cmp ebp, edi
jae 0x494a35
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x4949ca
movzx edx, word [ebp + 2]
and eax, 0x3ff
and edx, 0x3ff
shl eax, 0xa
or eax, edx
add eax, 0x10000
mov edx, 2
mov ecx, eax
shr ecx, 7
movzx ecx, byte [ecx + 0x4be2f8]
shl ecx, 7
mov ebx, eax
and ebx, 0x7f
add ecx, ebx
movzx ecx, word [ecx*2 + 0x4c04f8]
movzx ecx, byte [ecx*8 + 0x4bd219]
mov ecx, dword [ecx*4 + 0x4bca70]
cmp ecx, 1
je 0x494a12
cmp ecx, 3
je 0x494a12
cmp eax, 0x5f
je 0x494a12
xor eax, eax
jmp 0x494a17
mov eax, 1
cmp eax, dword [esp + 0x2c]
je 0x494a5d
inc esi
lea ebp, [ebp + edx*2]
cmp esi, dword [esp + 0x14]
jl 0x494980
jmp 0x494a5d
cmp dword [eax + 0x8c], 0
je 0x494a5d
cmp ebp, dword [eax + 0x88]
jbe 0x494a5d
mov dword [eax + 0x64], edx
cmp dword [eax + 0x8c], edx
jg 0x4962df
cmp dword [esp + 0x20], 0
jne 0x490221
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
mov edi, dword [esp + 0x160]
mov esi, dword [esp + 0x15c]
mov ebx, dword [esp + 0x158]
inc ecx
push ecx
push edx
push eax
push edi
push esi
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
lea ebx, [ebx]
mov ecx, ebp
sub ebp, 2
cmp ecx, dword [esp + 0x1c]
je case.0x49024e.151
mov dx, word [ebp]
mov eax, 0xfc00
and dx, ax
mov ecx, 0xdc00
cmp dx, cx
jne 0x494ad8
sub ebp, 2
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
push eax
push ecx
push edi
push esi
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x494ab0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x18]
cmp eax, 0x16
jne 0x494d4e
mov esi, ebx
cmp ebx, dword [esp + 0x14]
jge 0x494c69
mov eax, dword [esp + 0x164]
mov edx, dword [eax + 0x7c]
mov ebx, 2
jmp 0x494b47
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, edx
jae 0x494c41
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
cmp edi, 0xd800
jne 0x494b87
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, ebx
mov edi, eax
shr edi, 7
movzx edi, byte [edi + 0x4be2f8]
and eax, 0x7f
shl edi, 7
add edi, eax
movzx eax, word [edi*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
cmp dword [eax*4 + 0x4bca70], ebx
je 0x494c69
lea ebp, [ebp + ecx*2]
cmp ebp, edx
jae 0x494c31
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
mov ecx, 1
cmp edi, 0xd800
jne 0x494bfc
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, ebx
mov edi, eax
shr edi, 7
movzx edi, byte [edi + 0x4be2f8]
and eax, 0x7f
shl edi, 7
add edi, eax
movzx eax, word [edi*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
cmp dword [eax*4 + 0x4bca70], ebx
jne 0x494c31
lea ebp, [ebp + ecx*2]
cmp ebp, edx
jb 0x494bc4
inc esi
cmp esi, dword [esp + 0x14]
jl 0x494b40
jmp 0x494c69
cmp dword [eax + 0x8c], 0
je 0x494c69
cmp ebp, dword [eax + 0x88]
jbe 0x494c69
mov dword [eax + 0x64], ecx
cmp dword [eax + 0x8c], ecx
jg 0x4962df
cmp dword [esp + 0x20], 0
jne 0x490221
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
mov edi, dword [esp + 0x160]
mov esi, dword [esp + 0x15c]
mov ebx, dword [esp + 0x158]
inc edx
push edx
push eax
push ecx
push edi
push esi
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov edx, ebp
mov ecx, 2
sub ebp, ecx
cmp edx, dword [esp + 0x1c]
je case.0x49024e.151
lea esp, [esp]
mov ax, word [ebp]
mov edx, 0xfc00
and ax, dx
mov edx, 0xdc00
cmp ax, dx
jne 0x494ce8
sub ebp, ecx
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
cmp edx, 0xd800
jne 0x494d19
movzx edx, word [ebp + 2]
and eax, 0x3ff
and edx, 0x3ff
shl eax, 0xa
or eax, edx
add eax, 0x10000
mov edx, eax
shr edx, 7
movzx edx, byte [edx + 0x4be2f8]
shl edx, 7
and eax, 0x7f
add edx, eax
movzx eax, word [edx*2 + 0x4c04f8]
movzx edx, byte [eax*8 + 0x4bd219]
cmp dword [edx*4 + 0x4bca70], ecx
jne 0x497f09
sub ebp, ecx
jmp 0x494cd0
add eax, 0xfffffffa
cmp eax, 0xf
ja case.default.0x491e2b
jmp dword [eax*4 + 0x498214]
cmp edi, 0x7fffffff
mov edi, ebx
jge 0x494e56
cmp ebx, dword [esp + 0x14]
jge 0x4951e3
lea esp, [esp]
mov ecx, dword [esp + 0x164]
cmp ebp, dword [ecx + 0x7c]
jae 0x494e2f
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x494dc2
mov edx, dword [ecx + 0x7c]
push 1
lea esi, [ecx + 0x1c]
push eax
mov ecx, ebp
call fcn.00499450
add esp, 8
test eax, eax
jne 0x4951e3
mov ecx, dword [esp + 0x164]
jmp 0x494dfa
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x7c]
lea edx, [eax + eax]
sub esi, edx
cmp ebp, esi
ja 0x494dfa
mov dx, word [ebp]
cmp dx, word [ecx + 0x2c]
jne 0x494dfa
cmp eax, 1
je 0x4951e3
mov ax, word [ebp + 2]
cmp ax, word [ecx + 0x2e]
je 0x4951e3
add ebp, 2
cmp ebp, dword [ecx + 0x7c]
jae 0x494e1f
mov dx, word [ebp]
mov eax, 0xfc00
and dx, ax
mov ecx, 0xdc00
cmp dx, cx
jne 0x494e1f
add ebp, 2
inc edi
cmp edi, dword [esp + 0x14]
jl 0x494d80
jmp 0x4951e3
cmp dword [ecx + 0x8c], 0
je 0x4951e3
mov edx, ecx
cmp ebp, dword [edx + 0x88]
jbe 0x4951e3
mov ecx, 1
mov eax, edx
jmp 0x4951d4
cmp ebx, dword [esp + 0x14]
jge 0x4951e3
mov ecx, dword [esp + 0x164]
cmp ebp, dword [ecx + 0x7c]
jae 0x494e2f
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x494e9e
mov edx, dword [ecx + 0x7c]
push 1
lea esi, [ecx + 0x1c]
push eax
mov ecx, ebp
call fcn.00499450
add esp, 8
test eax, eax
jne 0x4951e3
mov ecx, dword [esp + 0x164]
jmp 0x494ed6
mov eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x7c]
lea edx, [eax + eax]
sub esi, edx
cmp ebp, esi
ja 0x494ed6
mov dx, word [ebp]
cmp dx, word [ecx + 0x2c]
jne 0x494ed6
cmp eax, 1
je 0x4951e3
mov ax, word [ebp + 2]
cmp ax, word [ecx + 0x2e]
je 0x4951e3
add ebp, 2
cmp ebp, dword [ecx + 0x7c]
jae 0x494eff
mov dx, word [ebp]
mov eax, 0xfc00
and dx, ax
mov ecx, 0xdc00
cmp dx, cx
jne 0x494eff
add ebp, 2
inc edi
cmp edi, dword [esp + 0x14]
jl 0x494e60
jmp 0x4951e3
cmp edi, 0x7fffffff
jge 0x494f75
mov eax, ebx
cmp ebx, edi
jge 0x4951e3
mov ecx, dword [esi + 0x7c]
cmp ebp, ecx
jae 0x494f78
add ebp, 2
cmp ebp, ecx
jae 0x494f58
mov dx, word [ebp]
mov ebx, 0xfc00
and dx, bx
mov ebx, 0xdc00
cmp dx, bx
jne 0x494f58
add ebp, 2
inc eax
cmp eax, edi
jl 0x494f28
jmp 0x4951e3
mov ecx, dword [esi + 0x7c]
sub edi, ebx
sub ecx, ebp
mov eax, edi
sar ecx, 1
cmp eax, ecx
jbe 0x494fa4
mov ebp, dword [esi + 0x7c]
cmp dword [esi + 0x8c], 0
je 0x4951e3
cmp ebp, dword [esi + 0x88]
jbe 0x4951e3
mov eax, 1
mov dword [esi + 0x64], eax
cmp dword [esi + 0x8c], eax
jmp 0x4951dd
lea ebp, [ebp + eax*2]
jmp 0x4951e3
mov esi, ebx
cmp ebx, dword [esp + 0x14]
jge 0x4951e3
mov ebx, dword [esp + 0x164]
mov edx, dword [ebx + 0x7c]
mov ecx, 1
cmp ebp, edx
jae 0x495087
movzx eax, word [ebp]
mov edi, eax
and edi, 0xfc00
cmp edi, 0xd800
jne 0x495006
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0xd
jne 0x49502d
add ebp, 2
cmp ebp, edx
jae 0x4951e3
cmp word [ebp], 0xa
jne 0x495077
add ebp, 2
jmp 0x495077
cmp eax, 0xa
je 0x495073
cmp dword [ebx + 0x68], 0
jne 0x4951e3
cmp eax, 0xb
je 0x495073
cmp eax, 0xc
je 0x495073
cmp eax, 0x85
je 0x495073
cmp eax, 0x2028
je 0x495073
cmp eax, 0x2029
jne 0x4951e3
lea ebp, [ebp + ecx*2]
inc esi
cmp esi, dword [esp + 0x14]
jl 0x494fc3
jmp 0x4951e3
cmp dword [ebx + 0x8c], 0
je 0x4951e3
cmp ebp, dword [ebx + 0x88]
jbe 0x4951e3
mov dword [ebx + 0x64], ecx
cmp dword [ebx + 0x8c], ecx
jmp 0x4951dd
mov esi, ebx
cmp ebx, dword [esp + 0x14]
jge 0x4951e3
mov edx, dword [esp + 0x164]
mov edi, dword [edx + 0x7c]
mov edx, dword [esp + 0x14]
mov ecx, 1
cmp ebp, edi
jae 0x4951b4
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x49510b
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0x180e
ja 0x495148
je 0x49518b
cmp eax, 0xa0
ja 0x49513e
je 0x49518b
cmp eax, 9
je 0x49518b
cmp eax, 0x20
jmp 0x49517e
cmp eax, 0x1680
jmp 0x49517e
cmp eax, 0x205f
ja 0x495179
je 0x49518b
cmp eax, 0x2000
jb 0x495184
cmp eax, 0x200a
jbe 0x49518b
cmp eax, 0x202f
jmp 0x49517e
cmp eax, 0x3000
je 0x49518b
xor eax, eax
jmp 0x495190
mov eax, 1
xor ebx, ebx
cmp dword [esp + 0x18], 0x12
sete bl
cmp eax, ebx
je 0x4951e3
inc esi
lea ebp, [ebp + ecx*2]
cmp esi, edx
jl 0x4950c8
jmp 0x4951e3
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je 0x4951e3
cmp ebp, dword [eax + 0x88]
jbe 0x4951e3
mov dword [eax + 0x64], ecx
cmp dword [eax + 0x8c], ecx
jg 0x4962df
cmp dword [esp + 0x20], 0
jne 0x490221
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov edi, dword [esp + 0x160]
mov esi, dword [esp + 0x15c]
mov ebx, dword [esp + 0x158]
inc eax
push eax
push ecx
push edx
push edi
push esi
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov eax, dword [esp + 0x1c]
mov ecx, ebp
sub ebp, 2
cmp ecx, eax
je case.0x49024e.151
mov dx, word [ebp]
mov ecx, 0xfc00
and dx, cx
mov ecx, 0xdc00
cmp dx, cx
jne 0x49525e
sub ebp, 2
cmp dword [esp + 0x18], 0x11
jne 0x49528a
cmp ebp, eax
jbe 0x49528a
cmp word [ebp], 0xa
jne 0x49528a
cmp word [ebp - 2], 0xd
jne 0x49528a
add ebp, 0xfffffffe
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
push eax
push ecx
push edi
push esi
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x495230
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov esi, ebx
cmp ebx, dword [esp + 0x14]
jge 0x4951e3
mov edx, dword [esp + 0x164]
mov edi, dword [edx + 0x7c]
mov edx, dword [esp + 0x14]
mov ecx, 1
cmp ebp, edi
jae 0x4951b4
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x49531f
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0x85
ja 0x495368
je 0x495372
cmp eax, 0xa
jb 0x495342
cmp eax, 0xd
jbe 0x495372
xor eax, eax
xor ebx, ebx
cmp dword [esp + 0x18], 0x14
sete bl
cmp eax, ebx
je 0x4951e3
inc esi
lea ebp, [ebp + ecx*2]
cmp esi, edx
jl 0x4952dc
jmp 0x4951e3
add eax, 0xffffdfd8
cmp eax, 1
ja 0x495342
mov eax, 1
jmp 0x495344
mov edx, ebx
cmp ebx, edi
jge 0x4951e3
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
mov edi, dword [esp + 0x14]
jmp 0x4953a7
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4951bb
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x4953ea
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0x100
jae 0x495409
mov ebx, dword [esp + 0x164]
mov ebx, dword [ebx + 0x3c]
test byte [eax + ebx], 4
jne 0x4951e3
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x4953a0
jmp 0x4951e3
mov edx, ebx
cmp ebx, edi
jge 0x4951e3
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
mov edi, dword [esp + 0x14]
jmp 0x495447
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4951bb
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x49548a
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0x100
jae 0x4951e3
mov ebx, dword [esp + 0x164]
mov ebx, dword [ebx + 0x3c]
test byte [eax + ebx], 4
je 0x4951e3
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x495440
jmp 0x4951e3
mov edx, ebx
cmp ebx, edi
jge 0x4951e3
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
mov edi, dword [esp + 0x14]
jmp 0x4954e7
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4951bb
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x49552a
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0x100
jae 0x495549
mov ebx, dword [esp + 0x164]
mov ebx, dword [ebx + 0x3c]
test byte [eax + ebx], 1
jne 0x4951e3
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x4954e0
jmp 0x4951e3
mov edx, ebx
cmp ebx, edi
jge 0x4951e3
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
mov edi, dword [esp + 0x14]
jmp 0x495587
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4951bb
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x4955ca
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0x100
jae 0x4951e3
mov ebx, dword [esp + 0x164]
mov ebx, dword [ebx + 0x3c]
test byte [eax + ebx], 1
je 0x4951e3
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x495580
jmp 0x4951e3
mov edx, ebx
cmp ebx, edi
jge 0x4951e3
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
mov edi, dword [esp + 0x14]
jmp 0x495627
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4951bb
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x49566a
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0x100
jae 0x495689
mov ebx, dword [esp + 0x164]
mov ebx, dword [ebx + 0x3c]
test byte [eax + ebx], 0x10
jne 0x4951e3
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x495620
jmp 0x4951e3
mov edx, ebx
cmp ebx, edi
jge 0x4951e3
mov eax, dword [esp + 0x164]
mov esi, dword [eax + 0x7c]
mov edi, dword [esp + 0x14]
jmp 0x4956b8
mov eax, dword [esp + 0x164]
mov ecx, 1
cmp ebp, esi
jae 0x4951bb
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
cmp ebx, 0xd800
jne 0x4956fb
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
cmp eax, 0x100
jae 0x4951e3
mov ebx, dword [esp + 0x164]
mov ebx, dword [ebx + 0x3c]
test byte [eax + ebx], 0x10
je 0x4951e3
inc edx
lea ebp, [ebp + ecx*2]
cmp edx, edi
jl 0x4956b1
jmp 0x4951e3
mov eax, dword [ebx + 0x90]
cmp eax, dword [esp + 0x160]
jle 0x49574a
mov dword [esp + 0x160], eax
movzx edx, word [esi + 6]
cmp word [esi + edx*2 + 4], 0x71
lea eax, [esi + edx*2 + 4]
jne 0x49576e
mov edi, edi
movzx ecx, word [eax + 2]
cmp word [eax + ecx*2], 0x71
lea eax, [eax + ecx*2]
je 0x495760
mov edx, dword [esp + 0x14]
add eax, 4
cmp edx, 0x86
je 0x496010
mov dword [esp + 0x158], eax
jmp 0x495b03
cmp word [esi], 0x74
jne 0x4957d0
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
inc edx
push edx
push ecx
push ebx
push eax
push edi
add esi, 4
push esi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov edx, dword [esp + 0x18]
mov dword [esp + 0x158], edx
jmp 0x495b03
mov edx, dword [esp + 0x168]
mov dword [ebx + 0x9c], 2
mov ecx, dword [esp + 0x16c]
inc ecx
push ecx
push edx
push ebx
push eax
mov eax, dword [esp + 0x28]
push edi
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
add esi, 4
mov dword [esp + 0x158], esi
jmp 0x495b03
mov ecx, dword [esp + 0x158]
movzx ecx, word [ecx + 4]
mov ebx, dword [esp + 0x164]
lea esi, [ecx + ecx]
mov dword [esp + 0x28], ecx
cmp esi, dword [ebx + 0x14]
jge 0x495920
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + esi*4]
mov dword [esp + 0x34], edx
mov edx, dword [eax + esi*4 + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [ebx + 0x10]
sub edx, ecx
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebx + 0x94]
mov dword [esp + 0x20], edx
mov edx, ebp
sub edx, dword [ebx + 0x78]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xb0]
sar edx, 1
mov dword [esp + 0x24], ecx
mov dword [eax], edx
cmp dword [esp + 0x14], 0x82
mov edi, dword [esp + 0x158]
jl 0x495892
mov dword [ebx + 0x9c], 2
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x160]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
movzx ecx, word [edi]
push ebx
push edx
movzx edx, byte [ecx + 0x4bc9d0]
push eax
lea eax, [edi + edx*2]
push eax
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 0xfffffc1c
je 0x495f84
cmp eax, 0xfffffc20
jne 0x495f50
movzx ecx, word [edi + 2]
lea ecx, [edi + ecx*2]
cmp dword [ebx + 0x80], ecx
jae 0x497f46
cmp word [edi], 0x71
je 0x495908
cmp word [ecx], 0x71
jne 0x497f46
xor eax, eax
jmp 0x495f58
mov ebx, dword [esp + 0x164]
jmp 0x495920
cmp edx, 0x82
jge 0x49596e
cmp edx, 0x7b
je 0x49596e
cmp dword [ebx + 0x6c], 0
jne 0x495978
mov eax, dword [esp + 0x158]
movzx edx, word [eax + 2]
cmp word [eax + edx*2], 0x71
je 0x495978
movzx ecx, word [eax]
movzx edx, byte [ecx + 0x4bc9d0]
lea eax, [eax + edx*2]
mov dword [esp + 0x158], eax
jmp 0x495b03
mov dword [ebx + 0x9c], 2
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edi, dword [esp + 0x158]
mov edx, dword [esp + 0x160]
mov esi, dword [ebx + 0xb0]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
movzx ecx, word [edi]
push ebx
push edx
movzx edx, byte [ecx + 0x4bc9d0]
push eax
lea eax, [edi + edx*2]
push eax
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 0xfffffc20
jne 0x4959f5
movzx ecx, word [edi + 2]
lea ecx, [edi + ecx*2]
cmp dword [ebx + 0x80], ecx
jae 0x497f46
cmp word [edi], 0x71
je 0x4959fd
cmp word [ecx], 0x71
jne 0x497f46
jmp 0x4959fd
test eax, eax
jne 0x495fb5
movzx edx, word [edi + 2]
lea eax, [edi + edx*2]
mov dword [ebx + 0xb0], esi
cmp word [eax], 0x71
mov dword [esp + 0x158], eax
jne case.0x49024e.151
mov edx, dword [esp + 0x14]
jmp 0x495920
movzx eax, word [ecx]
cmp eax, 0x75
je 0x4961c4
cmp eax, 0x74
jne 0x495a96
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x15c]
inc ecx
push ecx
mov ecx, dword [esp + 0x15c]
push edx
push ebx
push esi
push eax
add ecx, 4
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
movzx eax, word [edi]
cmp eax, 0x7b
je 0x4961e0
mov edx, 0x82
cmp ax, dx
jae 0x496201
mov dword [esp + 0x158], edi
jmp 0x495b03
mov eax, 0x82
cmp word [edi], ax
jb 0x495aae
mov dword [ebx + 0x9c], 2
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x15c]
inc ecx
push ecx
push edx
push ebx
push esi
push eax
push edi
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 0xfffffc1c
jne 0x495ae9
cmp dword [ebx + 0xb8], edi
jmp 0x495aeb
test eax, eax
jne 0x497f46
cmp word [edi], 0x7b
je 0x49623b
add dword [esp + 0x158], 4
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
jb 0x4901e3
inc dword [ebx]
mov eax, 0xfffffff8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, 0xffffffeb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x158]
mov esi, dword [esp + 0x164]
mov edx, dword [esp + 0x168]
lea ebx, [eax + 4]
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb0], ecx
mov ecx, dword [esp + 0x16c]
inc ecx
push ecx
mov ecx, dword [esp + 0x164]
push edx
mov edx, dword [esp + 0x164]
push esi
push ecx
movzx ecx, word [eax]
push edx
movzx edx, byte [ecx + 0x4bc9d0]
movzx ecx, word [eax + 2]
add edx, ecx
lea edx, [eax + edx*2]
push edx
push ebp
call fcn.00490160
mov edi, eax
add esp, 0x1c
cmp edi, 1
je 0x495ba3
cmp edi, 0xfffffc19
jne 0x495bc3
cmp dword [esi + 0xb0], 0
jne 0x495bc3
mov dword [esi + 0xb0], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp edi, 0xfffffc1f
jne 0x496129
mov eax, dword [esi + 0x80]
mov ecx, ebx
call fcn.004993a0
test eax, eax
jne 0x496129
mov dword [esi + 0x80], ebp
lea eax, [edi - 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x164]
push ecx
mov ecx, dword [esp + 0x164]
push edx
movzx edx, word [esi]
push eax
movzx eax, byte [edx + 0x4bc9d0]
push ecx
lea ecx, [esi + eax*2]
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x495c6c
cmp eax, 0xfffffc1d
je 0x495c6c
cmp eax, 0xfffffc1e
je 0x495c6c
cmp eax, 0xfffffc1f
je 0x495c6c
cmp eax, 0xfffffc20
jne 0x497f46
mov eax, 0xfffffc1a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
mov edx, dword [esp + 0x164]
push eax
mov eax, dword [esp + 0x164]
push ecx
movzx ecx, word [esi]
push edx
movzx edx, byte [ecx + 0x4bc9d0]
push eax
lea eax, [esi + edx*2]
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x495ccf
cmp eax, 0xfffffc20
jne 0x497f46
mov eax, 0xfffffc1d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x158]
mov ebx, dword [esp + 0x164]
mov edx, dword [esp + 0x168]
lea esi, [eax + 4]
mov dword [ebx + 0xb4], esi
mov dword [ebx + 0xb0], ecx
mov ecx, dword [esp + 0x16c]
inc ecx
push ecx
mov ecx, dword [esp + 0x164]
push edx
mov edx, dword [esp + 0x164]
push ebx
push ecx
movzx ecx, word [eax]
push edx
movzx edx, byte [ecx + 0x4bc9d0]
movzx ecx, word [eax + 2]
add edx, ecx
lea edx, [eax + edx*2]
push edx
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 1
je 0x495d4f
cmp eax, 0xfffffc19
jne 0x495cbc
cmp dword [ebx + 0xb0], 0
jne 0x495cbc
mov dword [ebx + 0xb0], esi
jmp 0x495cbc
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edi, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
movzx ecx, word [esi]
push edi
push edx
movzx edx, byte [ecx + 0x4bc9d0]
push eax
lea eax, [esi + edx*2]
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x495dc5
cmp eax, 0xfffffc1d
je 0x495dc5
cmp eax, 0xfffffc20
jne 0x497f46
mov dword [edi + 0x80], ebp
mov eax, 0xfffffc1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x160]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
movzx edx, word [esi]
push ebx
push eax
movzx eax, byte [edx + 0x4bc9d0]
push ecx
movzx ecx, word [esi + 2]
add eax, ecx
lea edx, [esi + eax*2]
push edx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x495e38
cmp eax, 0xfffffc1d
je 0x495e38
cmp eax, 0xfffffc20
jne 0x497f46
add esi, 4
mov dword [ebx + 0x80], esi
mov eax, 0xfffffc1f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edi, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
movzx ecx, word [esi]
push edi
push edx
movzx edx, byte [ecx + 0x4bc9d0]
push eax
lea eax, [esi + edx*2]
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov dword [edi + 0x80], esi
mov eax, 0xfffffc20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edi, dword [esp + 0x158]
mov esi, dword [esp + 0x164]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x160]
lea ebx, [edi + 4]
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb0], ecx
mov ecx, dword [esp + 0x16c]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
movzx edx, word [edi]
push esi
push eax
movzx eax, byte [edx + 0x4bc9d0]
push ecx
movzx ecx, word [edi + 2]
add eax, ecx
lea edx, [edi + eax*2]
push edx
push ebp
call fcn.00490160
add esp, 0x1c
cmp eax, 1
je 0x495f1f
cmp eax, 0xfffffc19
jne 0x495f32
cmp dword [esi + 0xb0], 0
jne 0x495f32
mov dword [esi + 0xb0], ebx
test eax, eax
jne 0x497f46
mov dword [esi + 0x80], edi
mov eax, 0xfffffc20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
test eax, eax
jne 0x497f46
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x94], edx
movzx ecx, word [edi + 2]
mov edx, dword [esp + 0x24]
lea ecx, [edi + ecx*2]
mov dword [ebx + 0xb0], edx
cmp word [ecx], 0x71
mov dword [esp + 0x158], ecx
je 0x495873
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov dword [ecx + esi*4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [ecx + esi*4 + 4], edx
mov ecx, dword [ebx + 0x10]
sub ecx, dword [esp + 0x28]
mov edx, dword [ebx + 0xc]
mov esi, dword [esp + 0x30]
mov dword [edx + ecx*4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp eax, 0xfffffc1c
jne 0x497f46
movzx edx, word [edi]
mov ecx, edi
cmp edx, 0x7b
je 0x495ff7
cmp edx, 0x71
jne 0x495fee
jmp 0x495fe0
movzx edx, word [ecx + 2]
cmp word [ecx + edx*2], 0x71
lea ecx, [ecx + edx*2]
je 0x495fe0
movzx edx, word [ecx + 2]
neg edx
lea ecx, [ecx + edx*2]
cmp dword [ebx + 0xb8], ecx
jne 0x497f46
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x168]
mov dword [ebx + 0x9c], 2
mov ecx, dword [esp + 0x16c]
inc ecx
push ecx
mov ecx, dword [esp + 0x164]
push edx
mov edx, dword [esp + 0x164]
push ebx
push ecx
push edx
push eax
push ebp
call fcn.00490160
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ecx, dword [esp + 0x15c]
cmp ebp, ecx
jne 0x4960b5
cmp edx, 0x99
je 0x4960b5
mov eax, dword [esp + 0x164]
cmp dword [eax + 0xa8], 0
jne 0x4960bc
cmp dword [eax + 0x5c], 0
jne 0x4960a8
cmp dword [eax + 0x60], 0
je 0x4960bc
mov esi, dword [eax + 0x98]
mov edi, dword [eax + 0x78]
lea esi, [edi + esi*2]
cmp ecx, esi
jne 0x4960bc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x164]
mov esi, dword [esp + 0x160]
mov dword [eax + 0x84], ebp
mov dword [eax + 0x90], esi
mov dword [eax + 0x80], ecx
mov eax, edx
neg eax
sbb eax, eax
and eax, 0xfffffc18
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, 0xffffffe6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, 0xfffffffa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xd8]
cmp eax, ecx
je 0x496129
push eax
call dword [0x4d545c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x40]
mov dword [ebx + 0xa8], edx
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xd8]
cmp eax, ecx
je 0x49615d
push eax
call dword [0x4d545c]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
mov ecx, dword [esp + 0x15c]
mov dword [eax + 0x84], ebp
mov dword [eax + 0x90], edx
mov dword [eax + 0x80], ecx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x15c]
mov dword [ebx + 0x84], ebp
mov dword [ebx + 0x80], edx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov dword [ebx + 0x84], ebp
mov dword [ebx + 0x90], esi
mov eax, 0xfffffc1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x15c]
inc eax
push eax
push ecx
push ebx
push esi
push edx
push edi
jmp 0x49628c
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x15c]
mov dword [ebx + 0x9c], 2
mov eax, dword [esp + 0x16c]
inc eax
push eax
push ecx
push ebx
push esi
push edx
push edi
push ebp
call fcn.00490160
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x15c]
inc eax
push eax
mov eax, dword [esp + 0x15c]
push ecx
push ebx
push esi
push edx
add eax, 4
push eax
jmp 0x49628c
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x15c]
inc ecx
push ecx
mov ecx, dword [esp + 0x15c]
push edx
push ebx
push esi
push eax
add ecx, 4
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov dword [ebx + 0xb8], edi
mov eax, 0xfffffc1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [ebx + 0x8c], ecx
je case.0x49024e.151
cmp ebp, dword [ebx + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [ebx + 0x64], eax
cmp dword [ebx + 0x8c], eax
jle case.0x49024e.151
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [eax + 0x8c], ecx
je case.0x49024e.151
cmp ebp, dword [eax + 0x88]
jbe case.0x49024e.151
mov ecx, 1
mov dword [eax + 0x64], ecx
cmp dword [eax + 0x8c], ecx
jle case.0x49024e.151
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [ecx + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [ecx + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [ecx + 0x64], eax
cmp dword [ecx + 0x8c], eax
jle case.0x49024e.151
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [edx + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [edx + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [edx + 0x64], eax
cmp dword [edx + 0x8c], eax
jle case.0x49024e.151
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, 0xfffffff2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [eax + 0x7c]
jb case.0x49024e.151
cmp ebp, dword [eax + 0x88]
jbe case.0x49024e.151
mov ecx, 1
mov dword [eax + 0x64], ecx
cmp dword [eax + 0x8c], ecx
jle case.0x49024e.151
lea eax, [ecx - 0xd]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [edi + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [edi + 0x7c]
jb case.0x49024e.151
cmp ebp, dword [edi + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [edi + 0x64], eax
cmp dword [edi + 0x8c], eax
jle case.0x49024e.151
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov dword [esp + 0x1c], ebp
cmp edi, eax
jge 0x4964d4
mov edi, dword [esp + 0x164]
lea esp, [esp]
mov eax, dword [esp + 0x18]
push eax
push esi
mov edx, edi
mov eax, ebx
mov ecx, ebp
call fcn.0048ffb0
add esp, 8
test eax, eax
js 0x496494
lea ebp, [ebp + eax*2]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x14]
jl 0x496460
jmp 0x4964ca
cmp dword [edi + 0x8c], 0
je 0x4964ca
cmp ebp, dword [edi + 0x7c]
jb 0x4964ca
cmp ebp, dword [edi + 0x88]
jbe 0x4964ca
mov eax, 1
mov dword [edi + 0x64], eax
cmp dword [edi + 0x8c], eax
jg 0x4962df
cmp ebp, dword [esp + 0x1c]
jb 0x496524
mov esi, dword [esp + 0x158]
mov edi, dword [esp + 0x160]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
push eax
push edi
push ecx
push esi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov edx, ebx
neg edx
lea ebp, [ebp + edx*2]
cmp ebp, dword [esp + 0x1c]
jae 0x4964e2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [esi + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [esi + 0x7c]
jb case.0x49024e.151
cmp ebp, dword [esi + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [esi + 0x64], eax
cmp dword [esi + 0x8c], eax
jle case.0x49024e.151
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [eax + 0x88]
jbe case.0x49024e.151
mov dword [eax + 0x64], 1
cmp dword [eax + 0x8c], 1
jle case.0x49024e.151
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ecx, eax
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x24]
shr eax, 3
mov al, byte [eax + ecx]
test al, dl
je case.0x49024e.151
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
mov edx, dword [esp + 0x160]
push eax
push ebx
push ecx
push edx
push ebp
inc esi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x492417
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov dword [esp + 0x1c], ebp
mov edx, esi
cmp esi, edi
jge 0x496705
mov eax, dword [esp + 0x164]
mov ecx, dword [eax + 0x7c]
mov dword [esp + 0x18], ecx
jmp 0x496657
mov eax, dword [esp + 0x164]
mov esi, 1
cmp ebp, dword [esp + 0x18]
jae 0x4966dd
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x49669c
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov esi, 2
cmp eax, 0xff
jbe 0x4966ad
cmp dword [esp + 0x14], 0x6a
jmp 0x4966c5
mov ecx, eax
and ecx, 7
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp + 0x24]
shr eax, 3
mov al, byte [eax + ecx]
test al, bl
je 0x496705
inc edx
lea ebp, [ebp + esi*2]
cmp edx, edi
jl 0x496650
jmp 0x496705
cmp dword [eax + 0x8c], 0
je 0x496705
cmp ebp, dword [eax + 0x88]
jbe 0x496705
mov dword [eax + 0x64], esi
cmp dword [eax + 0x8c], esi
jg 0x4962df
mov ecx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov esi, dword [esp + 0x160]
mov edi, dword [esp + 0x15c]
mov eax, dword [esp + 0x158]
inc ecx
push ecx
push ebx
push edx
push esi
push edi
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov ecx, ebp
sub ebp, 2
cmp ecx, dword [esp + 0x1c]
je case.0x49024e.151
mov dx, word [ebp]
mov eax, 0xfc00
and dx, ax
mov ecx, 0xdc00
cmp dx, cx
jne 0x49676f
sub ebp, 2
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x158]
inc edx
push edx
push ebx
push eax
push esi
push edi
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x496747
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [eax + 0x88]
jbe case.0x49024e.151
mov dword [eax + 0x64], 1
cmp dword [eax + 0x8c], 1
jmp 0x496315
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], esi
cmp esi, edi
jge 0x496895
mov edx, dword [esp + 0x164]
mov eax, dword [edx + 0x7c]
mov dword [esp + 0x18], eax
mov esi, 1
cmp ebp, dword [esp + 0x18]
jae 0x496866
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x496839
movzx edx, word [ebp + 2]
and eax, 0x3ff
and edx, 0x3ff
shl eax, 0xa
or eax, edx
add eax, 0x10000
mov esi, 2
push 1
push eax
mov eax, dword [esp + 0x2c]
call fcn.00499650
add esp, 8
test eax, eax
je 0x496895
mov eax, dword [esp + 0x28]
inc eax
lea ebp, [ebp + esi*2]
mov dword [esp + 0x28], eax
cmp eax, edi
jl 0x4967f4
jmp 0x496895
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je 0x496895
cmp ebp, dword [eax + 0x88]
jbe 0x496895
mov dword [eax + 0x64], esi
cmp dword [eax + 0x8c], esi
jg 0x4962df
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov esi, dword [esp + 0x160]
mov edi, dword [esp + 0x15c]
inc eax
push eax
push ecx
push edx
push esi
push edi
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov eax, ebp
sub ebp, 2
cmp eax, dword [esp + 0x1c]
je case.0x49024e.151
mov cx, word [ebp]
mov edx, 0xfc00
and cx, dx
mov eax, 0xdc00
cmp cx, ax
jne 0x4968f8
sub ebp, 2
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
inc ecx
push ecx
push edx
push eax
push esi
push edi
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x4968d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [ecx + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [ecx + 0x7c]
jb case.0x49024e.151
cmp ebp, dword [ecx + 0x88]
jbe case.0x49024e.151
mov dword [ecx + 0x64], 1
cmp dword [ecx + 0x8c], 1
jmp 0x496315
cmp dword [edi + 0x8c], ecx
je case.0x49024e.151
cmp ebp, dword [edi + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [edi + 0x64], eax
cmp dword [edi + 0x8c], eax
jmp 0x496315
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [eax + 0x7c]
jb case.0x49024e.151
jmp 0x4962fb
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
inc ecx
push ecx
mov ecx, dword [esp + 0x164]
push edx
mov edx, dword [esp + 0x164]
push eax
mov eax, dword [esp + 0x164]
push ecx
push edx
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp edi, dword [esp + 0x14]
jge case.0x49024e.151
mov ecx, dword [esp + 0x164]
mov edi, dword [ecx + 0x7c]
mov eax, dword [esp + 0x24]
add eax, eax
mov edx, edi
sub edx, eax
cmp ebp, edx
ja 0x496a8d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
add eax, eax
mov esi, ebp
cmp eax, 4
jb 0x496a48
jmp 0x496a30
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x496a8d
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x496a30
test eax, eax
je 0x496a80
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x496a8d
cmp eax, 1
jbe 0x496a80
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x496a8d
cmp eax, 2
jbe 0x496a80
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x496a8d
mov eax, dword [esp + 0x24]
lea ebp, [ebp + eax*2]
jmp 0x496b12
cmp dword [esp + 0x18], 0
jle 0x496b68
mov edx, dword [esp + 0x18]
add edx, edx
sub edi, edx
cmp ebp, edi
ja 0x496b68
mov eax, dword [esp + 0x18]
add eax, eax
lea ecx, [esp + 0x5c]
mov esi, ebp
cmp eax, 4
jb 0x496ad8
lea ecx, [ecx]
mov edi, dword [esi]
cmp edi, dword [ecx]
jne 0x496b68
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x496ac0
test eax, eax
je 0x496b10
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x496b68
cmp eax, 1
jbe 0x496b10
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x496b68
cmp eax, 2
jbe 0x496b10
mov cl, byte [ecx + 2]
cmp cl, byte [esi + 2]
jne 0x496b68
add ebp, edx
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
mov edi, dword [esp + 0x28]
inc edx
push edx
mov edx, dword [esp + 0x164]
push eax
mov eax, dword [esp + 0x164]
push ecx
mov ecx, dword [esp + 0x164]
push edx
push eax
push ecx
inc edi
push ebp
mov dword [esp + 0x44], edi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x4969f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ecx, dword [esp + 0x164]
cmp dword [ecx + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [ecx + 0x7c]
jb case.0x49024e.151
cmp ebp, dword [ecx + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [ecx + 0x64], eax
cmp dword [ecx + 0x8c], eax
jmp 0x496315
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [eax + 0x88]
jbe case.0x49024e.151
mov ecx, dword [esp + 0x164]
mov eax, 1
mov dword [ecx + 0x64], eax
cmp dword [ecx + 0x8c], eax
jmp 0x496315
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
mov eax, dword [esp + 0x160]
push ecx
mov ebx, edi
mov edi, dword [esp + 0x16c]
push edi
push edx
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp ebx, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
cmp esi, eax
je 0x496c4e
cmp dword [esp + 0x28], eax
jne case.0x49024e.151
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
mov edx, dword [esp + 0x160]
push eax
push edi
push ecx
push edx
add ebp, 2
push ebp
inc ebx
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x496c22
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [edx + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [edx + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [edx + 0x64], eax
cmp dword [edx + 0x8c], eax
jmp 0x496315
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
mov ecx, dword [esp + 0x160]
push edx
mov ebx, edi
mov edi, dword [esp + 0x16c]
push edi
push eax
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp ebx, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx edx, word [ebp]
add ebp, 2
cmp esi, edx
jne case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
mov ecx, dword [esp + 0x160]
push edx
push edi
push eax
push ecx
push ebp
inc ebx
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x496d04
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ebx, dword [esp + 0x160]
mov edi, dword [esp + 0x158]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
mov esi, ecx
mov ecx, dword [esp + 0x16c]
push ecx
push ebx
push edx
push edi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp esi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x496e05
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
cmp dword [esp + 0x24], eax
je case.0x49024e.151
cmp dword [esp + 0x28], eax
je case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
push ebx
push eax
push edi
push ebp
inc esi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x496db4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ebx, dword [esp + 0x160]
mov edi, dword [esp + 0x158]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
mov esi, ecx
mov ecx, dword [esp + 0x16c]
push ecx
push ebx
push edx
push edi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
lea ecx, [ecx]
cmp esi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x496ef1
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
cmp dword [esp + 0x24], eax
je case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
push ebx
push eax
push edi
push ebp
inc esi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x496ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
cmp dword [esi + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [esi + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [esi + 0x64], eax
cmp dword [esi + 0x8c], eax
jmp 0x496315
mov ecx, dword [esp + 0x164]
cmp dword [ecx + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [ecx + 0x88]
jbe case.0x49024e.151
mov eax, 1
mov dword [ecx + 0x64], eax
cmp dword [ecx + 0x8c], eax
jmp 0x496315
mov eax, dword [esp + 0x164]
cmp dword [eax + 0x8c], 0
jmp 0x4962f5
cmp dword [esi + 0x8c], 0
je case.0x49024e.151
cmp ebp, dword [esi + 0x88]
jbe case.0x49024e.151
mov dword [esi + 0x64], 1
cmp dword [esi + 0x8c], 1
jmp 0x496315
test eax, eax
js 0x4979b5
cmp eax, 8
ja case.default.0x491e2b
jmp dword [eax*4 + 0x498254]
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
mov edi, dword [esp + 0x158]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
push ecx
mov esi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push edx
push edi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp esi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
and eax, 0xfc00
add ebp, 2
cmp eax, 0xd800
jne 0x497065
add ebp, 2
cmp dword [esp + 0x2c], 0
jne case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
push ebx
push eax
push edi
push ebp
inc esi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497035
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
mov esi, dword [esp + 0x158]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
push eax
mov edi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push ecx
push esi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp edi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x497141
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
mov edx, eax
shr edx, 7
movzx ecx, byte [edx + 0x4be2f8]
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx edx, word [ecx*2 + 0x4c04f8]
movzx eax, byte [edx*8 + 0x4bd219]
cmp eax, 9
je 0x49717c
cmp eax, 5
je 0x49717c
cmp eax, 8
je 0x49717c
xor eax, eax
jmp 0x497181
mov eax, 1
cmp eax, dword [esp + 0x2c]
je case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
push ebx
push eax
push esi
push ebp
inc edi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x4970f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
mov edi, dword [esp + 0x158]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
push eax
mov esi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push ecx
push edi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
nop
cmp esi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x497261
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
mov edx, eax
shr edx, 7
movzx ecx, byte [edx + 0x4be2f8]
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx edx, word [ecx*2 + 0x4c04f8]
movzx eax, byte [edx*8 + 0x4bd219]
mov edx, dword [esp + 0x38]
xor ecx, ecx
cmp dword [eax*4 + 0x4bca70], edx
sete cl
cmp ecx, dword [esp + 0x2c]
je case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
push ebx
push eax
push edi
push ebp
inc esi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497210
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
mov edi, dword [esp + 0x158]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
push eax
mov esi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push ecx
push edi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp esi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x497374
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
mov edx, eax
shr edx, 7
movzx ecx, byte [edx + 0x4be2f8]
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx edx, word [ecx*2 + 0x4c04f8]
movzx eax, byte [edx*8 + 0x4bd219]
xor ecx, ecx
cmp eax, dword [esp + 0x38]
sete cl
cmp ecx, dword [esp + 0x2c]
je case.0x49024e.151
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
push ecx
push ebx
push edx
push edi
push ebp
inc esi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497323
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov edi, dword [esp + 0x158]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
mov esi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push eax
push edi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
nop
cmp esi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x497481
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
mov ecx, eax
shr ecx, 7
movzx edx, byte [ecx + 0x4be2f8]
shl edx, 7
and eax, 0x7f
add edx, eax
movzx eax, word [edx*2 + 0x4c04f8]
movzx ecx, byte [eax*8 + 0x4bd218]
xor edx, edx
cmp ecx, dword [esp + 0x38]
sete dl
cmp edx, dword [esp + 0x2c]
je case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
push ebx
push eax
push edi
push ebp
inc esi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497430
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
mov esi, dword [esp + 0x158]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
push eax
mov edi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push ecx
push esi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
lea esp, [esp]
cmp edi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov edx, eax
and edx, 0xfc00
add ebp, 2
cmp edx, 0xd800
jne 0x497591
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
mov edx, eax
shr edx, 7
movzx ecx, byte [edx + 0x4be2f8]
and eax, 0x7f
shl ecx, 7
add ecx, eax
movzx edx, word [ecx*2 + 0x4c04f8]
movzx eax, byte [edx*8 + 0x4bd219]
mov eax, dword [eax*4 + 0x4bca70]
cmp eax, 1
je 0x4975ca
cmp eax, 3
je 0x4975ca
xor eax, eax
jmp 0x4975cf
mov eax, 1
cmp eax, dword [esp + 0x2c]
je case.0x49024e.151
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
push eax
push ebx
push ecx
push esi
push ebp
inc edi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
mov esi, dword [esp + 0x160]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
push ecx
push esi
push edx
mov edi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
lea ecx, [ecx]
cmp edi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x4976b1
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
mov ecx, eax
shr ecx, 7
movzx edx, byte [ecx + 0x4be2f8]
shl edx, 7
mov ecx, eax
and ecx, 0x7f
add edx, ecx
movzx edx, word [edx*2 + 0x4c04f8]
movzx ecx, byte [edx*8 + 0x4bd219]
cmp dword [ecx*4 + 0x4bca70], 6
je 0x497701
cmp eax, 9
je 0x497701
cmp eax, 0xa
je 0x497701
cmp eax, 0xc
je 0x497701
cmp eax, 0xd
je 0x497701
xor eax, eax
jmp 0x497706
mov eax, 1
cmp eax, dword [esp + 0x2c]
je case.0x49024e.151
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
push ecx
push esi
push edx
push ebx
push ebp
inc edi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497660
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov esi, dword [esp + 0x160]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
push esi
push eax
mov edi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp edi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x4977e5
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
mov ecx, eax
shr ecx, 7
movzx edx, byte [ecx + 0x4be2f8]
shl edx, 7
mov ecx, eax
and ecx, 0x7f
add edx, ecx
movzx edx, word [edx*2 + 0x4c04f8]
movzx ecx, byte [edx*8 + 0x4bd219]
cmp dword [ecx*4 + 0x4bca70], 6
je 0x49783e
cmp eax, 9
je 0x49783e
cmp eax, 0xa
je 0x49783e
cmp eax, 0xb
je 0x49783e
cmp eax, 0xc
je 0x49783e
cmp eax, 0xd
je 0x49783e
xor eax, eax
jmp 0x497843
mov eax, 1
cmp eax, dword [esp + 0x2c]
je case.0x49024e.151
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
push ecx
push esi
push edx
push ebx
push ebp
inc edi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497794
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov esi, dword [esp + 0x158]
inc eax
push eax
mov eax, dword [esp + 0x160]
push ecx
push edx
mov edi, ebx
mov ebx, dword [esp + 0x16c]
push ebx
push eax
push esi
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp edi, dword [esp + 0x14]
jge case.0x49024e.151
mov eax, dword [esp + 0x164]
cmp ebp, dword [eax + 0x7c]
jae 0x496fa1
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x497922
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
mov ecx, eax
shr ecx, 7
movzx edx, byte [ecx + 0x4be2f8]
shl edx, 7
mov ecx, eax
and ecx, 0x7f
add edx, ecx
movzx edx, word [edx*2 + 0x4c04f8]
movzx ecx, byte [edx*8 + 0x4bd219]
mov ecx, dword [ecx*4 + 0x4bca70]
cmp ecx, 1
je 0x497966
cmp ecx, 3
je 0x497966
cmp eax, 0x5f
je 0x497966
xor eax, eax
jmp 0x49796b
mov eax, 1
cmp eax, dword [esp + 0x2c]
je case.0x49024e.151
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
inc edx
push edx
mov edx, dword [esp + 0x160]
push eax
push ecx
push ebx
push edx
push esi
push ebp
inc edi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x4978d1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
inc eax
cmp dword [esp + 0x18], 0x16
push eax
mov edi, ebx
push ecx
jne 0x497b49
mov edx, dword [esp + 0x16c]
mov esi, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x160]
push edx
push esi
push eax
push ecx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
mov eax, dword [esp + 0x164]
cmp edi, dword [esp + 0x14]
jge case.0x49024e.151
mov edx, dword [eax + 0x7c]
cmp ebp, edx
jae 0x496fa1
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x497a57
movzx ecx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
add ebp, 2
mov ecx, eax
shr ecx, 7
movzx ecx, byte [ecx + 0x4be2f8]
shl ecx, 7
and eax, 0x7f
add ecx, eax
movzx eax, word [ecx*2 + 0x4c04f8]
movzx ecx, byte [eax*8 + 0x4bd219]
cmp dword [ecx*4 + 0x4bca70], 2
je case.0x49024e.151
cmp ebp, edx
jae 0x497b02
movzx eax, word [ebp]
mov ebx, eax
and ebx, 0xfc00
mov ecx, 1
cmp ebx, 0xd800
jne 0x497acc
movzx ecx, word [ebp + 2]
and eax, 0x3ff
and ecx, 0x3ff
shl eax, 0xa
or eax, ecx
add eax, 0x10000
mov ecx, 2
mov ebx, eax
shr ebx, 7
movzx ebx, byte [ebx + 0x4be2f8]
and eax, 0x7f
shl ebx, 7
add ebx, eax
movzx eax, word [ebx*2 + 0x4c04f8]
movzx eax, byte [eax*8 + 0x4bd219]
cmp dword [eax*4 + 0x4bca70], 2
jne 0x497b02
lea ebp, [ebp + ecx*2]
cmp ebp, edx
jb 0x497a91
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
mov eax, dword [esp + 0x164]
inc ecx
push ecx
mov ecx, dword [esp + 0x160]
push edx
mov edx, dword [esp + 0x160]
push eax
push esi
push ecx
push edx
push ebp
inc edi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497a04
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov esi, dword [esp + 0x16c]
mov ebx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x160]
push esi
push ebx
push edx
push eax
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
jne 0x497f46
cmp edi, dword [esp + 0x14]
jge case.0x49024e.151
cmp ebp, dword [esi + 0x7c]
jae 0x496f3b
cmp dword [esp + 0x18], 0xc
jne 0x497c01
mov eax, dword [esi + 0x18]
test eax, eax
je 0x497bd1
mov ecx, dword [esp + 0x164]
mov edx, dword [ecx + 0x7c]
push 1
lea esi, [ecx + 0x1c]
push eax
mov ecx, ebp
call fcn.00499450
add esp, 8
test eax, eax
jne case.0x49024e.151
mov esi, dword [esp + 0x164]
jmp 0x497c01
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x7c]
lea ecx, [eax + eax]
sub edx, ecx
cmp ebp, edx
ja 0x497c01
mov cx, word [ebp]
cmp cx, word [esi + 0x2c]
jne 0x497c01
cmp eax, 1
je case.0x49024e.151
mov dx, word [ebp + 2]
cmp dx, word [esi + 0x2e]
je case.0x49024e.151
movzx eax, word [ebp]
mov ecx, eax
and ecx, 0xfc00
add ebp, 2
cmp ecx, 0xd800
jne 0x497c38
movzx edx, word [ebp]
and eax, 0x3ff
shl eax, 0xa
and edx, 0x3ff
or eax, edx
add eax, 0x10000
add ebp, 2
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffa
cmp ecx, 0xf
ja case.default.0x491e2b
jmp dword [ecx*4 + 0x498278]
cmp eax, 0xd
ja 0x497c8d
je 0x497c71
cmp eax, 0xa
je case.0x497c48.12
jbe case.0x49024e.151
cmp eax, 0xc
jmp 0x497ca4
cmp ebp, dword [esi + 0x7c]
jae case.0x497c48.12
cmp word [ebp], 0xa
jne case.0x497c48.12
add ebp, 2
jmp case.0x497c48.12
cmp eax, 0x85
je 0x497caa
cmp eax, 0x2027
jbe case.0x49024e.151
cmp eax, 0x2029
ja case.0x49024e.151
cmp dword [esi + 0x68], 0
jne case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x180e
ja 0x497cf2
je case.0x49024e.151
cmp eax, 0xa0
ja 0x497ce8
je case.0x49024e.151
cmp eax, 9
je case.0x49024e.151
cmp eax, 0x20
jmp 0x497ec3
cmp eax, 0x1680
jmp 0x497ec3
cmp eax, 0x205f
ja 0x497d1f
je case.0x49024e.151
cmp eax, 0x2000
jb case.0x497c48.12
cmp eax, 0x200a
jbe case.0x49024e.151
cmp eax, 0x202f
jmp 0x497ec3
cmp eax, 0x3000
jmp 0x497ec3
cmp eax, 0x180e
ja 0x497d6e
je case.0x497c48.12
cmp eax, 0xa0
ja 0x497d5e
je case.0x497c48.12
cmp eax, 9
je case.0x497c48.12
cmp eax, 0x20
jne case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x1680
jne case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x205f
ja 0x497da1
je case.0x497c48.12
cmp eax, 0x2000
jb case.0x49024e.151
cmp eax, 0x200a
jbe case.0x497c48.12
cmp eax, 0x202f
jne case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x3000
jne case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x85
ja 0x497dd5
je case.0x49024e.151
cmp eax, 0xa
jb case.0x497c48.12
cmp eax, 0xd
jbe case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x2028
jb case.0x497c48.12
cmp eax, 0x2029
jbe case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x85
ja 0x497e14
je case.0x497c48.12
cmp eax, 0xa
jb case.0x49024e.151
cmp eax, 0xd
ja case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x2028
jb case.0x49024e.151
cmp eax, 0x2029
ja case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x100
jae case.0x497c48.12
mov ecx, dword [esi + 0x3c]
test byte [eax + ecx], 4
jne case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x100
jae case.0x49024e.151
mov edx, dword [esi + 0x3c]
test byte [eax + edx], 4
jmp 0x497ec3
cmp eax, 0x100
jae case.0x497c48.12
mov ecx, dword [esi + 0x3c]
test byte [eax + ecx], 1
jne case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x100
jae case.0x49024e.151
mov edx, dword [esi + 0x3c]
test byte [eax + edx], 1
jmp 0x497ec3
cmp eax, 0x100
jae case.0x497c48.12
mov ecx, dword [esi + 0x3c]
test byte [eax + ecx], 0x10
jne case.0x49024e.151
jmp case.0x497c48.12
cmp eax, 0x100
jae case.0x49024e.151
mov edx, dword [esi + 0x3c]
test byte [eax + edx], 0x10
je case.0x49024e.151
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x15c]
inc eax
push eax
mov eax, dword [esp + 0x15c]
push ecx
push esi
push ebx
push edx
push eax
push ebp
inc edi
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x497b7a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
inc eax
push eax
push ecx
push edx
push edi
push esi
push ebx
push ebp
call fcn.00490160
add esp, 0x1c
test eax, eax
je 0x494cb6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret