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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
mov eax, 0x1e
push edi
mov dword [esp + 0x20], 0
mov ebp, 0xffff
movzx ebx, word [esi + 0x98]
mov edx, dword [esi + 0x184]
mov edi, ebx
lea ecx, [edx + edi]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [esi + 0xbc]
cmp eax, ecx
jbe 0x101616e0
cmp ecx, ebp
cmova ecx, ebp
mov word [esi + 0xbc], cx
mov dword [esi + 0x280], 0
mov dword [esi + 0x288], 0
test bx, bx
je 0x1016171b
lea ecx, [edi + edi*4]
mov eax, 0xcccccccd
add ecx, ecx
mov edi, 0x32
cmp ecx, edi
cmovb ecx, edi
mul edx
shr edx, 3
cmp edx, edi
cmovb edx, edi
add ecx, edx
jmp 0x10161724
imul ecx, edx, 0x16
add ecx, 0x12c
mov dword [esi + 0x284], ecx
mov eax, dword [esi]
imul eax, dword [eax + 0x10], 0x64
cmp ecx, eax
jbe 0x1016173c
mov dword [esi + 0x284], eax
mov ecx, eax
movzx edx, word [esi + 0xde]
mov edi, 0x1015d940
mov dword [esi + 0x28c], ecx
mov eax, 0x1015d950
movzx ecx, word [esi + 0xdc]
cmp cx, dx
mov dword [esi + 0x104], 0
push esi
cmove eax, edi
mov edi, 0x1015f1e0
mov dword [esi + 0x268], eax
mov eax, 0x1015f200
cmove eax, edi
mov edi, 0x10164e30
mov dword [esi + 0x26c], eax
mov eax, 0x10164e60
cmove eax, edi
mov edi, 0x1015f0c0
mov dword [esi + 0x270], eax
mov eax, 0x1015f0f0
cmove eax, edi
mov dword [esi + 0x274], eax
mov eax, dword [esi + 0x168]
mov dword [esi + 0x164], eax
call fcn.1015d730
movzx eax, byte [esi + 0x13c]
add esp, 4
cmp eax, 7
ja case.default.0x101617ca
jmp dword [eax*4 + 0x101640d0]
mov dword [esi + 0x250], fcn.1015f2a0
jmp case.default.0x101617ca
mov dword [esi + 0x250], 0x1015f3e0
jmp case.default.0x101617ca
mov dword [esi + 0x250], 0x1015f460
jmp case.default.0x101617ca
mov dword [esi + 0x250], 0x1015f260
jmp case.default.0x101617ca
mov dword [esi + 0x250], 0x1015f420
jmp case.default.0x101617ca
mov dword [esi + 0x250], 0x1015f3a0
jmp case.default.0x101617ca
mov dword [esi + 0x250], 0x1015f2d0
jmp case.default.0x101617ca
mov dword [esi + 0x250], fcn.1015f330
mov word [esi + 0x27c], 0
lea ebp, [esi + 0x174]
nop
mov edx, dword [esi + 0x170]
mov edi, dword [esi + 0x16c]
mov dword [esp + 0x4c], ebp
mov al, byte [edi + edx]
movzx ebx, al
mov byte [esi + 0x178], al
movsx ecx, byte [ebx + 0x102c3570]
mov dword [esi + 0x17c], ecx
test ecx, ecx
jns 0x1016188e
lea eax, [edx + 1]
cmp eax, dword [ebp]
jge 0x101640bd
movzx eax, byte [edi + edx + 1]
imul eax, ecx
mov ecx, 2
sub ecx, eax
mov dword [esi + 0x17c], ecx
lea eax, [edx + ecx]
cmp eax, dword [ebp]
jg 0x101640bd
mov bl, byte [ebx + 0x102c3470]
mov ecx, dword [esi + 0x10]
movzx eax, bl
shr eax, 4
sub ecx, eax
mov dword [esi + 0x1c], ecx
jns 0x101618f3
cmp byte [esi + 0x249], 0
jne 0x10164050
xor edx, edx
test bl, 0xf0
jbe 0x101618ea
mov eax, dword [esi + 0x18]
movzx ecx, dx
inc edx
mov dword [eax + ecx*4], 0
movzx eax, byte [esi + 0x178]
mov al, byte [eax + 0x102c3470]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x101618c4
mov dword [esi + 0x1c], 0
xor ecx, ecx
mov al, byte [esi + 0x178]
lea ebp, [esi + 0x20]
mov byte [esp + 0x10], al
cmp al, 0x91
jne 0x10161924
mov eax, dword [esi]
mov eax, dword [eax + 0x2e4]
test eax, eax
je 0x1016191c
mov eax, dword [eax]
add eax, ecx
mov dword [ebp], eax
lea ebp, [esi + 0x20]
jmp 0x10161936
mov eax, dword [ebp]
lea ebp, [esi + 0x20]
jmp 0x10161936
movzx eax, al
movzx eax, byte [eax + 0x102c3470]
and eax, 0xf
add eax, ecx
mov dword [ebp], eax
mov edi, dword [esi + 0x14]
cmp eax, edi
jg 0x101640ab
mov edx, dword [esi + 0x18]
lea eax, [esi + 0x180]
mov dword [esp + 0x18], eax
mov byte [eax], 1
mov al, byte [esp + 0x10]
mov dword [esi + 0xc], 0
lea ebx, [edx + ecx*4]
movzx esi, al
mov dword [esp + 0x1c], esi
cmp esi, 0x92
ja case.default.0x10161972
jmp dword [esi*4 + 0x101640f0]
mov esi, dword [esp + 0x88]
and al, 1
movzx eax, al
shl ax, 0xe
movzx ecx, ax
mov eax, ecx
xor eax, 0x4000
movzx edx, ax
mov al, byte [esp + 0x10]
cmp al, 4
jae 0x101619ba
mov word [esi + 0x12a], cx
mov word [esi + 0x12c], dx
mov word [esi + 0x126], cx
mov word [esi + 0x128], dx
test al, 2
jne 0x10161b06
push esi
mov word [esi + 0x12e], cx
mov word [esi + 0x130], dx
call fcn.1015d730
jmp 0x10163f5e
mov esi, dword [esp + 0x88]
movzx eax, word [ebx]
lea edi, [esi + 0x12a]
push edi
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.1015ef10
add esp, 0x10
test al, al
jne case.0x10161972.351
mov eax, dword [edi]
push esi
mov dword [esi + 0x126], eax
call fcn.1015d730
jmp 0x10163f5e
mov esi, dword [esp + 0x88]
lea eax, [esi + 0x12e]
push eax
movzx eax, word [ebx]
push eax
movzx eax, word [ebx + 4]
push eax
push esi
call fcn.1015ef10
add esp, 0x10
test al, al
jne case.0x10161972.351
push esi
call fcn.1015d730
jmp 0x10163f5e
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
mov esi, dword [esp + 0x88]
test ecx, ecx
jne 0x10161a5f
test eax, eax
je 0x10161a9c
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x54], ecx
call fcn.1014e830
mov eax, dword [esp + 0x54]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12a], ax
mov eax, dword [esp + 0x54]
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.1015d730
jmp 0x10163f5e
movsx ecx, word [ebx]
movsx eax, word [ebx + 4]
mov esi, dword [esp + 0x88]
test ecx, ecx
jne 0x10161ac9
test eax, eax
je 0x10161b06
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], ecx
call fcn.1014e830
mov eax, dword [esp + 0x5c]
add esp, 4
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x12e], ax
mov eax, dword [esp + 0x5c]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esi + 0x130], ax
push esi
call fcn.1015d730
jmp 0x10163f5e
mov esi, dword [esp + 0x88]
movsx eax, word [esi + 0x12a]
mov dword [ebx], eax
movsx eax, word [esi + 0x12c]
mov dword [ebx + 4], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
movsx eax, word [esi + 0x12e]
mov dword [ebx], eax
movsx eax, word [esi + 0x130]
mov dword [ebx + 4], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
push esi
mov eax, dword [esi + 0x12a]
mov dword [esi + 0x12e], eax
call fcn.1015d730
jmp 0x10163f5e
mov esi, dword [esp + 0x88]
push ebx
push esi
call fcn.1015e2d0
add esp, 8
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ax, word [ebx]
mov word [esi + 0x120], ax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ax, word [ebx]
mov word [esi + 0x122], ax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ax, word [ebx]
mov word [esi + 0x124], ax
jmp case.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
sub eax, 0
je 0x10161c0b
sub eax, 1
je 0x10161bf1
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10161c23
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.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
sub eax, 0
je 0x10161c7f
sub eax, 1
je 0x10161c65
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10161c97
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.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
sub eax, 0
je 0x10161cf3
sub eax, 1
je 0x10161cd9
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x6c], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10161d0b
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.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
sub eax, 0
je 0x10161d6a
sub eax, 1
je 0x10161d50
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
movups xmm0, xmmword [esi + 0x90]
mov eax, dword [esi + 0xb0]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [esi + 0xa0]
jmp 0x10161d82
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.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
test eax, eax
jns 0x10161dee
mov dword [esi + 0xc], 0x84
jmp case.0x10161972.351
cmp eax, 0xffff
mov ecx, 0xffff
cmovg eax, ecx
mov dword [esi + 0x134], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 1
mov dword [esi + 0x250], 0x1015f3e0
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 0
mov dword [esi + 0x250], 0x1015f420
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov dword [esi + 0x138], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov edi, 1
push esi
call fcn.1015f690
add esp, 4
cmp al, 1
je case.0x10161972.351
movzx eax, byte [esi + 0x178]
sub eax, 0x58
je 0x10161e8b
sub eax, 1
jne 0x10161e8c
dec edi
jmp 0x10161e8c
inc edi
test edi, edi
jne 0x10161e66
jmp case.0x10161972.351
mov edi, dword [ebx]
mov edx, dword [esp + 0x18]
mov ebp, edx
mov esi, dword [esp + 0x88]
test edi, edi
jne 0x10161ebe
test ecx, ecx
jne 0x10161eb8
mov dword [esi + 0xc], 0x84
jmp case.0x10161972.351
lea ebp, [esi + 0x180]
add edi, dword [esi + 0x170]
mov dword [esi + 0x170], edi
js 0x10161de2
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jle 0x10161ef1
mov edx, ebp
mov eax, dword [esi + 0x1c4]
add ecx, ecx
mov eax, dword [eax + ecx*8 - 4]
cmp edi, dword [eax + 8]
jg 0x10161de2
mov byte [edx], 0
cmp dword [ebx], 0
jge case.0x10161972.351
inc dword [esi + 0x288]
mov eax, dword [esi + 0x288]
cmp eax, dword [esi + 0x28c]
jbe case.0x10161972.351
mov dword [esi + 0xc], 0x8b
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov dword [esi + 0x144], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov dword [esi + 0x148], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x108]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14c], eax
jmp case.0x10161972.351
mov eax, dword [ebx]
mov dword [ebx + 4], eax
jmp case.0x10161972.351
mov dword [ebp], 0
jmp case.0x10161972.351
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x10]
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
test eax, eax
jle 0x10161fe8
cmp eax, ecx
jg 0x10161fe8
sub ecx, eax
mov eax, dword [edx + ecx*4]
mov dword [ebx], eax
jmp case.0x10161972.351
cmp byte [esi + 0x249], 0
je 0x10161ff8
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
test eax, eax
jle 0x10161bd8
cmp eax, ecx
jg 0x10161bd8
sub ecx, eax
lea eax, [eax*4 - 4]
mov edi, dword [edx + ecx*4]
lea ecx, [edx + ecx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.10266230
mov ecx, dword [esi + 0x1c]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [eax + ecx*4 - 4], edi
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
movzx ebx, word [ebx + 4]
cmp bp, word [esi + 0x50]
jae 0x10161bd8
cmp bx, word [esi + 0x2c]
jae 0x10161bd8
mov eax, dword [esi + 0x58]
mov ecx, ebp
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 + 0x254]
push esi
call eax
cdq
sub eax, edx
mov edi, eax
lea eax, [esi + 0x48]
sar edi, 1
push edi
push ebp
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
neg edi
lea eax, [esi + 0x24]
push edi
push ebx
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x2c
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
movzx eax, word [ebx]
cmp ax, word [esi + 0x2c]
jb 0x101620e5
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
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.0x10161972.351
mov esi, dword [esp + 0x88]
mov edx, dword [ebx + 4]
mov ebp, dword [esi + 0x1b4]
inc ebp
cmp edx, ebp
jae 0x10161be5
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x10162145
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
jmp 0x10162147
xor ecx, ecx
mov eax, dword [esi + 0x19c]
cmp ebp, eax
jne 0x10162156
cmp dword [ecx + 0xc], edx
je 0x10162184
mov ecx, edi
test ecx, ecx
je 0x10161be5
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x1016217e
nop word [eax + eax]
cmp dword [ecx + 0xc], edx
je 0x1016217c
add ecx, 0x14
cmp ecx, eax
jb 0x10162170
cmp ecx, eax
je 0x10161be5
cmp byte [ecx + 0x10], 0
je 0x10161be5
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x101621a8
mov dword [esi + 0xc], 0x82
jmp case.0x10161972.351
cmp dword [ebx], 0
jle case.0x10161972.351
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edx + 4], eax
mov eax, dword [ebx]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1bc]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.1015df20
mov byte [esi + 0x180], 0
add esp, 0xc
mov eax, dword [ebx]
add dword [esi + 0x280], eax
mov eax, dword [esi + 0x280]
cmp eax, dword [esi + 0x284]
jbe case.0x10161972.351
mov dword [esi + 0xc], 0x8b
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov edx, dword [ebx]
mov ebx, dword [esi + 0x1b4]
inc ebx
cmp edx, ebx
jae 0x10161be5
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x10161be5
lea eax, [edx + edx*4]
lea ecx, [edi + eax*4]
mov eax, dword [esi + 0x19c]
cmp ebx, eax
jne 0x10162250
cmp dword [ecx + 0xc], edx
je 0x10162274
mov ecx, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x1016226e
nop dword [eax]
cmp dword [ecx + 0xc], edx
je 0x1016226c
add ecx, 0x14
cmp ecx, eax
jb 0x10162260
cmp ecx, eax
je 0x10161be5
cmp byte [ecx + 0x10], 0
je 0x10161be5
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jl 0x10162298
mov dword [esi + 0xc], 0x82
jmp case.0x10161972.351
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edx + 8], 1
mov dword [edx + 4], eax
mov dword [edx + 0xc], ecx
inc dword [esi + 0x1bc]
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.1015df20
add esp, 0xc
mov byte [esi + 0x180], 0
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
cmp dword [esi + 0x164], 3
jne 0x101622f9
mov dword [esi + 0xc], 0x9c
jmp case.0x10161972.351
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x10162311
mov eax, dword [esi + 0x19c]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
jmp 0x10162313
xor eax, eax
mov ecx, dword [ebx]
cmp edi, eax
jae 0x1016232e
nop dword [eax]
cmp dword [edi + 0xc], ecx
je 0x1016232c
add edi, 0x14
cmp edi, eax
jb 0x10162320
cmp edi, eax
jne 0x10162345
mov eax, dword [esi + 0x19c]
cmp eax, dword [esi + 0x1a0]
jae 0x1016234d
inc eax
mov dword [esi + 0x19c], eax
cmp ecx, 0xffff
jbe 0x10162359
mov dword [esi + 0xc], 0x8c
jmp case.0x10161972.351
mov eax, dword [esi + 0x168]
mov dword [edi], eax
movzx edx, cx
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x170]
inc eax
mov byte [edi + 0x10], 1
mov dword [edi + 4], eax
cmp ecx, dword [esi + 0x1b4]
jbe 0x10162383
mov dword [esi + 0x1b4], edx
push esi
call fcn.1015f690
add esp, 4
test al, al
jne case.0x10161972.351
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x101623ca
sub eax, 1
je 0x101623bc
sub eax, 0x5c
je 0x101623ca
push esi
call fcn.1015f690
add esp, 4
test al, al
je 0x10162394
jmp case.0x10161972.351
mov eax, dword [esi + 0x170]
mov dword [edi + 8], eax
jmp case.0x10161972.351
mov dword [esi + 0xc], 0x89
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jg 0x101623f3
mov dword [esi + 0xc], 0x88
jmp case.0x10161972.351
mov edx, dword [esp + 0x18]
dec ecx
mov dword [esi + 0x1bc], ecx
shl ecx, 4
add ecx, dword [esi + 0x1c4]
dec dword [ecx + 8]
mov byte [edx], 0
cmp dword [ecx + 8], 0
jle 0x1016242a
inc dword [esi + 0x1bc]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov dword [esi + 0x170], eax
jmp case.0x10161972.351
push dword [ecx + 4]
push dword [ecx]
push esi
call fcn.1015df20
add esp, 0xc
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
movzx edi, word [ebx]
cmp di, word [esi + 0x2c]
jb 0x10162466
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
test al, 1
je 0x101624aa
mov eax, dword [esi + 0x34]
mov ecx, edi
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov ebx, eax
mov eax, dword [esi + 0x250]
push 3
push ebx
push esi
cmp eax, fcn.1015f330
jne 0x101624a1
call fcn.1015f330
add esp, 0xc
sub eax, ebx
jmp 0x101624ac
call eax
add esp, 0xc
sub eax, ebx
jmp 0x101624ac
xor eax, eax
push eax
push edi
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], di
mov word [esi + 0x122], di
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
push esi
call fcn.1015e520
jmp 0x10163f5e
mov esi, dword [esp + 0x88]
lea edi, [esi + 0x134]
mov eax, dword [esi + 0x10]
cmp eax, dword [edi]
jge 0x1016251f
cmp byte [esi + 0x249], 0
je 0x10162602
mov eax, dword [esi + 0x1c]
lea ebp, [esi + 0x20]
mov dword [esi + 0xc], 0x86
mov dword [edi], 1
mov dword [ebp], eax
jmp case.0x10161972.351
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
push esi
call fcn.1015d860
add esp, 0x14
test al, al
jne case.0x10161972.351
cmp dword [edi], 0
jle 0x10162602
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
dec dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
movzx edx, word [eax + ecx*4]
cmp dx, word [esi + 0x74]
jb 0x10162577
cmp byte [esi + 0x249], 0
jne 0x10161be5
jmp 0x101625ee
cmp word [esi + 0x12e], 0
je 0x101625a9
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x10162595
cmp byte [esi + 0x27b], 0
jne 0x1016259d
mov eax, dword [esi + 0x7c]
mov ecx, edx
add dword [eax + ecx*8], ebp
mov eax, dword [esi + 0x84]
mov ecx, edx
or byte [eax + ecx], 8
cmp word [esi + 0x130], 0
je 0x101625ee
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x101625d9
cmp byte [esi + 0x27b], 0
je 0x101625d9
cmp byte [esi + 0x27c], 0
je 0x101625d9
cmp byte [esi + 0x27d], 0
jne 0x101625e2
mov eax, dword [esi + 0x7c]
mov ecx, edx
add dword [eax + ecx*8 + 4], ebx
mov eax, dword [esi + 0x84]
mov ecx, edx
or byte [eax + ecx], 0x10
dec dword [edi]
cmp dword [edi], 0
jg 0x10162555
lea edi, [esi + 0x134]
lea ebp, [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [edi], 1
mov dword [ebp], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
push ebx
push esi
call fcn.1015ebd0
add esp, 8
jmp case.0x10161972.351
cmp dword [ebx], 2
mov esi, dword [esp + 0x88]
jb 0x1016264e
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.1015d860
add esp, 0x14
test al, al
jne case.0x10161972.351
movzx eax, word [esi + 0x160]
test ax, ax
jne 0x10162685
movzx ebx, word [esi + 0x74]
jmp 0x101626aa
cmp eax, 1
jne 0x101626a8
movzx eax, word [esi + 0x76]
test ax, ax
jle 0x101626a8
movsx ecx, ax
mov eax, dword [esi + 0x88]
mov ax, word [eax + ecx*2 - 2]
inc ax
movzx ebx, ax
jmp 0x101626aa
xor ebx, ebx
xor eax, eax
xor edi, edi
cmp ax, bx
jae case.0x10161972.351
mov bp, word [esp + 0x14]
xor edx, edx
nop
mov ecx, dword [esi + 0x7c]
cmp dword [esp + 0x70], ecx
jne 0x101626ce
cmp bp, di
je 0x1016272e
cmp word [esi + 0x12e], 0
je 0x101626f3
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x101626ec
cmp byte [esi + 0x27b], 0
jne 0x101626f3
mov eax, dword [esp + 0x30]
add dword [edx + ecx], eax
cmp word [esi + 0x130], 0
je 0x1016272e
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x10162723
cmp byte [esi + 0x27b], 0
je 0x10162723
cmp byte [esi + 0x27c], 0
je 0x10162723
cmp byte [esi + 0x27d], 0
jne 0x1016272e
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x34]
add dword [edx + eax + 4], ecx
inc edi
add edx, 8
cmp di, bx
jb 0x101626c0
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
push ebx
push esi
call fcn.1015ed40
add esp, 8
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
push esi
call fcn.1015df90
jmp 0x10163f5e
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
cmp bp, word [esi + 0x50]
jae 0x10161bd8
movzx eax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x10161bd8
cmp word [esi + 0x15e], 0
jne 0x101627d3
mov edx, eax
mov edi, ebp
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edx*8]
mov edx, dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x54]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
lea eax, [esi + 0x48]
push dword [ebx + 4]
push ebp
push eax
mov eax, dword [esi + 0x264]
push esi
call eax
mov eax, dword [esi + 0x54]
add esp, 0x10
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [esi + 0x58]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
movzx ecx, word [esi + 0x120]
lea edi, [esi + 0x48]
mov eax, dword [esi + 0x34]
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x58]
mov ecx, ebp
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 + 0x254]
push esi
call eax
mov ecx, dword [ebx + 4]
sub ecx, eax
mov eax, dword [esi + 0x260]
push ecx
push ebp
push edi
push esi
call eax
mov ax, word [esi + 0x120]
add esp, 0x1c
test byte [esi + 0x178], 1
mov word [esi + 0x122], ax
mov word [esi + 0x124], bp
je case.0x10161972.351
mov word [esi + 0x120], bp
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ecx, ebp
mov edx, dword [esi + 0x134]
lea ebx, [esi + 0x134]
cmp dword [esi + 0x10], edx
jl 0x10162904
mov ax, word [esi + 0x120]
cmp ax, word [esi + 0x2c]
jae 0x10162901
mov eax, ebx
test edx, edx
jle 0x10162918
nop dword [eax + eax]
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 0x101628a2
cmp byte [esi + 0x249], 0
jne 0x10161be5
jmp 0x101628e0
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 + 0x254]
push esi
call eax
neg eax
push eax
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x1c
dec dword [ebx]
cmp dword [ebx], 0
jg 0x10162880
lea eax, [esi + 0x134]
lea ebp, [esi + 0x20]
mov dword [eax], 1
mov eax, dword [esi + 0x1c]
mov dword [ebp], eax
jmp case.0x10161972.351
lea ecx, [esi + 0x20]
cmp byte [esi + 0x249], 0
mov eax, ebx
je 0x10162918
mov dword [esi + 0xc], 0x86
mov ebp, ecx
mov dword [eax], 1
mov eax, dword [esi + 0x1c]
mov dword [ebp], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 2
mov dword [esi + 0x250], 0x1015f3a0
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
mov ecx, dword [ebx + 4]
cmp bp, word [esi + 0x2c]
jae 0x10162a55
cmp ecx, dword [esi + 0x184]
jae 0x10162a55
mov eax, dword [esi + 0x26c]
cmp eax, 0x1015f1e0
jne 0x10162984
mov eax, dword [esi + 0x188]
mov ebx, dword [eax + ecx*4]
jmp 0x1016298d
push ecx
push esi
call eax
add esp, 8
mov ebx, eax
cmp word [esi + 0x15c], 0
jne 0x101629d9
movsx eax, word [esi + 0x12e]
mov edi, ebp
push eax
push ebx
call fcn.10160dc0
mov ecx, dword [esi + 0x30]
mov dword [ecx + edi*8], eax
movsx eax, word [esi + 0x130]
push eax
push ebx
call fcn.10160dc0
mov ecx, dword [esi + 0x30]
add esp, 0x10
mov dword [ecx + edi*8 + 4], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [esi + 0x34]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, ebp
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov edi, eax
test byte [esi + 0x178], 1
je 0x10162a2e
mov ecx, ebx
sub ecx, edi
jns 0x10162a06
mov ecx, edi
sub ecx, ebx
cmp ecx, dword [esi + 0x144]
mov eax, dword [esi + 0x250]
cmovg ebx, edi
push 3
push ebx
push esi
cmp eax, fcn.1015f330
jne 0x10162a27
call fcn.1015f330
jmp 0x10162a29
call eax
mov ebx, eax
add esp, 0xc
sub ebx, edi
lea eax, [esi + 0x24]
push ebx
push ebp
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
mov word [esi + 0x120], bp
mov word [esi + 0x122], bp
jmp case.0x10161972.351
cmp byte [esi + 0x249], 0
je 0x10162a65
mov dword [esi + 0xc], 0x86
mov word [esi + 0x120], bp
mov word [esi + 0x122], bp
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x170]
mov ecx, dword [esi + 0x16c]
sub edi, dword [esi + 0x10]
inc edi
movzx ecx, byte [ecx + eax + 1]
movzx eax, cx
mov dword [esp + 0x1c], ecx
cmp eax, edi
jb 0x10162aab
mov dword [esi + 0xc], 0x82
jmp case.0x10161972.351
mov edi, 1
mov eax, edi
cmp ax, cx
ja 0x10162ae7
nop word [eax + eax]
mov ecx, dword [esi + 0x16c]
mov eax, dword [esi + 0x170]
movzx edx, di
inc edi
add ecx, edx
movzx eax, byte [ecx + eax + 1]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + edx*4 - 4], eax
cmp di, cx
jbe 0x10162ac0
lea ebp, [esi + 0x20]
movzx eax, cx
add dword [ebp], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x170]
sub edi, dword [esi + 0x10]
inc edi
mov dl, byte [ecx + eax + 1]
movzx eax, dl
mov byte [esp + 0x10], dl
mov dword [esp + 0x1c], eax
cmp eax, edi
jb 0x10162b28
mov dword [esi + 0xc], 0x82
jmp case.0x10161972.351
lea eax, [ecx + 2]
mov dword [esi + 0x170], eax
test dl, dl
je 0x10162b93
nop word [eax + eax]
add dword [esi + 0x170], 2
lea ebx, [ebx + 4]
mov edx, dword [esi + 0x170]
mov eax, 0x100
add edx, dword [esi + 0x16c]
cwde
movzx ecx, byte [edx - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx - 1]
add cx, ax
sub dword [esp + 0x1c], 1
movsx eax, cx
mov dword [ebx - 4], eax
jne 0x10162b40
movzx eax, byte [esp + 0x10]
lea edx, [esi + 0x180]
add dword [esi + 0x20], eax
lea ebp, [esi + 0x20]
mov byte [edx], 0
jmp case.0x10161972.351
mov edx, dword [esp + 0x18]
movzx eax, byte [esp + 0x10]
add dword [ebp], eax
mov byte [edx], 0
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov edi, dword [ebx]
movzx ecx, word [esi + 0x1e4]
cmp edi, ecx
jb 0x10162bd4
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
cmp dword [esi + 0x164], 3
jne 0x10162c49
mov eax, dword [esi + 0x1f0]
cmp dword [esi + 0x1e8], eax
je 0x10162c49
lea edx, [esp + 0x38]
push edx
push eax
movzx eax, word [esi + 0x1ec]
push ecx
push eax
push 4
push dword [esi + 8]
call fcn.10150130
mov ecx, dword [esp + 0x50]
add esp, 0x18
mov dword [esi + 0x1f0], eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne case.0x10161972.351
movzx ecx, word [esi + 0x1e4]
mov word [esi + 0x1ec], cx
shl ecx, 2
push ecx
push dword [esi + 0x1e8]
push eax
call fcn.10266230
mov eax, dword [esi + 0x1f0]
add esp, 0xc
mov dword [esi + 0x1e8], eax
mov ecx, dword [esi + 0x1e8]
mov eax, dword [ebx + 4]
mov dword [ecx + edi*4], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ecx, dword [ebx]
movzx eax, word [esi + 0x1e4]
cmp ecx, eax
jb 0x10162c8e
cmp byte [esi + 0x249], 0
je 0x10162c83
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
mov dword [ebx], 0
jmp case.0x10161972.351
mov eax, dword [esi + 0x1e8]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov edi, dword [ebx]
cmp edi, dword [esi + 0x184]
jb 0x10162cc8
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
mov eax, dword [esi + 0x270]
mov ebx, dword [ebx + 4]
cmp eax, 0x10164e30
jne 0x10162cf9
push esi
call fcn.1015f040
add esp, 4
cmp dword [esi + 0xc], 0
jne case.0x10161972.351
mov eax, dword [esi + 0x188]
mov dword [eax + edi*4], ebx
jmp case.0x10161972.351
push ebx
push edi
push esi
call eax
add esp, 0xc
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x184]
jb 0x10162d30
cmp byte [esi + 0x249], 0
je 0x10162c83
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
mov eax, dword [esi + 0x26c]
cmp eax, 0x1015f1e0
jne 0x10162d4d
mov eax, dword [esi + 0x188]
mov eax, dword [eax + ecx*4]
mov dword [ebx], eax
jmp case.0x10161972.351
push ecx
push esi
call eax
add esp, 8
mov dword [ebx], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ecx, dword [ebx]
movzx eax, word [esi + 0x74]
cmp ecx, eax
jb 0x10162d85
cmp byte [esi + 0x249], 0
je 0x10162d7c
mov dword [esi + 0xc], 0x86
xor eax, eax
mov dword [ebx], eax
jmp case.0x10161972.351
test byte [esp + 0x10], 1
je 0x10162da9
mov eax, dword [esi + 0x78]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x258]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [esi + 0x7c]
push dword [eax + ecx*8 + 4]
push dword [eax + ecx*8]
mov eax, dword [esi + 0x254]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
cmp bp, word [esi + 0x74]
jb 0x10162def
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
mov eax, dword [esi + 0x7c]
mov edi, ebp
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
mov eax, dword [esi + 0x254]
push esi
call eax
mov ecx, dword [ebx + 4]
sub ecx, eax
lea eax, [esi + 0x6c]
push ecx
push ebp
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x1c
cmp word [esi + 0x160], 0
jne case.0x10161972.351
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [esi + 0x78]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
movzx ebp, word [ebx]
movzx edi, word [ebx + 4]
cmp bp, word [esi + 0x2c]
jae 0x10161fe8
cmp di, word [esi + 0x50]
jae 0x10161fe8
test al, 1
je 0x10162e97
mov eax, dword [esi + 0x58]
mov ecx, edi
lea edx, [eax + ecx*8]
mov eax, dword [esi + 0x34]
mov ecx, ebp
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 + 0x254]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
cmp word [esi + 0x15c], 0
je 0x10162fb1
cmp word [esi + 0x15e], 0
je 0x10162fb1
mov eax, dword [esi + 0x38]
mov ecx, ebp
lea ebp, [eax + ecx*8]
mov eax, dword [esi + 0x5c]
mov ecx, edi
lea edi, [eax + ecx*8]
mov eax, dword [esi + 0xe0]
cmp eax, dword [esi + 0xe4]
jne 0x10162f29
mov eax, dword [ebp + 4]
sub eax, dword [edi + 4]
push eax
mov eax, dword [ebp]
sub eax, dword [edi]
push eax
mov eax, dword [esi + 0x258]
push esi
call eax
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx], eax
jmp case.0x10161972.351
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
sub eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x44], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 4]
sub eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x40], eax
push dword [esp + 0x40]
mov eax, dword [esi + 0x258]
push dword [esp + 0x48]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [esi + 0x30]
mov ecx, ebp
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 + 0x258]
push esi
call eax
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x268]
cmp eax, 0x1015d940
jne 0x10163002
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x10161972.351
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x23
jne 0x10163049
mov eax, dword [esi + 0x268]
cmp eax, 0x1015d940
jne 0x1016303c
movzx eax, word [esi + 0x100]
mov dword [ebx], eax
jmp case.0x10161972.351
push esi
call eax
add esp, 4
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [esi + 0xd8]
mov dword [ebx], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov byte [esi + 0x140], 1
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov byte [esi + 0x140], 0
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0xc], 0x87
jmp case.0x10161972.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setl cl
mov dword [ebx], ecx
jmp case.0x10161972.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setle cl
mov dword [ebx], ecx
jmp case.0x10161972.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setg cl
mov dword [ebx], ecx
jmp case.0x10161972.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setge cl
mov dword [ebx], ecx
jmp case.0x10161972.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
sete cl
mov dword [ebx], ecx
jmp case.0x10161972.351
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, dword [ebx + 4]
setne cl
mov dword [ebx], ecx
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x1015f3a0
jne 0x1016315b
mov edx, dword [esi + 0x118]
test eax, eax
js 0x10163138
add edx, 0x10
add eax, edx
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.0x10161972.351
sub edx, eax
xor eax, eax
add edx, 0x10
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.0x10161972.351
push 3
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.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x250]
cmp ecx, 0x1015f3a0
jne 0x101631d9
mov ecx, dword [esi + 0x118]
test eax, eax
js 0x101631bb
add ecx, 0x10
add eax, ecx
mov ecx, 0
and eax, 0xffffffe0
cmovge ecx, eax
mov eax, 0
test cl, 0x7f
sete al
mov dword [ebx], eax
jmp case.0x10161972.351
sub ecx, eax
xor eax, eax
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, eax
test cl, 0x7f
sete al
mov dword [ebx], eax
jmp case.0x10161972.351
push 3
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.0x10161972.351
cmp dword [ebx], 0
mov esi, dword [esp + 0x88]
jne case.0x10161972.351
mov edi, 1
xor bl, bl
nop dword [eax]
push esi
call fcn.1015f690
add esp, 4
cmp al, 1
je case.0x10161972.351
movzx eax, byte [esi + 0x178]
sub eax, 0x1b
je 0x1016323f
sub eax, 0x3d
je 0x1016323c
sub eax, 1
jne 0x10163245
sub edi, 1
jmp 0x10163242
inc edi
jmp 0x10163245
cmp edi, 1
sete bl
test bl, bl
je 0x10163210
jmp case.0x10161972.351
cmp dword [ebx], 0
je 0x10161ff8
cmp dword [ebx + 4], 0
je 0x10161ff8
mov eax, 1
mov dword [ebx], eax
jmp case.0x10161972.351
cmp dword [ebx], 0
jne 0x10163281
cmp dword [ebx + 4], 0
jne 0x10163281
xor eax, eax
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, 1
mov dword [ebx], eax
jmp case.0x10161972.351
xor eax, eax
cmp dword [ebx], eax
sete al
mov dword [ebx], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x268]
cmp eax, 0x1015d940
jne 0x101632b8
movzx eax, word [esi + 0x100]
jmp 0x101632be
push esi
call eax
add esp, 4
mov edx, dword [ebx]
mov ebp, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
cmp edx, ebp
jb 0x101633f3
lea ecx, [esi + 0x249]
nop dword [eax + eax]
mov eax, dword [esi + 0x1c]
cmp eax, 2
jl 0x101633e0
lea ecx, [eax - 2]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
movzx ebx, word [eax + ecx*4 + 4]
mov edi, dword [eax + ecx*4]
cmp bx, word [esi + 0x2c]
jae 0x101633b6
movzx eax, byte [esi + 0x178]
mov ecx, edi
shr ecx, 4
and ecx, 0xf
sub eax, 0x71
je 0x10163325
sub eax, 1
jne 0x10163328
add ecx, 0x20
jmp 0x10163328
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp dword [esp + 0x1c], eax
jne 0x101633ae
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 0x10163398
cmp byte [esi + 0x27b], 0
je 0x10163398
cmp byte [esi + 0x27c], 0
je 0x1016337a
cmp byte [esi + 0x27d], 0
jne 0x101633aa
cmp byte [esi + 0x248], 0
je 0x1016338d
cmp word [esi + 0x130], 0
jne 0x10163398
mov eax, dword [esi + 0x3c]
mov ecx, ebx
test byte [ecx + eax], 0x10
je 0x101633aa
push edx
push ebx
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x260]
push esi
call eax
add esp, 0x10
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x249]
jmp 0x101633cc
cmp byte [esi + 0x249], 0
lea ecx, [esi + 0x249]
je 0x101633cc
mov dword [esi + 0xc], 0x86
inc ebp
cmp ebp, edx
jbe 0x101632e0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x10161972.351
cmp byte [ecx], 0
je 0x101633ec
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov ax, word [ebx]
mov word [esi + 0x150], ax
jmp case.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
cmp eax, 6
jbe 0x1016342e
mov dword [esi + 0xc], 0x84
jmp case.0x10161972.351
mov word [esi + 0x152], ax
jmp case.0x10161972.351
mov eax, dword [ebx + 4]
add dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [ebx + 4]
sub dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x88]
test eax, eax
jne 0x10163468
mov dword [esi + 0xc], 0x85
jmp case.0x10161972.351
push eax
push 0x40
push dword [ebx]
call fcn.1014b9e0
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
push 0x40
push dword [ebx + 4]
push dword [ebx]
call fcn.1014b900
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [ebx]
test eax, eax
jns case.0x10161972.351
neg eax
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [ebx]
neg eax
mov dword [ebx], eax
jmp case.0x10161972.351
and dword [ebx], 0xffffffc0
jmp case.0x10161972.351
mov eax, dword [ebx]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x88]
and eax, 3
mov ecx, dword [ebx]
push eax
push ecx
mov edx, dword [esi + 0x250]
push esi
cmp edx, fcn.1015f330
jne 0x101634f7
call fcn.1015f330
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
call edx
add esp, 0xc
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x88]
and eax, 3
mov ecx, dword [ebx]
mov eax, dword [esi + eax*4 + 0x10c]
test ecx, ecx
js 0x1016352e
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [ebx], ecx
jmp case.0x10161972.351
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg ecx, eax
mov dword [ebx], ecx
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov edi, dword [ebx]
cmp edi, dword [esi + 0x184]
jb 0x10163568
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
mov eax, dword [esi + 0x108]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 [esp + 0x48], eax
mov ecx, dword [esi + 0x188]
mov eax, dword [esp + 0x48]
mov dword [ecx + edi*4], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
push ebx
push esi
call fcn.1015dc70
add esp, 8
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0x268]
cmp eax, 0x1015d940
jne 0x101635e8
movzx edi, word [esi + 0x100]
mov dword [esp + 0x1c], edi
jmp 0x101635f4
push esi
call eax
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, eax
mov ecx, dword [ebx]
mov ebp, 1
mov dword [esp + 0x18], ecx
cmp ecx, ebp
jb 0x101633f3
nop word [eax + eax]
mov ecx, dword [esi + 0x1c]
cmp ecx, 2
jl 0x101636d1
mov eax, dword [esi + 0x18]
add ecx, 0xfffffffe
mov dword [esi + 0x1c], ecx
mov ebx, dword [eax + ecx*4 + 4]
mov edx, dword [eax + ecx*4]
cmp ebx, dword [esi + 0x184]
jb 0x10163643
cmp byte [esi + 0x249], 0
jne 0x10161be5
jmp 0x101636bd
movzx eax, byte [esi + 0x178]
mov ecx, edx
shr ecx, 4
and ecx, 0xf
sub eax, 0x74
je 0x10163661
sub eax, 1
jne 0x10163664
add ecx, 0x20
jmp 0x10163664
add ecx, 0x10
movzx eax, word [esi + 0x150]
add eax, ecx
cmp edi, eax
jne 0x101636bd
movzx eax, word [esi + 0x152]
and edx, 0xf
mov ecx, 6
sub ecx, eax
mov eax, dword [esi + 0x274]
cmp edx, 8
sbb edi, edi
add edi, 0xfffffff9
add edi, edx
shl edi, cl
cmp eax, 0x1015f0c0
jne 0x101636b5
push esi
call fcn.1015f040
add esp, 4
cmp dword [esi + 0xc], 0
jne 0x101636bd
mov eax, dword [esi + 0x188]
add dword [eax + ebx*4], edi
jmp 0x101636bd
push edi
push ebx
push esi
call eax
add esp, 0xc
inc ebp
cmp ebp, dword [esp + 0x18]
ja 0x101633f3
mov edi, dword [esp + 0x1c]
jmp 0x10163610
cmp byte [esi + 0x249], 0
je 0x101633ec
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x20], eax
jmp case.0x10161972.351
push dword [ebx]
mov esi, dword [esp + 0x8c]
push 0x4000
push esi
call fcn.1015f4a0
add esp, 0xc
mov dword [esi + 0x13c], 6
mov dword [esi + 0x250], 0x1015f2d0
jmp case.0x10161972.351
push dword [ebx]
mov esi, dword [esp + 0x8c]
push 0x2d41
push esi
call fcn.1015f4a0
add esp, 0xc
mov dword [esi + 0x13c], 7
mov dword [esi + 0x250], fcn.1015f330
jmp case.0x10161972.351
cmp dword [ebx + 4], 0
mov esi, dword [esp + 0x88]
je case.0x10161972.351
mov edi, dword [ebx]
test edi, edi
jne 0x10163786
test ecx, ecx
jne 0x1016377e
mov dword [esi + 0xc], 0x84
jmp case.0x10161972.351
lea edx, [esi + 0x180]
jmp 0x1016378a
mov edx, dword [esp + 0x18]
add edi, dword [esi + 0x170]
mov dword [esi + 0x170], edi
js 0x10161de2
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
jle 0x10161ef1
jmp 0x10161edc
cmp dword [ebx + 4], 0
mov esi, dword [esp + 0x88]
jne case.0x10161972.351
jmp 0x10163768
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 5
mov dword [esi + 0x250], fcn.1015f2a0
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 4
mov dword [esi + 0x250], 0x1015f460
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov dword [esi + 0x13c], 3
mov dword [esi + 0x250], 0x1015f260
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x10163851
cmp byte [esi + 0x27b], 0
je 0x10163851
cmp byte [esi + 0x27c], 0
je 0x10163851
cmp byte [esi + 0x27d], 0
mov eax, ecx
jne 0x101638c7
mov edi, dword [esi + 0x134]
mov eax, ecx
cmp dword [esi + 0x10], edi
jge 0x10163880
cmp byte [esi + 0x249], 0
je 0x101638c7
mov dword [esi + 0xc], 0x81
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x10161972.351
test edi, edi
jle 0x101638c7
lea eax, [ecx - 1]
mov dword [esi + 0x1c], eax
movzx ecx, word [edx + eax*4]
cmp cx, word [esi + 0x98]
jb 0x101638a6
cmp byte [esi + 0x249], 0
jne 0x10161be5
jmp 0x101638b6
mov eax, dword [esi + 0xa8]
xor byte [eax + ecx], 1
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
dec dword [esi + 0x134]
mov ecx, eax
cmp dword [esi + 0x134], 0
jg 0x10163884
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1016390a
cmp byte [esi + 0x27b], 0
je 0x1016390a
cmp byte [esi + 0x27c], 0
je 0x1016390a
cmp byte [esi + 0x27d], 0
jne case.0x10161972.351
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x10161bd8
cmp ax, cx
jae 0x10161bd8
mov edx, eax
cmp ax, di
ja case.0x10161972.351
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
or byte [ecx + eax], 1
cmp dx, di
jbe 0x10163935
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x1016397e
cmp byte [esi + 0x27b], 0
je 0x1016397e
cmp byte [esi + 0x27c], 0
je 0x1016397e
cmp byte [esi + 0x27d], 0
jne case.0x10161972.351
movzx edi, word [ebx + 4]
movzx ecx, word [esi + 0x98]
movzx eax, word [ebx]
cmp di, cx
jae 0x10161bd8
cmp ax, cx
jae 0x10161bd8
mov edx, eax
cmp ax, di
ja case.0x10161972.351
nop dword [eax]
mov eax, dword [esi + 0xa8]
movzx ecx, dx
inc edx
and byte [ecx + eax], 0xfe
cmp dx, di
jbe 0x101639b0
jmp case.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
movzx ecx, al
cmp ecx, 0xff
jne 0x101639e8
mov byte [esi + 0x155], 1
jmp case.0x10161972.351
test al, al
je 0x10163a84
test eax, 0x100
je 0x10163a09
movzx eax, word [esi + 0x100]
cmp eax, ecx
ja 0x10163a09
mov byte [esi + 0x155], 1
test dword [ebx], 0x200
je 0x10163a21
cmp byte [esi + 0x11d], 0
je 0x10163a21
mov byte [esi + 0x155], 1
test dword [ebx], 0x400
je 0x10163a39
cmp byte [esi + 0x11e], 0
je 0x10163a39
mov byte [esi + 0x155], 1
test dword [ebx], 0x800
je 0x10163a53
movzx eax, word [esi + 0x100]
cmp eax, ecx
jbe 0x10163a53
mov byte [esi + 0x155], 0
test dword [ebx], 0x1000
je 0x10163a6b
cmp byte [esi + 0x11d], 0
je 0x10163a6b
mov byte [esi + 0x155], 0
test dword [ebx], 0x2000
je case.0x10161972.351
cmp byte [esi + 0x11e], 0
je case.0x10161972.351
mov byte [esi + 0x155], 0
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
movzx ecx, word [ebx]
movzx eax, word [ebx + 4]
cmp cx, word [esi + 0x50]
jae 0x10161bd8
cmp ax, word [esi + 0x74]
jae 0x10161bd8
mov edi, ecx
mov ebp, eax
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x78]
mov edx, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
sub edx, dword [eax + ebp*8]
sub ecx, dword [eax + ebp*8 + 4]
test edx, edx
jne 0x10163adb
test ecx, ecx
jne 0x10163adb
mov edx, 0x4000
xor bl, bl
jmp 0x10163adf
mov bl, byte [esp + 0x10]
test bl, 1
je 0x10163aec
mov eax, ecx
mov ecx, edx
mov edx, eax
neg edx
lea eax, [esi + 0x126]
push eax
push ecx
push edx
call fcn.1015f130
mov ecx, dword [esi + 0x58]
add esp, 0xc
mov eax, dword [esi + 0x7c]
mov edx, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
sub edx, dword [eax + ebp*8]
sub ecx, dword [eax + ebp*8 + 4]
test edx, edx
jne 0x10163b20
test ecx, ecx
jne 0x10163b20
mov edx, 0x4000
xor bl, bl
test bl, 1
je 0x10163b2d
mov eax, ecx
mov ecx, edx
mov edx, eax
neg edx
lea eax, [esi + 0x12a]
push eax
push ecx
push edx
call fcn.1015f130
push esi
call fcn.1015d730
add esp, 0x10
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
xor edx, edx
mov ecx, dword [ebx]
mov edi, dword [esi]
test cl, 1
je 0x10163b61
mov eax, dword [edi + 0x60]
mov edx, dword [eax + 0x40]
test cl, 2
je 0x10163b75
cmp byte [esi + 0x11d], 0
je 0x10163b75
or edx, 0x100
test cl, 4
je 0x10163b89
cmp byte [esi + 0x11e], 0
je 0x10163b89
or edx, 0x200
test cl, 8
je 0x10163b9f
mov edi, dword [esi]
cmp dword [edi + 0x2e4], 0
je 0x10163b9f
or edx, 0x400
test cl, 0x20
je 0x10163bb3
cmp byte [esi + 0x278], 0
je 0x10163bb3
or edx, 0x1000
mov eax, dword [edi + 0x60]
cmp dword [eax + 0x40], 0x28
jne 0x10163c23
cmp byte [esi + 0x279], 0
je 0x10163c23
test cl, 0x40
je 0x10163bd0
or edx, 0x2000
test ecx, 0x100
je 0x10163be7
cmp byte [esi + 0x27a], 0
je 0x10163be7
or edx, 0x8000
mov eax, ecx
mov ecx, edx
or ecx, 0x20000
test eax, 0x400
cmove ecx, edx
mov ebp, ecx
or ebp, 0x40000
test dword [ebx], 0x800
cmove ebp, ecx
test dword [ebx], 0x1000
mov edx, ebp
je 0x10163c23
cmp byte [esi + 0x27e], 0
je 0x10163c23
or edx, 0x80000
mov dword [ebx], edx
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
cmp dword [esi + 0x164], 3
jne 0x10163c46
mov dword [esi + 0xc], 0x9c
jmp case.0x10161972.351
mov edi, dword [esi + 0x1b0]
test edi, edi
je 0x10163c72
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
cmp edi, eax
jae 0x10163c70
mov ecx, dword [ebx]
cmp dword [edi + 0xc], ecx
je 0x10163c6e
add edi, 0x14
cmp edi, eax
jb 0x10163c62
cmp edi, eax
jne 0x10163c8b
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1ac]
jae 0x10163d14
inc eax
mov dword [esi + 0x1a8], eax
mov eax, dword [ebx]
cmp eax, 0xff
ja 0x10163d14
movzx eax, al
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x170]
inc eax
mov dword [edi + 4], eax
mov eax, dword [esi + 0x168]
mov dword [edi], eax
mov byte [edi + 0x10], 1
mov eax, dword [ebx]
cmp eax, dword [esi + 0x1b8]
jbe 0x10163cc7
movzx eax, al
mov dword [esi + 0x1b8], eax
push esi
call fcn.1015f690
add esp, 4
test al, al
jne case.0x10161972.351
nop dword [eax + eax]
movzx eax, byte [esi + 0x178]
sub eax, 0x2c
je 0x101623ca
sub eax, 1
je 0x101623bc
sub eax, 0x5c
je 0x101623ca
push esi
call fcn.1015f690
add esp, 4
test al, al
je 0x10163ce0
jmp case.0x10161972.351
mov dword [esi + 0xc], 0x8d
jmp case.0x10161972.351
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.0x10161972.351
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jle case.0x10161972.351
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [ebx + 4]
cmp eax, dword [ebx]
jge case.0x10161972.351
mov dword [ebx], eax
jmp case.0x10161972.351
mov eax, dword [ebx]
mov esi, dword [esp + 0x88]
test eax, eax
js case.0x10161972.351
movzx eax, ax
mov dword [esi + 0x158], eax
jmp case.0x10161972.351
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
mov esi, dword [esp + 0x88]
lea eax, [edi - 1]
cmp eax, 2
ja 0x10161bd8
lea ecx, [edi - 1]
mov eax, 1
shl eax, cl
test edx, edx
je 0x10163dbb
cmp edx, eax
je 0x10163dbb
cmp byte [esi + 0x249], 0
je case.0x10161972.351
mov dword [esi + 0xc], 0x86
jmp case.0x10161972.351
mov ecx, dword [esi + 0x164]
cmp ecx, 2
jne 0x10163ddb
not al
and al, byte [esi + 0x154]
or al, dl
mov byte [esi + 0x154], al
jmp case.0x10161972.351
cmp ecx, 3
jne 0x10161bd8
cmp edi, ecx
jne 0x10161bd8
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
cmp dword [eax + 0x40], 0x28
jne case.0x10161972.351
cmp edx, 4
setne al
mov byte [esi + 0x27b], al
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
cmp dword [eax + 0x2e4], 0
je 0x10163f58
push ebx
push esi
call fcn.1015ddd0
add esp, 8
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
cmp dword [eax + 0x2e4], 0
je 0x10163f58
mov dword [ebx], 0x11
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
cmp al, 0xe0
jb 0x10163e6c
push ebx
push esi
call fcn.1015e980
add esp, 8
jmp case.0x10161972.351
cmp al, 0xc0
jb 0x10163e7f
push ebx
push esi
call fcn.1015e710
add esp, 8
jmp case.0x10161972.351
cmp al, 0xb8
jb 0x10163f01
sub edi, dword [esi + 0x10]
mov ecx, 0xb7
movzx eax, al
inc edi
sub ax, cx
movzx eax, ax
mov ebp, eax
cmp ebp, edi
jb 0x10163eab
mov dword [esi + 0xc], 0x82
jmp case.0x10161972.351
inc dword [esi + 0x170]
xor ecx, ecx
cmp cx, ax
jae 0x10163ef8
nop dword [eax + eax]
add dword [esi + 0x170], 2
lea ebx, [ebx + 4]
mov edx, dword [esi + 0x170]
mov eax, 0x100
add edx, dword [esi + 0x16c]
cwde
movzx ecx, byte [edx - 2]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx - 1]
add cx, ax
movsx eax, cx
mov dword [ebx - 4], eax
sub ebp, 1
jne 0x10163ec0
mov byte [esi + 0x180], 0
jmp case.0x10161972.351
cmp al, 0xb0
jb case.0x10161972.344
sub edi, dword [esi + 0x10]
mov ecx, 0xaf
movzx eax, al
inc edi
sub ax, cx
movzx ebp, ax
cmp ebp, edi
jb 0x10163f24
mov dword [esi + 0xc], 0x82
jmp case.0x10161972.351
mov edi, 1
mov eax, edi
cmp ax, bp
ja case.0x10161972.351
mov ecx, dword [esi + 0x16c]
mov eax, dword [esi + 0x170]
movzx edx, di
inc edi
add ecx, edx
movzx eax, byte [ecx + eax]
mov dword [ebx + edx*4 - 4], eax
cmp di, bp
jbe 0x10163f30
jmp case.0x10161972.351
mov esi, dword [esp + 0x88]
push esi
call fcn.1015efa0
add esp, 4
mov esi, dword [esp + 0x88]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10164005
cmp eax, 0x80
jne 0x101640c4
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x10163f96
mov eax, dword [esi + 0x1a8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
jmp 0x10163f98
xor edx, edx
cmp ecx, edx
jae 0x10164074
cmp byte [ecx + 0x10], 0
je 0x10163fb1
mov al, byte [esi + 0x178]
cmp al, byte [ecx + 0xc]
je 0x10163fb6
add ecx, 0x14
jmp 0x10163f98
mov edx, dword [esi + 0x1bc]
cmp edx, dword [esi + 0x1c0]
jge 0x10164062
mov eax, dword [esi + 0x168]
shl edx, 4
add edx, dword [esi + 0x1c4]
mov dword [edx], eax
mov eax, dword [esi + 0x170]
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.1015df20
add esp, 0xc
cmp al, 1
je 0x101640c4
jmp 0x10164030
cmp byte [esi + 0x180], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
je 0x10164020
mov eax, dword [esi + 0x17c]
add dword [esi + 0x170], eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 0xf4240
ja 0x10164099
mov eax, dword [esi + 0x170]
cmp eax, dword [esi + 0x174]
jge 0x10164086
cmp byte [esi + 0x200], 0
jne 0x1016408f
mov ebp, dword [esp + 0x4c]
jmp 0x10161840
pop edi
mov dword [esi + 0xc], 0x81
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
mov dword [esi + 0xc], 0x86
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
mov dword [esi + 0xc], 0x80
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
cmp dword [esi + 0x1bc], 0
jg 0x101640bd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret
pop edi
mov dword [esi + 0xc], 0x8b
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
pop edi
mov dword [esi + 0xc], 0x82
mov eax, dword [esi + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov dword [esi + 0xc], 0x83
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret