Function at 0x1019a7e7
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x24], 0
mov edi, dword [esi]
mov eax, dword [edi + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019a692
cmp byte [esi + 0x265], 0
je 0x1019a692
test dword [edi + 8], 0x2000
jne 0x1019a692
mov al, byte [esi + 0x154]
shr al, 2
not al
and al, 1
jmp 0x1019a694
xor al, al
mov byte [esi + 0x267], al
mov eax, 0x1e
movzx ebx, word [esi + 0x98]
mov edx, dword [esi + 0x180]
mov word [esi + 0x268], 0
mov dword [ebp - 0x20], 0xffff
lea ecx, [ebx + edx]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [esi + 0xbc]
cmp eax, ecx
jbe 0x1019a6e2
cmp ecx, 0xffff
cmova ecx, dword [ebp - 0x20]
mov word [esi + 0xbc], cx
movzx eax, word [esi + 0x98]
mov dword [esi + 0x26c], 0
mov dword [esi + 0x274], 0
test ax, ax
je 0x1019a725
lea ecx, [ebx + ebx*4]
mov eax, 0xcccccccd
mov ebx, 0x32
add ecx, ecx
cmp ecx, ebx
cmovb ecx, ebx
mul edx
shr edx, 3
cmp edx, ebx
cmovb edx, ebx
lea eax, [edx + ecx]
jmp 0x1019a72d
imul eax, edx, 0x16
add eax, 0x12c
mov dword [esi + 0x270], eax
imul ecx, dword [edi + 0x10], 0x64
cmp eax, ecx
jbe 0x1019a743
mov dword [esi + 0x270], ecx
jmp 0x1019a745
mov ecx, eax
movzx eax, word [esi + 0xde]
mov edi, 0x101982d0
movzx ebx, word [esi + 0xdc]
mov edx, 0x1019de00
mov dword [esi + 0x278], ecx
cmp bx, ax
mov ecx, 0x101982b0
mov dword [ebp - 0xc], eax
cmove edi, ecx
mov dword [ebp - 4], 0x101981c0
mov ecx, 0x1019dde0
mov dword [esi + 0x104], 0
cmove edx, ecx
mov eax, 0x10196ef0
mov ecx, 0x101981e0
cmove ecx, dword [ebp - 4]
cmp bx, word [ebp - 0xc]
mov dword [ebp - 4], 0x10196ee0
cmove eax, dword [ebp - 4]
mov dword [esi + 0x254], eax
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], edx
push esi
mov dword [esi + 0x260], ecx
call fcn.10196ca0
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x1019a7d4
jmp dword [eax*4 + 0x1019d178]
mov dword [esi + 0x23c], 0x10198350
jmp case.default.0x1019a7d4
mov dword [esi + 0x23c], 0x10198460
jmp case.default.0x1019a7d4
mov dword [esi + 0x23c], 0x101984e0
jmp case.default.0x1019a7d4
mov dword [esi + 0x23c], 0x10198320
jmp case.default.0x1019a7d4
mov dword [esi + 0x23c], 0x101984a0
jmp case.default.0x1019a7d4
mov dword [esi + 0x23c], 0x10198420
jmp case.default.0x1019a7d4
mov dword [esi + 0x23c], 0x10198370
jmp case.default.0x1019a7d4
mov dword [esi + 0x23c], 0x101983c0
mov edi, dword [esi + 0x16c]
nop
mov ebx, dword [esi + 0x168]
mov dl, byte [ebx + edi]
movzx eax, dl
mov byte [ebp - 5], dl
mov byte [esi + 0x174], dl
mov dword [ebp - 4], eax
movsx ecx, byte [eax + 0x10216ce8]
mov dword [esi + 0x178], ecx
test ecx, ecx
jns 0x1019a88d
lea eax, [edi + 1]
cmp eax, dword [esi + 0x170]
jge 0x1019d168
movzx eax, byte [ebx + edi + 1]
imul eax, ecx
mov ecx, 2
sub ecx, eax
mov dword [esi + 0x178], ecx
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x170]
jg 0x1019d168
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x10]
mov bl, byte [eax + 0x10216be8]
movzx eax, bl
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x1019a904
cmp byte [esi + 0x235], 0
jne 0x1019d0fe
xor edi, edi
mov byte [ebp - 5], dl
test bl, 0xf0
jbe 0x1019a8fb
nop dword [eax]
mov eax, dword [esi + 0x18]
movzx ecx, di
inc edi
mov dword [eax + ecx*4], 0
mov dl, byte [esi + 0x174]
movzx eax, dl
mov byte [ebp - 5], dl
mov al, byte [eax + 0x10216be8]
shr al, 4
movzx eax, al
cmp di, ax
jb 0x1019a8d0
mov dword [esi + 0x1c], 0
xor ecx, ecx
cmp dl, 0x91
jne 0x1019a92f
mov eax, dword [esi]
mov eax, dword [eax + 0x2e0]
test eax, eax
je 0x1019a924
mov eax, dword [eax]
add eax, ecx
movzx edi, dl
mov dword [esi + 0x20], eax
mov dword [ebp - 4], edi
jmp 0x1019a944
mov eax, dword [esi + 0x20]
movzx edi, dl
mov dword [ebp - 4], edi
jmp 0x1019a944
movzx ebx, dl
mov dword [ebp - 4], ebx
movzx eax, byte [ebx + 0x10216be8]
and eax, 0xf
add eax, ecx
mov dword [esi + 0x20], eax
mov edi, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
cmp eax, edi
jg 0x1019d155
mov eax, dword [esi + 0x18]
mov byte [esi + 0x17c], 1
mov dword [esi + 0xc], 0
lea ebx, [eax + ecx*4]
mov eax, dword [ebp - 4]
cmp eax, 0x92
ja case.default.0x1019a974
jmp dword [eax*4 + 0x1019d198]
mov al, dl
and al, 1
movzx eax, al
shl ax, 0xe
movzx ecx, ax
mov eax, ecx
xor eax, 0x4000
movzx eax, ax
cmp dl, 4
jae 0x1019a9b4
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], ax
mov word [esi + 0x126], cx
mov word [esi + 0x128], ax
test dl, 2
jne 0x1019aadb
mov word [esi + 0x12e], cx
push esi
mov word [esi + 0x130], ax
call fcn.10196ca0
jmp 0x1019d008
movzx eax, word [ebx]
lea edi, [esi + 0x12a]
push edi
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.10198080
add esp, 0x10
test al, al
jne case.0x1019a974.33
mov eax, dword [edi]
push esi
mov dword [esi + 0x126], eax
call fcn.10196ca0
jmp 0x1019d008
lea eax, [esi + 0x12e]
push eax
movzx eax, word [ebx]
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.10198080
add esp, 0x10
test al, al
jne case.0x1019a974.33
push esi
call fcn.10196ca0
jmp 0x1019d008
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
test ecx, ecx
jne 0x1019aa45
test eax, eax
je 0x1019aa7d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ecx
call fcn.10188200
mov eax, dword [ebp - 0x2c]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12a], ax
mov eax, dword [ebp - 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12c], ax
mov eax, dword [esi + 0x12a]
push esi
mov dword [esi + 0x126], eax
call fcn.10196ca0
jmp 0x1019d008
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
test ecx, ecx
jne 0x1019aaa3
test eax, eax
je 0x1019aadb
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], ecx
call fcn.10188200
mov eax, dword [ebp - 0x34]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12e], ax
mov eax, dword [ebp - 0x30]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x130], ax
push esi
call fcn.10196ca0
jmp 0x1019d008
movsx eax, word [esi + 0x12a]
mov dword [ebx], eax
movsx eax, word [esi + 0x12c]
mov dword [ebx + 4], eax
jmp case.0x1019a974.33
movsx eax, word [esi + 0x12e]
mov dword [ebx], eax
movsx eax, word [esi + 0x130]
mov dword [ebx + 4], eax
jmp case.0x1019a974.33
mov eax, dword [esi + 0x12a]
push esi
mov dword [esi + 0x12e], eax
call fcn.10196ca0
jmp 0x1019d008
push ebx
push esi
call fcn.101975c0
add esp, 8
jmp case.0x1019a974.33
mov ax, word [ebx]
mov word [esi + 0x120], ax
jmp case.0x1019a974.33
mov ax, word [ebx]
mov word [esi + 0x122], ax
jmp case.0x1019a974.33
mov ax, word [ebx]
mov word [esi + 0x124], ax
jmp case.0x1019a974.33
mov eax, dword [ebx]
sub eax, 0
je 0x1019aba8
sub eax, 1
je 0x1019ab8e
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1019abc0
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
mov ax, word [ebx]
mov word [esi + 0x15c], ax
jmp case.0x1019a974.33
mov eax, dword [ebx]
sub eax, 0
je 0x1019ac15
sub eax, 1
je 0x1019abfb
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1019ac2d
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x68], eax
mov ax, word [ebx]
mov word [esi + 0x15e], ax
jmp case.0x1019a974.33
mov eax, dword [ebx]
sub eax, 0
je 0x1019ac82
sub eax, 1
je 0x1019ac68
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1019ac9a
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
mov ax, word [ebx]
mov word [esi + 0x160], ax
jmp case.0x1019a974.33
mov eax, dword [ebx]
sub eax, 0
je 0x1019acf2
sub eax, 1
je 0x1019acd8
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x1019ad0a
movups xmm0, xmmword [esi + 0xb4]
mov eax, dword [esi + 0xd4]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
movups xmm0, xmmword [esi + 0x24]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [esi + 0x58], xmm0
mov dword [esi + 0x68], eax
movups xmm0, xmmword [esi + 0x24]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0x34]
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], eax
movzx eax, word [ebx]
mov word [esi + 0x15c], ax
movzx eax, word [ebx]
mov word [esi + 0x15e], ax
movzx eax, word [ebx]
mov word [esi + 0x160], ax
jmp case.0x1019a974.33
mov eax, dword [ebx]
test eax, eax
jns 0x1019ad6f
mov dword [esi + 0xc], 0x84
jmp case.0x1019a974.33
cmp eax, 0xffff
cmovg eax, dword [ebp - 0x20]
mov dword [esi + 0x134], eax
jmp case.0x1019a974.33
mov dword [esi + 0x13c], 1
mov dword [esi + 0x23c], 0x10198460
jmp case.0x1019a974.33
mov dword [esi + 0x13c], 0
mov dword [esi + 0x23c], 0x101984a0
jmp case.0x1019a974.33
mov eax, dword [ebx]
mov dword [esi + 0x138], eax
jmp case.0x1019a974.33
mov edi, 1
push esi
call fcn.10198710
add esp, 4
cmp al, 1
je case.0x1019a974.33
movzx eax, byte [esi + 0x174]
sub eax, 0x58
je 0x1019adec
sub eax, 1
jne 0x1019aded
dec edi
jmp 0x1019aded
inc edi
test edi, edi
jne 0x1019adc7
jmp case.0x1019a974.33
mov eax, dword [ebx]
test eax, eax
jne 0x1019ae04
test ecx, ecx
je 0x1019ad63
add dword [esi + 0x16c], eax
mov edx, dword [esi + 0x16c]
js 0x1019ad63
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
jle 0x1019ae35
mov eax, dword [esi + 0x1b8]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edx, dword [eax + 8]
jg 0x1019ad63
mov byte [esi + 0x17c], 0
cmp dword [ebx], 0
jge case.0x1019a974.33
inc dword [esi + 0x274]
mov eax, dword [esi + 0x274]
cmp eax, dword [esi + 0x278]
jbe case.0x1019a974.33
mov dword [esi + 0xc], 0x8b
jmp case.0x1019a974.33
mov eax, dword [ebx]
mov dword [esi + 0x144], eax
jmp case.0x1019a974.33
mov eax, dword [ebx]
mov dword [esi + 0x148], eax
jmp case.0x1019a974.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x14c], eax
jmp case.0x1019a974.33
mov eax, dword [ebx]
mov dword [ebx + 4], eax
jmp case.0x1019a974.33
mov dword [esi + 0x20], 0
jmp case.0x1019a974.33
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x1019a974.33
mov eax, dword [esi + 0x10]
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [ebx]
test eax, eax
jle 0x1019af0a
cmp eax, ecx
jg 0x1019af0a
sub ecx, eax
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x1019a974.33
cmp byte [esi + 0x235], 0
je 0x1019af1a
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x1019a974.33
mov edx, dword [ebx]
test edx, edx
jle 0x1019ab75
cmp edx, ecx
jg 0x1019ab75
mov eax, dword [esi + 0x18]
sub ecx, edx
mov edi, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.101e3770
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [eax + ecx*4 - 4], edi
jmp case.0x1019a974.33
movzx eax, word [ebx]
movzx ebx, word [ebx + 4]
mov dword [ebp - 4], eax
cmp ax, word [esi + 0x50]
jae 0x1019ab75
cmp bx, word [esi + 0x2c]
jae 0x1019ab75
movzx ecx, ax
mov eax, dword [esi + 0x58]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
mov ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x240]
push esi
call eax
cdq
lea ecx, [esi + 0x48]
sub eax, edx
mov edi, eax
sar edi, 1
push edi
push dword [ebp - 4]
push ecx
mov ecx, dword [esi + 0x24c]
push esi
call ecx
neg edi
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x2c
jmp case.0x1019a974.33
movzx eax, word [ebx]
cmp ax, word [esi + 0x2c]
jb 0x1019affb
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
cmp word [esi + 0x12e], 0
mov ecx, eax
mov edx, dword [esi + 0x3c]
sete bl
add edx, ecx
lea ebx, [ebx*8 + 0xf7]
mov al, bl
and al, 0xef
cmp word [esi + 0x130], 0
movzx ecx, al
movzx eax, bl
cmove ecx, eax
and byte [edx], cl
jmp case.0x1019a974.33
mov eax, dword [esi + 0x1a8]
mov edx, dword [ebx + 4]
inc eax
mov dword [ebp - 4], eax
cmp edx, eax
jae 0x1019ab82
mov edi, dword [esi + 0x198]
test edi, edi
je 0x1019b057
lea eax, [edx + edx*2]
lea ecx, [edi + eax*8]
jmp 0x1019b059
xor ecx, ecx
mov eax, dword [esi + 0x190]
cmp dword [ebp - 4], eax
jne 0x1019b069
cmp dword [ecx + 0xc], edx
je 0x1019b094
mov ecx, edi
test ecx, ecx
je 0x1019ab82
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x1019b08e
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x1019b08c
add ecx, 0x18
cmp ecx, eax
jb 0x1019b080
cmp ecx, eax
je 0x1019ab82
cmp byte [ecx + 0x10], 0
je 0x1019ab82
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jl 0x1019b0b8
mov dword [esi + 0xc], 0x82
jmp case.0x1019a974.33
cmp dword [ebx], 0
jle case.0x1019a974.33
mov eax, dword [esi + 0x164]
shl edx, 4
add edx, dword [esi + 0x1b8]
mov dword [edx], eax
mov eax, dword [esi + 0x16c]
inc eax
mov dword [edx + 4], eax
mov eax, dword [ebx]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1b0]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10197220
mov byte [esi + 0x17c], 0
add esp, 0xc
mov eax, dword [ebx]
add dword [esi + 0x26c], eax
mov eax, dword [esi + 0x26c]
cmp eax, dword [esi + 0x270]
jbe case.0x1019a974.33
mov dword [esi + 0xc], 0x8b
jmp case.0x1019a974.33
mov edx, dword [ebx]
mov ebx, dword [esi + 0x1a8]
inc ebx
cmp edx, ebx
jae 0x1019ab82
mov edi, dword [esi + 0x198]
test edi, edi
je 0x1019ab82
lea eax, [edx + edx*2]
lea ecx, [edi + eax*8]
mov eax, dword [esi + 0x190]
cmp ebx, eax
jne 0x1019b159
cmp dword [ecx + 0xc], edx
je 0x1019b179
mov ecx, edi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x1019b173
cmp dword [ecx + 0xc], edx
je 0x1019b171
add ecx, 0x18
cmp ecx, eax
jb 0x1019b165
cmp ecx, eax
je 0x1019ab82
cmp byte [ecx + 0x10], 0
je 0x1019ab82
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jl 0x1019b19d
mov dword [esi + 0xc], 0x82
jmp case.0x1019a974.33
mov eax, dword [esi + 0x164]
shl edx, 4
add edx, dword [esi + 0x1b8]
mov dword [edx], eax
mov eax, dword [esi + 0x16c]
inc eax
mov dword [edx + 8], 1
mov dword [edx + 4], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1b0]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10197220
add esp, 0xc
mov byte [esi + 0x17c], 0
jmp case.0x1019a974.33
mov edx, dword [esi + 0x164]
cmp edx, 3
jne 0x1019b1f9
mov dword [esi + 0xc], 0x9c
jmp case.0x1019a974.33
mov edi, dword [esi + 0x198]
test edi, edi
je 0x1019b211
mov eax, dword [esi + 0x190]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
jmp 0x1019b213
xor eax, eax
mov ecx, dword [ebx]
cmp edi, eax
jae 0x1019b22e
nop dword [eax]
cmp dword [edi + 0xc], ecx
je 0x1019b22c
add edi, 0x18
cmp edi, eax
jb 0x1019b220
cmp edi, eax
jne 0x1019b245
mov eax, dword [esi + 0x190]
cmp eax, dword [esi + 0x194]
jae 0x1019b24d
inc eax
mov dword [esi + 0x190], eax
cmp ecx, 0xffff
jbe 0x1019b259
mov dword [esi + 0xc], 0x8c
jmp case.0x1019a974.33
mov dword [edi], edx
movzx edx, cx
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x16c]
inc eax
mov word [edi + 0x10], 1
mov dword [edi + 4], eax
mov dword [edi + 0x14], 0
cmp ecx, dword [esi + 0x1a8]
jbe 0x1019b286
mov dword [esi + 0x1a8], edx
push esi
call fcn.10198710
add esp, 4
test al, al
jne case.0x1019a974.33
nop word [eax + eax]
movzx eax, byte [esi + 0x174]
sub eax, 0x2c
je 0x1019b2d6
sub eax, 1
je 0x1019b2c8
sub eax, 0x5c
je 0x1019b2d6
push esi
call fcn.10198710
add esp, 4
test al, al
je 0x1019b2a0
jmp case.0x1019a974.33
mov eax, dword [esi + 0x16c]
mov dword [edi + 8], eax
jmp case.0x1019a974.33
mov dword [esi + 0xc], 0x89
jmp case.0x1019a974.33
mov eax, dword [esi + 0x1b0]
test eax, eax
jg 0x1019b2f8
mov dword [esi + 0xc], 0x88
jmp case.0x1019a974.33
dec eax
mov dword [esi + 0x1b0], eax
shl eax, 4
add eax, dword [esi + 0x1b8]
dec dword [eax + 8]
mov byte [esi + 0x17c], 0
cmp dword [eax + 8], 0
jle 0x1019b32f
inc dword [esi + 0x1b0]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x16c], eax
jmp case.0x1019a974.33
push dword [eax + 4]
push dword [eax]
push esi
call fcn.10197220
add esp, 0xc
jmp case.0x1019a974.33
movzx ebx, word [ebx]
cmp bx, word [esi + 0x2c]
jb 0x1019b364
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
test dl, 1
je 0x1019b3d6
mov eax, dword [esi + 0x34]
mov ecx, ebx
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x240]
push esi
call eax
mov ecx, dword [esi + 0x10c]
mov edi, eax
mov eax, dword [esi + 0x23c]
add esp, 0xc
cmp eax, 0x101984a0
jne 0x1019b3c8
test edi, edi
js 0x1019b3b1
add ecx, edi
mov edx, 0x20
and ecx, 0xffffffc0
cmp ecx, 0xffffffe0
lea eax, [ecx + 0x20]
cmovge edx, eax
sub edx, edi
jmp 0x1019b3d8
sub ecx, edi
mov eax, 0xffffffe0
and ecx, 0xffffffc0
mov edx, eax
sub edx, ecx
test edx, edx
cmovg edx, eax
sub edx, edi
jmp 0x1019b3d8
push ecx
push edi
push esi
call eax
mov edx, eax
add esp, 0xc
sub edx, edi
jmp 0x1019b3d8
xor edx, edx
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x1019a974.33
push esi
call fcn.10197800
jmp 0x1019d008
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x134]
jge 0x1019b42c
cmp byte [esi + 0x235], 0
je 0x1019b520
mov dword [esi + 0xc], 0x86
jmp 0x1019b520
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.10196e00
add esp, 0x14
test al, al
jne case.0x1019a974.33
cmp dword [esi + 0x134], 0
jle 0x1019b520
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
dec dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
movzx ecx, word [eax + ecx*4]
mov eax, ecx
cmp cx, word [esi + 0x74]
jb 0x1019b48a
cmp byte [esi + 0x235], 0
jne 0x1019ab82
jmp 0x1019b50d
cmp word [esi + 0x12e], 0
je 0x1019b4ca
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019b4b6
cmp byte [esi + 0x267], 0
je 0x1019b4b6
mov eax, dword [esi + 0x84]
mov edx, ecx
or byte [eax + edx], 8
jmp 0x1019b4cc
mov eax, dword [esi + 0x7c]
mov edx, ecx
add dword [eax + edx*8], edi
mov eax, dword [esi + 0x84]
or byte [eax + edx], 8
jmp 0x1019b4cc
mov edx, eax
cmp word [esi + 0x130], 0
je 0x1019b50d
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019b4fc
cmp byte [esi + 0x267], 0
je 0x1019b4fc
cmp byte [esi + 0x268], 0
je 0x1019b4fc
cmp byte [esi + 0x269], 0
jne 0x1019b503
mov eax, dword [esi + 0x7c]
add dword [eax + ecx*8 + 4], ebx
mov eax, dword [esi + 0x84]
or byte [eax + edx], 0x10
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x1019b463
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x1019a974.33
cmp word [esi + 0x160], 0
mov eax, 1
movzx ebx, word [ebx]
je 0x1019b54b
movzx eax, word [esi + 0x76]
movsx edi, bx
cwde
cmp edi, eax
jb 0x1019b56c
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.10196e00
add esp, 0x14
test al, al
jne case.0x1019a974.33
test bx, bx
jne 0x1019b599
xor ecx, ecx
jmp 0x1019b5b0
mov eax, dword [esi + 0x88]
mov ax, word [eax + edi*2 - 2]
sub ax, word [esi + 0x8c]
inc ax
movzx ecx, ax
cmp word [esi + 0x160], 0
jne 0x1019b5c0
movzx ebx, word [esi + 0x74]
jmp 0x1019b5d6
mov eax, dword [esi + 0x88]
mov ax, word [eax + edi*2]
sub ax, word [esi + 0x8c]
inc ax
movzx ebx, ax
movzx edi, cx
cmp cx, bx
jae case.0x1019a974.33
movzx ecx, cx
mov edx, dword [esi + 0x7c]
cmp dword [ebp - 0x74], edx
jne 0x1019b5f3
cmp word [ebp - 0x14], di
je 0x1019b665
cmp word [esi + 0x12e], 0
je 0x1019b621
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019b611
cmp byte [esi + 0x267], 0
jne 0x1019b617
mov eax, dword [ebp - 0x44]
add dword [edx + ecx*8], eax
mov eax, dword [esi + 0x84]
or byte [eax + ecx], 8
cmp word [esi + 0x130], 0
je 0x1019b665
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019b651
cmp byte [esi + 0x267], 0
je 0x1019b651
cmp byte [esi + 0x268], 0
je 0x1019b651
cmp byte [esi + 0x269], 0
jne 0x1019b65b
mov eax, dword [esi + 0x7c]
mov edx, dword [ebp - 0x48]
add dword [eax + ecx*8 + 4], edx
mov eax, dword [esi + 0x84]
or byte [eax + ecx], 0x10
inc edi
inc ecx
cmp di, bx
jb 0x1019b5e5
jmp case.0x1019a974.33
cmp dword [ebx], 2
jb 0x1019b693
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.10196e00
add esp, 0x14
test al, al
jne case.0x1019a974.33
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x1019b6c9
movzx ebx, word [esi + 0x74]
jmp 0x1019b6ee
cmp eax, 1
jne 0x1019b6ec
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x1019b6ec
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x1019b6ee
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x1019a974.33
xor edx, edx
nop dword [eax]
mov ecx, dword [esi + 0x7c]
cmp dword [ebp - 0x74], ecx
jne 0x1019b70e
cmp word [ebp - 0x18], di
je 0x1019b76c
cmp word [esi + 0x12e], 0
je 0x1019b732
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019b72c
cmp byte [esi + 0x267], 0
jne 0x1019b732
mov eax, dword [ebp - 0x4c]
add dword [ecx + edx], eax
cmp word [esi + 0x130], 0
je 0x1019b76c
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019b762
cmp byte [esi + 0x267], 0
je 0x1019b762
cmp byte [esi + 0x268], 0
je 0x1019b762
cmp byte [esi + 0x269], 0
jne 0x1019b76c
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0x50]
add dword [edx + eax + 4], ecx
inc edi
add edx, 8
cmp di, bx
jb 0x1019b700
jmp case.0x1019a974.33
push ebx
push esi
call fcn.10197ec0
add esp, 8
jmp case.0x1019a974.33
push esi
call fcn.101972a0
jmp 0x1019d008
movzx edi, word [ebx]
mov dword [ebp - 4], edi
cmp di, word [esi + 0x50]
jae 0x1019ab75
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x1019ab75
cmp word [esi + 0x15e], 0
mov ecx, eax
jne 0x1019b826
mov edx, dword [esi + 0x30]
movzx ecx, di
mov edi, eax
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x54]
mov esi, dword [ebp - 8]
mov eax, dword [edx + edi*8]
mov dword [ecx + esi*8], eax
mov eax, dword [edx + edi*8 + 4]
mov edx, esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ecx + edx*8 + 4], eax
push dword [ebx + 4]
lea eax, [esi + 0x48]
push edi
push eax
mov eax, dword [esi + 0x250]
push esi
call eax
mov ecx, dword [esi + 0x54]
add esp, 0x10
mov edi, dword [ebp - 8]
mov edx, dword [esi + 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [ecx + eax*8]
mov dword [edx + edi*8], eax
mov eax, edi
mov eax, dword [ecx + eax*8 + 4]
mov ecx, edi
mov edi, dword [ebp - 4]
mov dword [edx + ecx*8 + 4], eax
movzx ecx, word [esi + 0x120]
jmp 0x1019b82c
movzx eax, di
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x34]
movzx ecx, cx
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp - 8]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x240]
push esi
call eax
mov ecx, dword [ebx + 4]
sub ecx, eax
lea eax, [esi + 0x48]
push ecx
push edi
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
mov ax, word [esi + 0x120]
add esp, 0x1c
test byte [esi + 0x174], 1
mov word [esi + 0x122], ax
mov word [esi + 0x124], di
je case.0x1019a974.33
mov word [esi + 0x120], di
jmp case.0x1019a974.33
mov edx, dword [esi + 0x134]
cmp dword [esi + 0x10], edx
jl 0x1019b944
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x1019b944
test edx, edx
jle 0x1019b954
dec dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
movzx edi, word [eax + ecx*4]
cmp di, word [esi + 0x50]
jb 0x1019b8e2
cmp byte [esi + 0x235], 0
jne 0x1019ab82
jmp 0x1019b920
movzx ecx, word [esi + 0x120]
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x240]
push esi
call eax
neg eax
push eax
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x1c
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x1019b8c0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x1019a974.33
cmp byte [esi + 0x235], 0
je 0x1019b954
mov dword [esi + 0xc], 0x86
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x1019a974.33
mov dword [esi + 0x13c], 2
mov dword [esi + 0x23c], 0x10198420
jmp case.0x1019a974.33
mov eax, dword [esi + 0x144]
mov ecx, dword [ebx + 4]
movzx ebx, word [ebx]
mov dword [ebp - 0xc], eax
movzx eax, bx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
cmp bx, word [esi + 0x2c]
jae 0x1019bae3
cmp ecx, dword [esi + 0x180]
jae 0x1019bae3
mov eax, dword [esi + 0x258]
cmp eax, 0x101982b0
jne 0x1019b9c5
mov eax, dword [esi + 0x184]
mov edi, dword [eax + ecx*4]
jmp 0x1019b9ce
push ecx
push esi
call eax
add esp, 8
mov edi, eax
cmp word [esi + 0x15c], 0
mov eax, dword [ebp - 8]
movzx ecx, ax
jne 0x1019ba3d
movsx eax, word [esi + 0x12e]
push eax
push edi
call fcn.10199d40
mov ecx, dword [esi + 0x30]
mov ebx, dword [ebp - 8]
movzx edx, bx
mov dword [ecx + edx*8], eax
movsx eax, word [esi + 0x130]
push eax
push edi
call fcn.10199d40
mov ecx, dword [esi + 0x30]
add esp, 0x10
movzx edx, bx
mov dword [ecx + edx*8 + 4], eax
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov esi, ebx
movzx eax, si
movzx esi, bx
mov eax, dword [ecx + eax*8]
mov dword [edx + esi*8], eax
mov esi, ebx
mov ebx, dword [ebp - 4]
movzx eax, si
mov eax, dword [ecx + eax*8 + 4]
movzx ecx, si
mov esi, dword [ebp + 8]
mov dword [edx + ecx*8 + 4], eax
mov eax, dword [esi + 0x34]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x240]
push esi
call eax
add esp, 0xc
mov ecx, eax
test byte [esi + 0x174], 1
mov dword [ebp - 4], ecx
je 0x1019babc
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0xc]
cmovg edi, ecx
mov ecx, dword [esi + 0x23c]
mov eax, edi
mov edi, dword [esi + 0x10c]
cmp ecx, 0x10198420
jne 0x1019baaf
test eax, eax
js 0x1019ba9c
add edi, 0x10
add eax, edi
mov edi, 0
and eax, 0xffffffe0
cmovge edi, eax
jmp 0x1019bab9
sub edi, eax
xor eax, eax
add edi, 0x10
and edi, 0xffffffe0
neg edi
test edi, edi
cmovg edi, eax
jmp 0x1019bab9
push edi
push eax
push esi
call ecx
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 4]
sub edi, ecx
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x1019a974.33
cmp byte [esi + 0x235], 0
je 0x1019baf3
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], bx
mov word [esi + 0x122], bx
jmp case.0x1019a974.33
mov ecx, dword [esi + 0x168]
mov eax, dword [esi + 0x16c]
sub edi, dword [esi + 0x10]
inc edi
movzx eax, byte [ecx + eax + 1]
movzx ecx, ax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, edi
jb 0x1019bb34
mov dword [esi + 0xc], 0x82
jmp case.0x1019a974.33
mov edi, 1
mov edx, edi
cmp dx, ax
ja 0x1019bb71
mov ecx, dword [esi + 0x168]
mov eax, dword [esi + 0x16c]
movzx edx, di
inc edi
add ecx, edx
movzx eax, byte [ecx + eax + 1]
mov dword [ebx + edx*4 - 4], eax
cmp di, word [ebp - 4]
jbe 0x1019bb40
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 8]
add eax, ecx
mov dword [esi + 0x20], eax
jmp case.0x1019a974.33
mov eax, dword [ebp - 0xc]
add eax, ecx
mov dword [esi + 0x20], eax
jmp case.0x1019a974.33
mov eax, dword [esi + 0x168]
mov ecx, dword [esi + 0x16c]
sub edi, dword [esi + 0x10]
inc edi
mov dl, byte [ecx + eax + 1]
movzx eax, dl
mov dword [ebp - 8], eax
cmp eax, edi
jb 0x1019bba8
mov dword [esi + 0xc], 0x82
jmp case.0x1019a974.33
lea eax, [ecx + 2]
mov dword [esi + 0x16c], eax
test dl, dl
je 0x1019bc10
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
nop dword [eax + eax]
add dword [esi + 0x16c], 2
lea ebx, [ebx + 4]
mov edi, dword [esi + 0x16c]
mov eax, 0x100
mov edx, dword [esi + 0x168]
cwde
movzx ecx, byte [edx + edi - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi - 1]
add cx, ax
sub dword [ebp - 4], 1
movsx eax, cx
mov dword [ebx - 4], eax
jne 0x1019bbc0
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 8]
mov byte [esi + 0x17c], 0
mov dword [esi + 0x20], eax
jmp case.0x1019a974.33
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [esi + 0x17c], 0
mov dword [esi + 0x20], eax
jmp case.0x1019a974.33
movzx eax, word [esi + 0x1d8]
mov edx, dword [ebx]
cmp edx, eax
jb 0x1019bc4b
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
mov ecx, dword [esi + 0x1dc]
mov eax, dword [ebx + 4]
mov dword [ecx + edx*4], eax
jmp case.0x1019a974.33
movzx eax, word [esi + 0x1d8]
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x1019bc89
cmp byte [esi + 0x235], 0
je 0x1019bc7e
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
mov dword [ebx], 0
jmp case.0x1019a974.33
mov eax, dword [esi + 0x1dc]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x1019a974.33
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x180]
jb 0x1019bcbc
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
mov eax, dword [esi + 0x25c]
mov edx, dword [ebx + 4]
cmp eax, 0x1019dde0
jne 0x1019bcda
mov eax, dword [esi + 0x184]
mov dword [eax + ecx*4], edx
jmp case.0x1019a974.33
push edx
push ecx
push esi
call eax
add esp, 0xc
jmp case.0x1019a974.33
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x180]
jb 0x1019bd06
cmp byte [esi + 0x235], 0
je 0x1019bc7e
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
mov eax, dword [esi + 0x258]
cmp eax, 0x101982b0
jne 0x1019bd23
mov eax, dword [esi + 0x184]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x1019a974.33
push ecx
push esi
call eax
add esp, 8
mov dword [ebx], eax
jmp case.0x1019a974.33
movzx eax, word [esi + 0x74]
mov ecx, dword [ebx]
cmp ecx, eax
jb 0x1019bd54
cmp byte [esi + 0x235], 0
je 0x1019bd4b
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x1019a974.33
test dl, 1
je 0x1019bd76
mov eax, dword [esi + 0x78]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x244]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [esi + 0x7c]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x240]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x1019a974.33
movzx eax, word [ebx]
mov dword [ebp - 4], eax
cmp ax, word [esi + 0x74]
jb 0x1019bdb8
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
movzx edi, ax
mov eax, dword [esi + 0x7c]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
mov eax, dword [esi + 0x240]
push esi
call eax
mov ecx, dword [ebx + 4]
sub ecx, eax
lea eax, [esi + 0x6c]
push ecx
push dword [ebp - 4]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x1c
cmp word [esi + 0x160], 0
jne case.0x1019a974.33
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
mov eax, dword [ecx + edi*8]
mov dword [edx + edi*8], eax
mov eax, dword [ecx + edi*8 + 4]
mov dword [edx + edi*8 + 4], eax
jmp case.0x1019a974.33
movzx eax, word [ebx]
movzx edi, word [ebx + 4]
cmp ax, word [esi + 0x2c]
jae 0x1019af0a
cmp di, word [esi + 0x50]
jae 0x1019af0a
test dl, 1
je 0x1019be5e
mov eax, dword [esi + 0x58]
mov ecx, edi
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
movzx ecx, word [ebx]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x240]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x1019a974.33
cmp word [esi + 0x15c], 0
je 0x1019bf6a
cmp word [esi + 0x15e], 0
je 0x1019bf6a
mov ecx, eax
mov eax, dword [esi + 0x38]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x5c]
mov ecx, edi
mov dword [ebp - 8], edx
lea edi, [eax + ecx*8]
mov eax, dword [esi + 0xe0]
cmp eax, dword [esi + 0xe4]
jne 0x1019beec
mov eax, dword [edx + 4]
sub eax, dword [edi + 4]
push eax
mov eax, dword [edx]
sub eax, dword [edi]
push eax
mov eax, dword [esi + 0x244]
push esi
call eax
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx], eax
jmp case.0x1019a974.33
mov dword [ebp - 0xc], eax
mov eax, dword [edx]
sub eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
sub eax, dword [edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
mov eax, dword [esi + 0x244]
push dword [ebp - 0x5c]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x1019a974.33
mov ecx, eax
mov eax, dword [esi + 0x30]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x54]
mov ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 4]
sub eax, dword [ecx + 4]
push eax
mov eax, dword [edx]
sub eax, dword [ecx]
push eax
mov eax, dword [esi + 0x244]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10196ee0
jne 0x1019bfb4
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x1019a974.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x1019bff4
mov eax, dword [esi + 0x254]
cmp eax, 0x10196ee0
jne 0x1019bfe7
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x1019a974.33
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [esi + 0xd8]
mov dword [ebx], eax
jmp case.0x1019a974.33
mov byte [esi + 0x140], 1
jmp case.0x1019a974.33
mov byte [esi + 0x140], 0
jmp case.0x1019a974.33
mov dword [esi + 0xc], 0x87
jmp case.0x1019a974.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setl cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setle cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setg cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setge cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
sete cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setne cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov ecx, dword [esi + 0x23c]
mov eax, dword [ebx]
cmp ecx, 0x10198420
jne 0x1019c0e4
test eax, eax
js 0x1019c0bf
add eax, 0x10
mov edx, 0
and eax, 0xffffffe0
cmovge edx, eax
xor ecx, ecx
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov edx, 0x10
sub edx, eax
xor eax, eax
and edx, 0xffffffe0
neg edx
test edx, edx
cmovg edx, eax
xor ecx, ecx
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
push 0
push eax
push esi
call ecx
mov edx, eax
xor ecx, ecx
and dl, 0x7f
add esp, 0xc
cmp dl, 0x40
sete cl
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov ecx, dword [esi + 0x23c]
mov eax, dword [ebx]
cmp ecx, 0x10198420
jne 0x1019c155
test eax, eax
js 0x1019c135
add eax, 0x10
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov eax, 0
test cl, 0x7f
sete al
mov dword [ebx], eax
jmp case.0x1019a974.33
mov ecx, 0x10
sub ecx, eax
xor eax, eax
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, eax
test cl, 0x7f
sete al
mov dword [ebx], eax
jmp case.0x1019a974.33
push 0
push eax
push esi
call ecx
mov ecx, eax
add esp, 0xc
test cl, 0x7f
mov eax, 0
sete al
mov dword [ebx], eax
jmp case.0x1019a974.33
cmp dword [ebx], 0
jne case.0x1019a974.33
mov edi, 1
xor bl, bl
push esi
call fcn.10198710
add esp, 4
cmp al, 1
je case.0x1019a974.33
movzx eax, byte [esi + 0x174]
sub eax, 0x1b
je 0x1019c1b1
sub eax, 0x3d
je 0x1019c1ae
sub eax, 1
jne 0x1019c1b7
sub edi, 1
jmp 0x1019c1b4
inc edi
jmp 0x1019c1b7
cmp edi, 1
sete bl
test bl, bl
je 0x1019c182
jmp case.0x1019a974.33
cmp dword [ebx], 0
je 0x1019af1a
cmp dword [ebx + 4], 0
je 0x1019af1a
mov eax, 1
mov dword [ebx], eax
jmp case.0x1019a974.33
cmp dword [ebx], 0
jne 0x1019c1f3
cmp dword [ebx + 4], 0
jne 0x1019c1f3
xor eax, eax
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, 1
mov dword [ebx], eax
jmp case.0x1019a974.33
xor eax, eax
cmp dword [ebx], eax
sete al
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10196ee0
jne 0x1019c226
movzx edi, word [esi + 0x100]
mov dword [ebp - 4], edi
jmp 0x1019c232
push esi
call eax
mov ecx, dword [esi + 0x1c]
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov edx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
cmp eax, 1
jb 0x1019c360
nop dword [eax]
cmp edx, 2
jl 0x1019c347
mov eax, dword [esi + 0x18]
lea ecx, [edx - 2]
mov dword [esi + 0x1c], ecx
mov edx, ecx
movzx ebx, word [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp bx, word [esi + 0x2c]
jae 0x1019c31f
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1019c294
sub eax, 1
jne 0x1019c297
add ecx, 0x20
jmp 0x1019c297
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 4], eax
jne 0x1019c318
movzx eax, word [esi + 0x152]
and edi, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi]
cmp edi, 8
sbb edx, edx
mov eax, dword [eax + 0x60]
add edx, 0xfffffff9
add edx, edi
shl edx, cl
cmp dword [eax + 0x40], 0x28
jne 0x1019c306
cmp byte [esi + 0x267], 0
je 0x1019c306
cmp byte [esi + 0x268], 0
je 0x1019c2e8
cmp byte [esi + 0x269], 0
jne 0x1019c318
cmp byte [esi + 0x234], 0
je 0x1019c2fb
cmp word [esi + 0x130], 0
jne 0x1019c306
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x1019c318
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x10
mov ecx, dword [esi + 0x1c]
mov edx, ecx
jmp 0x1019c32f
cmp byte [esi + 0x235], 0
je 0x1019c32f
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 8]
jbe 0x1019c250
mov dword [esi + 0x20], ecx
jmp case.0x1019a974.33
cmp byte [esi + 0x235], 0
je 0x1019c357
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
xor ecx, ecx
mov dword [esi + 0x20], ecx
jmp case.0x1019a974.33
mov ax, word [ebx]
mov word [esi + 0x150], ax
jmp case.0x1019a974.33
mov eax, dword [ebx]
cmp eax, 6
jbe 0x1019c38a
mov dword [esi + 0xc], 0x84
jmp case.0x1019a974.33
mov word [esi + 0x152], ax
jmp case.0x1019a974.33
mov eax, dword [ebx + 4]
add dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [ebx + 4]
sub dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [ebx + 4]
test eax, eax
jne 0x1019c3bd
mov dword [esi + 0xc], 0x85
jmp case.0x1019a974.33
push eax
push 0x40
push dword [ebx]
call fcn.10185530
add esp, 0xc
mov dword [ebx], eax
jmp case.0x1019a974.33
push 0x40
push dword [ebx + 4]
push dword [ebx]
call fcn.10185450
add esp, 0xc
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [ebx]
test eax, eax
jns case.0x1019a974.33
neg eax
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [ebx]
neg eax
mov dword [ebx], eax
jmp case.0x1019a974.33
and dword [ebx], 0xffffffc0
jmp case.0x1019a974.33
mov eax, dword [ebx]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [ebx], eax
jmp case.0x1019a974.33
mov edx, dword [esi + 0x23c]
mov ecx, dword [esi + eax*4 - 0x94]
mov eax, dword [ebx]
cmp edx, 0x10198420
jne 0x1019c466
test eax, eax
js 0x1019c44e
add ecx, 0x10
add eax, ecx
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov dword [ebx], ecx
jmp case.0x1019a974.33
sub ecx, eax
xor eax, eax
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x1019a974.33
push ecx
push eax
push esi
call edx
mov ecx, eax
add esp, 0xc
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov ecx, dword [ebx]
mov eax, dword [esi + eax*4 - 0xa4]
test ecx, ecx
js 0x1019c494
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [ebx], ecx
jmp case.0x1019a974.33
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov edi, dword [ebx]
cmp edi, dword [esi + 0x180]
jb 0x1019c4c7
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
mov eax, dword [esi + 0x108]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x60], eax
mov ecx, dword [esi + 0x184]
mov eax, dword [ebp - 0x60]
mov dword [ecx + edi*4], eax
jmp case.0x1019a974.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10196ee0
jne 0x1019c523
movzx edi, word [esi + 0x100]
mov dword [ebp - 4], edi
jmp 0x1019c52f
push esi
call eax
mov ecx, dword [esi + 0x1c]
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov edx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
cmp eax, 1
jb 0x1019c360
cmp edx, 2
jl 0x1019c347
mov eax, dword [esi + 0x18]
lea ecx, [edx - 2]
mov dword [esi + 0x1c], ecx
mov edx, ecx
movzx ebx, word [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp bx, word [esi + 0x2c]
jae 0x1019c615
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x1019c58a
sub eax, 1
jne 0x1019c58d
add ecx, 0x20
jmp 0x1019c58d
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [ebp - 4], eax
jne 0x1019c60e
movzx eax, word [esi + 0x152]
and edi, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi]
cmp edi, 8
sbb edx, edx
mov eax, dword [eax + 0x60]
add edx, 0xfffffff9
add edx, edi
shl edx, cl
cmp dword [eax + 0x40], 0x28
jne 0x1019c5fc
cmp byte [esi + 0x267], 0
je 0x1019c5fc
cmp byte [esi + 0x268], 0
je 0x1019c5de
cmp byte [esi + 0x269], 0
jne 0x1019c60e
cmp byte [esi + 0x234], 0
je 0x1019c5f1
cmp word [esi + 0x130], 0
jne 0x1019c5fc
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x1019c60e
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
add esp, 0x10
mov ecx, dword [esi + 0x1c]
mov edx, ecx
jmp 0x1019c625
cmp byte [esi + 0x235], 0
je 0x1019c625
mov dword [esi + 0xc], 0x86
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 8]
jbe 0x1019c546
mov dword [esi + 0x20], ecx
jmp case.0x1019a974.33
mov eax, dword [esi + 0x254]
cmp eax, 0x10196ee0
jne 0x1019c656
movzx edx, word [esi + 0x100]
mov dword [ebp - 0xc], edx
jmp 0x1019c661
push esi
call eax
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, eax
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 1
cmp eax, 1
jb 0x1019c749
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x1019c732
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
mov ebx, dword [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp ebx, dword [esi + 0x180]
jb 0x1019c6b3
cmp byte [esi + 0x235], 0
jne 0x1019ab82
jmp 0x1019c71e
movzx eax, byte [esi + 0x174]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x1019c6d1
sub eax, 1
jne 0x1019c6d4
add ecx, 0x20
jmp 0x1019c6d4
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edx, eax
jne 0x1019c71e
movzx eax, word [esi + 0x152]
and edi, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi + 0x260]
cmp edi, 8
sbb edx, edx
add edx, 0xfffffff9
add edx, edi
shl edx, cl
cmp eax, 0x101981c0
jne 0x1019c716
mov eax, dword [esi + 0x184]
add dword [eax + ebx*4], edx
jmp 0x1019c71e
push edx
push ebx
push esi
call eax
add esp, 0xc
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
ja 0x1019c749
mov edx, dword [ebp - 0xc]
jmp 0x1019c680
cmp byte [esi + 0x235], 0
je 0x1019c742
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x1019a974.33
push dword [ebx]
push 0x4000
push esi
call fcn.10198520
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x23c], 0x10198370
jmp case.0x1019a974.33
push dword [ebx]
push 0x2d41
push esi
call fcn.10198520
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x23c], 0x101983c0
jmp case.0x1019a974.33
cmp dword [ebx + 4], 0
je case.0x1019a974.33
jmp case.0x1019a974.28
cmp dword [ebx + 4], 0
jne case.0x1019a974.33
jmp case.0x1019a974.28
mov dword [esi + 0x13c], 5
mov dword [esi + 0x23c], 0x10198350
jmp case.0x1019a974.33
mov dword [esi + 0x13c], 4
mov dword [esi + 0x23c], 0x101984e0
jmp case.0x1019a974.33
mov dword [esi + 0x13c], 3
mov dword [esi + 0x23c], 0x10198320
jmp case.0x1019a974.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019c835
cmp byte [esi + 0x267], 0
je 0x1019c835
cmp byte [esi + 0x268], 0
je 0x1019c835
cmp byte [esi + 0x269], 0
jne 0x1019c8a9
mov eax, dword [esi + 0x134]
cmp dword [esi + 0x10], eax
jge 0x1019c862
cmp byte [esi + 0x235], 0
je 0x1019c8a9
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x1019a974.33
test eax, eax
jle 0x1019c8a9
dec dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
movzx eax, word [eax + ecx*4]
cmp ax, word [esi + 0x98]
jb 0x1019c88b
cmp byte [esi + 0x235], 0
jne 0x1019ab82
jmp 0x1019c897
mov ecx, eax
mov eax, dword [esi + 0xa8]
xor byte [eax + ecx], 1
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jg 0x1019c866
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], ecx
jmp case.0x1019a974.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019c8e5
cmp byte [esi + 0x267], 0
je 0x1019c8e5
cmp byte [esi + 0x268], 0
je 0x1019c8e5
cmp byte [esi + 0x269], 0
jne case.0x1019a974.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x1019ab75
cmp ax, cx
jae 0x1019ab75
mov edx, eax
cmp ax, di
ja case.0x1019a974.33
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, di
jbe 0x1019c910
jmp case.0x1019a974.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019c952
cmp byte [esi + 0x267], 0
je 0x1019c952
cmp byte [esi + 0x268], 0
je 0x1019c952
cmp byte [esi + 0x269], 0
jne case.0x1019a974.33
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x1019ab75
cmp ax, cx
jae 0x1019ab75
mov edx, eax
cmp ax, di
ja case.0x1019a974.33
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, di
jbe 0x1019c980
jmp case.0x1019a974.33
mov ecx, dword [ebx]
movzx edx, cl
cmp edx, 0xff
jne 0x1019c9b1
mov byte [esi + 0x155], 1
jmp case.0x1019a974.33
test cl, cl
je 0x1019ca58
test ecx, 0x100
je 0x1019c9d5
movzx eax, word [esi + 0x100]
cmp eax, edx
ja 0x1019c9d5
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x200
je 0x1019c9ef
cmp byte [esi + 0x11d], 0
je 0x1019c9ef
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x400
je 0x1019ca09
cmp byte [esi + 0x11e], 0
je 0x1019ca09
mov byte [esi + 0x155], 1
mov ecx, dword [ebx]
test ecx, 0x800
je 0x1019ca25
movzx eax, word [esi + 0x100]
cmp eax, edx
jbe 0x1019ca25
mov byte [esi + 0x155], 0
mov ecx, dword [ebx]
test ecx, 0x1000
je 0x1019ca3f
cmp byte [esi + 0x11d], 0
je 0x1019ca3f
mov byte [esi + 0x155], 0
mov ecx, dword [ebx]
test ecx, 0x2000
je case.0x1019a974.33
cmp byte [esi + 0x11e], 0
je case.0x1019a974.33
mov byte [esi + 0x155], 0
jmp case.0x1019a974.33
movzx ecx, word [ebx]
movzx eax, word [ebx + 4]
cmp cx, word [esi + 0x50]
jae 0x1019ab75
cmp ax, word [esi + 0x74]
jae 0x1019ab75
mov ebx, ecx
mov ecx, dword [esi + 0x54]
shl ebx, 3
add ecx, ebx
mov dword [ebp - 0x1c], ebx
mov ebx, eax
mov eax, dword [esi + 0x78]
shl ebx, 3
mov dword [ebp - 0x10], ebx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub edi, dword [eax + ebx]
mov eax, dword [eax + ebx + 4]
mov ebx, ecx
sub ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
test edi, edi
jne 0x1019cabf
test ebx, ebx
jne 0x1019cabf
xor dl, dl
mov edi, 0x4000
mov byte [ebp - 5], dl
lea eax, [esi + 0x126]
and dl, 1
push eax
mov eax, edi
cmove eax, ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
test dl, dl
cmove eax, edi
push eax
call fcn.10198210
mov ecx, dword [esi + 0x58]
add esp, 0xc
add ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x10]
mov edi, dword [ecx]
sub edi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ebx, eax
sub ebx, edx
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x1019cb11
test ebx, ebx
jne 0x1019cb11
mov edi, 0x4000
xor cl, cl
jmp 0x1019cb14
mov cl, byte [ebp - 5]
lea eax, [esi + 0x12a]
and cl, 1
push eax
mov eax, edi
cmove eax, ebx
sub edx, dword [ebp - 0x10]
test cl, cl
push eax
cmove edx, edi
push edx
call fcn.10198210
push esi
call fcn.10196ca0
add esp, 0x10
jmp case.0x1019a974.33
mov edx, dword [ebx]
xor ecx, ecx
mov edi, dword [esi]
test dl, 1
je 0x1019cb51
mov eax, dword [edi + 0x60]
mov ecx, dword [eax + 0x40]
mov eax, edi
test dl, 2
je 0x1019cb67
cmp byte [esi + 0x11d], 0
je 0x1019cb67
or ecx, 0x100
test dl, 4
je 0x1019cb7b
cmp byte [esi + 0x11e], 0
je 0x1019cb7b
or ecx, 0x200
test dl, 8
je 0x1019cb91
cmp dword [edi + 0x2e0], 0
mov eax, edi
je 0x1019cb91
or ecx, 0x400
test dl, 0x20
je 0x1019cba5
cmp byte [esi + 0x264], 0
je 0x1019cba5
or ecx, 0x1000
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1019cc26
cmp byte [esi + 0x265], 0
je 0x1019cc26
mov edi, dword [ebx]
mov eax, edx
mov edx, ecx
or edx, 0x2000
and al, 0x40
cmove edx, ecx
mov ecx, edx
mov dword [ebp - 0xc], ecx
test edi, 0x100
je 0x1019cbea
cmp byte [esi + 0x266], 0
mov dword [ebp - 0xc], ecx
je 0x1019cbea
or ecx, 0x8000
mov dword [ebp - 0xc], ecx
or ecx, 0x20000
mov eax, edi
and eax, 0x400
mov eax, edi
cmove ecx, dword [ebp - 0xc]
mov edx, ecx
or edx, 0x40000
and eax, 0x800
cmove edx, ecx
mov ecx, edx
test edi, 0x1000
je 0x1019cc26
cmp byte [esi + 0x26a], 0
je 0x1019cc26
or ecx, 0x80000
mov dword [ebx], ecx
jmp case.0x1019a974.33
cmp dword [esi + 0x164], 3
jne 0x1019cc42
mov dword [esi + 0xc], 0x9c
jmp case.0x1019a974.33
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x1019cc70
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
cmp edi, eax
jae 0x1019cc6e
mov ecx, dword [ebx]
nop
cmp dword [edi + 0xc], ecx
je 0x1019cc6c
add edi, 0x18
cmp edi, eax
jb 0x1019cc60
cmp edi, eax
jne 0x1019cc89
mov eax, dword [esi + 0x19c]
cmp eax, dword [esi + 0x1a0]
jae 0x1019cd14
inc eax
mov dword [esi + 0x19c], eax
mov eax, dword [ebx]
cmp eax, 0xff
ja 0x1019cd14
movzx eax, al
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x16c]
inc eax
mov dword [edi + 4], eax
mov eax, dword [esi + 0x164]
mov dword [edi], eax
mov byte [edi + 0x10], 1
mov eax, dword [ebx]
cmp eax, dword [esi + 0x1ac]
jbe 0x1019ccc5
movzx eax, al
mov dword [esi + 0x1ac], eax
push esi
call fcn.10198710
add esp, 4
test al, al
jne case.0x1019a974.33
nop word [eax + eax]
movzx eax, byte [esi + 0x174]
sub eax, 0x2c
je 0x1019b2d6
sub eax, 1
je 0x1019b2c8
sub eax, 0x5c
je 0x1019b2d6
push esi
call fcn.10198710
add esp, 4
test al, al
je 0x1019cce0
jmp case.0x1019a974.33
mov dword [esi + 0xc], 0x8d
jmp case.0x1019a974.33
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebx + 8], eax
mov dword [ebx + 4], edx
mov dword [ebx], ecx
jmp case.0x1019a974.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jle case.0x1019a974.33
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jge case.0x1019a974.33
mov dword [ebx], eax
jmp case.0x1019a974.33
mov eax, dword [ebx]
test eax, eax
js case.0x1019a974.33
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x1019a974.33
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [edi - 1]
cmp eax, 2
ja 0x1019ab75
lea ecx, [edi - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x1019cdad
cmp edx, eax
je 0x1019cdad
cmp byte [esi + 0x235], 0
je case.0x1019a974.33
mov dword [esi + 0xc], 0x86
jmp case.0x1019a974.33
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
cmp edi, 3
jne case.0x1019a974.33
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x1019a974.33
cmp edx, 4
setne al
mov byte [esi + 0x267], al
jmp case.0x1019a974.33
mov eax, dword [esi]
mov ecx, dword [eax + 0x2e0]
test ecx, ecx
je case.0x1019a974.40
sub edi, dword [esi + 0x10]
mov edx, dword [ecx]
inc edi
mov ecx, dword [ecx + 8]
mov dword [ebp - 4], ecx
cmp edx, edi
jb 0x1019ce12
mov dword [esi + 0xc], 0x82
jmp case.0x1019a974.33
test ecx, ecx
je 0x1019cecd
xor edi, edi
test edx, edx
je case.0x1019a974.33
cmp edx, 0x10
jb 0x1019cea2
lea eax, [edx - 1]
lea eax, [ecx + eax*4]
cmp ebx, eax
ja 0x1019ce3d
lea eax, [edx - 1]
lea eax, [ebx + eax*4]
cmp eax, ecx
jae 0x1019cea2
mov esi, dword [ebp - 4]
mov eax, edx
and eax, 0xfffffff0
add ecx, 0x30
mov dword [ebp - 0x1c], eax
sub esi, ebx
mov eax, 2
mov dword [ebp - 0x10], esi
movd xmm1, eax
lea eax, [ebx + 0x10]
nop dword [eax]
movups xmm0, xmmword [ecx - 0x30]
add edi, 0x10
lea eax, [eax + 0x40]
lea ecx, [ecx + 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [esi + eax - 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x50]
psrad xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x40]
psrad xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
cmp edi, dword [ebp - 0x1c]
jb 0x1019ce60
mov esi, dword [ebp + 8]
cmp edi, edx
jae case.0x1019a974.33
mov esi, dword [ebp - 4]
lea ecx, [ebx + edi*4]
sub esi, ebx
sub edx, edi
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
sar eax, 2
mov dword [ecx - 4], eax
sub edx, 1
jne 0x1019ceb4
mov esi, dword [ebp + 8]
jmp case.0x1019a974.33
test edx, edx
je case.0x1019a974.33
mov ecx, edx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
jmp case.0x1019a974.33
mov eax, dword [esi]
cmp dword [eax + 0x2e0], 0
je case.0x1019a974.40
mov dword [ebx], 0x11
jmp case.0x1019a974.33
cmp dl, 0xe0
jb 0x1019cf10
push ebx
push esi
call fcn.10197c60
add esp, 8
jmp case.0x1019a974.33
cmp dl, 0xc0
jb 0x1019cf24
push ebx
push esi
call fcn.101979e0
add esp, 8
jmp case.0x1019a974.33
cmp dl, 0xb8
jb 0x1019cfa4
sub edi, dword [esi + 0x10]
mov ecx, 0xb7
movzx eax, dl
inc edi
sub ax, cx
movzx ecx, ax
mov eax, ecx
mov dword [ebp - 4], eax
cmp eax, edi
jb 0x1019cf50
mov dword [esi + 0xc], 0x82
jmp case.0x1019a974.33
inc dword [esi + 0x16c]
xor eax, eax
cmp ax, cx
jae 0x1019cf9b
nop dword [eax]
add dword [esi + 0x16c], 2
lea ebx, [ebx + 4]
mov edi, dword [esi + 0x16c]
mov eax, 0x100
mov edx, dword [esi + 0x168]
cwde
movzx ecx, byte [edx + edi - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi - 1]
add cx, ax
sub dword [ebp - 4], 1
movsx eax, cx
mov dword [ebx - 4], eax
jne 0x1019cf60
mov byte [esi + 0x17c], 0
jmp case.0x1019a974.33
cmp dl, 0xb0
jb case.0x1019a974.40
sub edi, dword [esi + 0x10]
mov ecx, 0xaf
movzx eax, dl
inc edi
sub ax, cx
movzx ecx, ax
movzx eax, cx
mov dword [ebp - 0x10], ecx
cmp eax, edi
jb 0x1019cfce
mov dword [esi + 0xc], 0x82
jmp case.0x1019a974.33
mov edi, 1
mov eax, edi
cmp ax, cx
ja case.0x1019a974.33
nop word [eax + eax]
mov ecx, dword [esi + 0x168]
mov eax, dword [esi + 0x16c]
movzx edx, di
inc edi
add ecx, edx
movzx eax, byte [ecx + eax]
mov dword [ebx + edx*4 - 4], eax
cmp di, word [ebp - 0x10]
jbe 0x1019cfe0
jmp case.0x1019a974.33
push esi
call fcn.10198110
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1019d0b1
cmp eax, 0x80
jne 0x1019d170
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1019d039
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
jmp 0x1019d040
xor edx, edx
nop dword [eax + eax]
cmp ecx, edx
jae 0x1019d124
cmp byte [ecx + 0x10], 0
je 0x1019d059
mov al, byte [esi + 0x174]
cmp al, byte [ecx + 0xc]
je 0x1019d05e
add ecx, 0x18
jmp 0x1019d040
mov edx, dword [esi + 0x1b0]
cmp edx, dword [esi + 0x1b4]
jge 0x1019d111
mov eax, dword [esi + 0x164]
shl edx, 4
add edx, dword [esi + 0x1b8]
mov dword [edx], eax
mov eax, dword [esi + 0x16c]
inc eax
mov dword [edx + 8], 1
mov dword [edx + 4], eax
mov dword [edx + 0xc], ecx
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.10197220
add esp, 0xc
cmp al, 1
jne 0x1019d0da
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x17c], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
je 0x1019d0cc
mov eax, dword [esi + 0x178]
add dword [esi + 0x16c], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0xf4240
ja 0x1019d149
mov edi, dword [esi + 0x16c]
cmp edi, dword [esi + 0x170]
jge 0x1019d137
cmp byte [esi + 0x1ec], 0
je 0x1019a840
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc], 0x81
mov eax, 0x81
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc], 0x86
mov eax, 0x86
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc], 0x80
mov eax, 0x80
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1b0], 0
jg 0x1019d168
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x8b
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc], 0x82
mov eax, 0x82
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x83
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret