Function at 0x10018830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
cmp dword [ecx], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x44], ecx
je 0x10018855
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x18dc]
lea edi, [ebx + 0x1858]
mov dword [ecx + 0x44], eax
xor esi, esi
mov eax, dword [ebx + 0x1850]
mov dword [ecx + 0x48], eax
test edi, edi
je 0x10018887
cmp byte [edi], 0
je 0x10018887
cmp esi, 0xfff
jae 0x10018887
inc esi
cmp byte [esi + edi], 0
jne 0x10018878
xor ecx, ecx
lea eax, [esi + 1]
mov dword [ebp - 0x74], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov edx, eax
add esp, 4
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x78], edx
test edx, edx
jne 0x100188bd
mov dword [ebp - 0x74], eax
jmp 0x10018985
xor ecx, ecx
test esi, esi
je 0x10018978
cmp esi, 0x20
jb 0x10018962
lea eax, [edi - 1]
lea edx, [edx + esi*2]
add eax, esi
add edx, 0xfffffffe
cmp dword [ebp - 0x8c], eax
ja 0x100188e7
cmp edx, edi
jae 0x1001895c
mov edx, dword [ebp - 0x8c]
lea eax, [edi + 0x10]
mov ebx, esi
and ebx, 0xffffffe0
add edx, 0x20
nop dword [eax + eax]
movq xmm0, qword [eax - 0x10]
lea edx, [edx + 0x40]
punpcklbw xmm0, xmm0
lea eax, [eax + 0x20]
psraw xmm0, 8
add ecx, 0x20
movups xmmword [edx - 0x60], xmm0
movq xmm0, qword [eax - 0x28]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [edx - 0x50], xmm0
movq xmm0, qword [eax - 0x20]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [edx - 0x40], xmm0
movq xmm0, qword [eax - 0x18]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [edx - 0x30], xmm0
cmp ecx, ebx
jb 0x10018900
mov dword [ebp - 0x40], ecx
cmp ecx, esi
jae 0x10018972
mov edx, dword [ebp - 0x8c]
movsx ax, byte [ecx + edi]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x10018962
jmp 0x10018978
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x74]
xor ecx, ecx
mov ebx, dword [ebp + 8]
mov word [edx + eax*2 - 2], cx
mov edi, dword [ebp - 0x44]
lea eax, [edi + 0x4c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1001a5c0
test eax, eax
je 0x100189a8
cmp eax, 1
je 0x100189a8
mov esi, 0x10
jmp 0x1001a0b4
mov esi, dword [ebx + 0x18e0]
mov ecx, dword [ebx + 0x2b28]
cmp ecx, 0xffffffff
mov eax, dword [ebp - 0xa8]
cmovne eax, ecx
mov dword [ebp - 0x98], esi
lea ebx, [esi + 1]
mov edx, ebx
cmovne edx, eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2b10]
cmp ecx, 0xffffffff
mov edx, ebx
cmovne eax, ecx
cmovne edx, eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x80], edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2b14]
cmp ecx, 0xffffffff
cmovne eax, ecx
cmovne ebx, eax
test dword [edx + 0x2b44], 0x400
mov dword [ebp - 0x94], ebx
je 0x10018a1c
mov byte [edi + 0x62], 1
xor ebx, ebx
lea eax, [edi + 0x2c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x90], eax
test esi, esi
je 0x100194db
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], esi
nop dword [eax]
imul edi, ebx, 0x428
mov dword [ebp - 0x34], edi
cmp dword [edx + 0x18e0], ebx
ja 0x10018a77
xor ebx, ebx
xor ecx, ecx
jmp 0x10018aa9
mov eax, dword [edx + 0x1a64]
mov dword [ebp - 0x34], edi
mov eax, dword [eax + edi + 0x18]
mov ebx, eax
test eax, eax
jne 0x10018a8e
xor ecx, ecx
jmp 0x10018aa9
xor ecx, ecx
mov ebx, eax
cmp word [eax], cx
je 0x10018aa9
cmp ecx, 0xfff
jae 0x10018aa9
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x10018a97
lea eax, [ecx + 1]
mov edx, 2
xor ecx, ecx
mov dword [ebp - 0x84], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x88], ecx
test ecx, ecx
jne 0x10018ae4
xor ebx, ebx
mov dword [ebp - 0x84], ebx
jmp 0x10018b0c
mov eax, dword [ebp - 0x84]
lea eax, [eax*2 - 2]
push eax
push ebx
push ecx
call fcn.10425d60
mov ebx, dword [ebp - 0x84]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov word [ecx + ebx*2 - 2], ax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
cmp dword [edx + 0x18e0], eax
ja 0x10018b1e
xor eax, eax
jmp 0x10018b2b
mov eax, dword [edx + 0x1a64]
mov eax, dword [edi + eax + 0x420]
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x38], eax
shr eax, 1
and eax, 0xffffff01
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x88]
push eax
call fcn.10015760
test eax, eax
je 0x10018b77
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx]
test ecx, ecx
je 0x10018b77
mov edx, dword [eax]
nop dword [eax]
cmp edx, dword [ecx + 4]
je 0x10018c0e
jae 0x10018b70
mov ecx, dword [ecx + 0x10]
jmp 0x10018b73
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10018b60
test ebx, ebx
je 0x100194ce
mov ecx, dword [ebp - 0x2c]
cmp word [ecx], 0
je 0x100194ce
xor eax, eax
test ebx, ebx
je 0x10018ba2
cmp word [ecx + eax*2], 0x2c
je 0x1001949a
inc eax
cmp eax, ebx
jb 0x10018b92
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x88]
push eax
call fcn.10015760
test eax, eax
jne 0x100194c1
xor edx, edx
mov ebx, 0x32f54a96
cmp dword [ebp - 0x84], edx
je 0x10018bf6
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x2c]
movzx eax, word [edi + edx*2]
inc edx
imul ecx, eax, 0xc5
imul eax, ebx, 0x34c3
shr ebx, 2
add ecx, eax
xor ebx, ecx
cmp edx, esi
jb 0x10018bd4
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x10], ebx
mov eax, dword [edx]
test eax, eax
je 0x10018c44
cmp ebx, dword [eax + 4]
je 0x10018c29
jae 0x10018c20
mov eax, dword [eax + 0x10]
jmp 0x10018c23
test ecx, ecx
je 0x10018b77
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
jmp 0x10018e2e
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10018c02
jmp 0x10018c44
mov edx, dword [edx]
inc ebx
mov eax, edx
mov dword [ebp - 0x10], ebx
cmp ebx, dword [eax + 4]
je 0x10018c2b
jae 0x10018c3d
mov eax, dword [eax + 0x10]
jmp 0x10018c40
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10018c31
push 0x10
push 0x48
call fcn.10434a32
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100194b4
lea ecx, [eax + 0x14]
mov dword [eax], 0
lea edx, [eax + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x1c], 5
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0x3f400000
mov dword [eax + 0x28], 0x3e000000
mov eax, ecx
or eax, 1
mov dword [edx], eax
or edx, 2
mov dword [ecx], edx
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0xc]
lea eax, [edx + 0x2c]
mov dword [eax], 0
mov dword [eax + 4], 0
cmp eax, ecx
je 0x10018d06
mov eax, dword [ebp - 0x84]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov edx, dword [ebp - 0xc]
add esp, 4
mov dword [edx + 0x2c], eax
test eax, eax
je 0x10018d06
mov ecx, dword [ebp - 0x84]
mov dword [edx + 0x30], ecx
add ecx, ecx
push ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.10425d60
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x45], al
lea eax, [ebp - 0x88]
mov dword [edx + 0x38], ebx
mov ebx, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x10]
mov dword [edx + 0x40], 0x10000
push eax
lea ecx, [ebx + 0x2c]
mov dword [edx + 0x34], ebx
mov byte [edx + 0x46], 0
mov byte [edx + 0x44], 0
mov dword [edx + 0x3c], 0
call fcn.10015890
mov ebx, dword [ebx]
push 0x10
push 0x18
mov dword [ebp - 0x34], 0
call fcn.10434a32
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x10018dee
mov eax, dword [ebp - 0xc]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
test ebx, ebx
je 0x10018da6
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
cmp edx, dword [ebx + 4]
je 0x10018dc1
mov dword [ebp - 0x34], ebx
jae 0x10018d9f
mov ebx, dword [ebx + 0x10]
jmp 0x10018da2
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x10018d90
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0xc], eax
mov byte [ecx + 8], 1
test eax, eax
je 0x10018dd6
cmp edx, dword [eax + 4]
mov edx, dword [ebp - 0x44]
jae 0x10018dd1
mov dword [eax + 0x10], ecx
jmp 0x10018ddb
push 0x18
push ecx
call fcn.1045088a
mov edx, dword [ebp - 0xc]
add esp, 8
jmp 0x10018df4
mov dword [eax + 0x14], ecx
jmp 0x10018ddb
mov edx, dword [ebp - 0x44]
mov dword [edx], ecx
push ecx
mov ecx, edx
call fcn.10017210
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc]
inc dword [eax + 4]
jmp 0x10018df4
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x45], al
mov eax, ecx
shr eax, 4
and al, 1
mov byte [edx + 0x40], al
mov eax, ecx
shr eax, 5
and al, 1
mov byte [edx + 0x41], al
mov eax, ecx
shr eax, 8
and al, 1
mov byte [edx + 0x43], al
mov eax, ecx
shr eax, 9
and al, 1
shr ecx, 2
and cl, 1
mov byte [edx + 0x42], al
mov byte [edx + 0x44], cl
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x28]
cmp dword [ecx + 0x18e0], ebx
jbe 0x10018e49
mov eax, dword [ecx + 0x1a64]
mov eax, dword [edi + eax + 8]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x48], eax
jbe 0x1001942f
nop word [eax + eax]
mov edx, esi
mov dword [ebp - 0x10], edx
cmp dword [ecx + 0x18e0], ebx
jbe 0x10018eb4
mov ebx, dword [ecx + 0x1a64]
cmp eax, dword [edi + ebx + 8]
jae 0x10018eb4
lea ecx, [eax + eax*2]
mov eax, dword [edi + ebx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], esi
lea ecx, [eax + eax*2]
mov eax, dword [edi + ebx + 0xc]
mov ebx, dword [eax + ecx*8 + 0xc]
lea eax, [eax + ecx*8]
add eax, 8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], eax
cmp ebx, 4
je 0x10018eb7
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
jmp 0x10018eb7
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, eax
test ecx, ecx
je 0x10018edb
mov dword [ebp - 0x30], edi
cmp esi, dword [ecx + 4]
je 0x10018f38
jae 0x10018ed1
mov ecx, dword [ecx + 0x10]
jmp 0x10018ed4
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10018ec2
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov ebx, edi
and ecx, 0x7000
je 0x1001925e
cmp ecx, 0x1000
je 0x10019125
mov esi, edx
mov dword [ebp - 8], esi
cmp ecx, 0x2000
jne 0x100193a4
test byte [ebp - 0x20], 2
mov ecx, dword [ebp - 0x18]
je 0x1001904a
push 0
push 0
push 0
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.100123d0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], esi
jmp 0x100193a4
test ecx, ecx
je 0x10018ed8
mov eax, dword [ebp - 0x20]
mov ebx, dword [ecx]
test al, 2
je 0x10018fb5
test eax, 0x10000
je 0x10018f58
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x4c], eax
jne 0x10018f58
mov byte [ebx + 0xc], 1
cmp byte [ebx + 8], 0
jne 0x10018fa8
mov ecx, dword [ebx + 0x14]
push dword [ebp - 0x24]
mov byte [ebx + 8], 1
push dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
je 0x10018f7f
cmp esi, 1
jne 0x100194d3
cmp byte [ebx + 8], 0
je 0x10018fa8
cmp byte [ebx + 9], 0
je 0x10018fa8
mov ecx, dword [ebx + 0x14]
push dword [ebx + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x10018fa8
mov ecx, dword [ebx + 0x14]
mov byte [ebx + 8], 0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, dword [ebp - 0x30]
mov esi, ebx
mov dword [ebp - 8], esi
jmp 0x10019419
cmp byte [ebx + 9], 0
mov esi, ebx
mov edi, dword [ebp - 0x30]
mov dword [ebp - 8], esi
jne 0x10019419
mov ecx, dword [ebx + 0x18]
push dword [ebp - 0x24]
mov byte [ebx + 9], 1
push dword [ebp - 0x1c]
mov byte [ebx + 0xb], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
je 0x10018fec
cmp esi, 1
jne 0x100194d3
cmp byte [ebx + 8], 0
je 0x10019015
cmp byte [ebx + 9], 0
je 0x10019015
mov ecx, dword [ebx + 0x14]
push dword [ebx + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x10019015
mov ecx, dword [ebx + 0x14]
mov byte [ebx + 8], 0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x20]
mov esi, ebx
mov eax, dword [ebp - 0x30]
mov edi, eax
mov dword [ebp - 8], esi
test cl, 4
je 0x10019038
cmp byte [ebx + 9], 0
je 0x100194a7
mov byte [ebx + 0xb], 1
mov dword [ebp - 8], ebx
test cl, 0x10
je 0x10019419
mov byte [esi + 0xd], 1
jmp 0x10019419
mov dword [ebp - 0x40], ecx
mov esi, edx
mov ecx, dword [ebp - 0xc]
mov edi, ebx
mov byte [ebp - 0x11], 0
mov dword [ebp - 8], esi
cmp dword [ecx + 4], 0xfffff
jae 0x100193a4
mov dword [ebp - 8], esi
test eax, eax
je 0x10019092
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], esi
cmp edx, dword [eax + 4]
je 0x10019119
jae 0x10019085
mov eax, dword [eax + 0x10]
jmp 0x10019088
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], esi
test eax, eax
jne 0x10019075
mov dword [ebp - 8], esi
push 0x10
push 0x34
call fcn.10434a32
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1001939d
mov eax, dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0x10], eax
lea eax, [ebx + 0x28]
mov dword [ecx], 0x11225bd4
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebx + 4], 2
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x11225ad8
mov dword [eax], 0x11225bd4
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 8], esi
push dword [ebp - 0x24]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call dword [eax + 0x20]
jmp 0x1001934f
test eax, eax
je 0x10019092
mov ebx, dword [eax]
jmp 0x10019104
test byte [ebp - 0x20], 2
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [ebp - 0x34], ecx
je 0x10019150
push 0
push 0
push 1
push ecx
mov ecx, dword [ebp - 0xc]
push esi
call fcn.10012280
mov esi, dword [ebp - 0x10]
mov edi, ebx
mov dword [ebp - 8], esi
jmp 0x100193a4
mov ecx, dword [ebp - 0xc]
mov edi, ebx
mov dword [ebp - 0x7c], esi
mov esi, edx
mov dword [ebp - 8], esi
cmp dword [ecx + 4], 0xfffff
jae 0x100193a4
mov dword [ebp - 8], esi
test eax, eax
je 0x100191a6
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 8], esi
cmp ebx, dword [eax + 4]
je 0x10019192
jae 0x10019183
mov eax, dword [eax + 0x10]
jmp 0x10019186
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], esi
test eax, eax
jne 0x10019177
mov dword [ebp - 8], esi
jmp 0x100191a9
test eax, eax
je 0x100191a9
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x34]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x100193a4
mov ebx, dword [ebp - 0x18]
push 0x10
push 0x34
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], esi
call fcn.10434a32
mov edx, eax
add esp, 8
test edx, edx
je 0x10019252
lea eax, [edx + 0x28]
mov dword [edx + 0x10], ebx
mov ebx, dword [ebp - 0x34]
lea ecx, [edx + 0x1c]
mov dword [eax + 8], ebx
mov ebx, edi
mov dword [eax + 4], 4
mov dword [eax], 0x11225a6c
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x38]
mov dword [ecx + 4], 4
mov dword [ecx], 0x11225a6c
mov dword [ecx + 8], 0
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0xc]
push eax
mov dword [edx + 4], 0
mov dword [edx + 8], 0x100
mov dword [edx + 0xc], 0
mov dword [edx], 0x11225b10
mov dword [ebp - 0x38], edx
mov dword [ebp - 8], esi
call fcn.10016260
test al, al
jne 0x100193a4
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 8], esi
test ecx, ecx
je 0x100193a4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 8], esi
jmp 0x100193a4
mov dword [ebp - 0x38], 0
jmp 0x100193a4
test byte [ebp - 0x20], 2
mov ecx, dword [ebp - 0xc]
je 0x10019288
push 0
push 0
push 0
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push esi
call fcn.10012550
mov esi, dword [ebp - 0x10]
mov edi, ebx
mov dword [ebp - 8], esi
jmp 0x100193a4
cmp dword [ecx + 4], 0xfffff
mov edi, ebx
mov dword [ebp - 0x40], esi
mov esi, edx
mov byte [ebp - 0x11], 0
mov dword [ebp - 8], esi
jae 0x100193a4
mov dword [ebp - 8], esi
test eax, eax
je 0x100192cd
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], esi
cmp edx, dword [eax + 4]
je 0x10019368
jae 0x100192c0
mov eax, dword [eax + 0x10]
jmp 0x100192c3
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], esi
test eax, eax
jne 0x100192b0
mov dword [ebp - 8], esi
push 0x10
push 0x34
call fcn.10434a32
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1001939d
mov eax, dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0x10], eax
lea eax, [ebx + 0x28]
mov dword [ecx], 0x11225a38
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebx + 4], 3
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x11225b9c
mov dword [eax], 0x11225a38
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 8], esi
push dword [ebp - 0x24]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call dword [eax + 0x28]
test eax, eax
je 0x10019374
cmp eax, 1
je 0x10019374
cmp byte [ebp - 0x11], 0
je 0x100193a4
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
jmp 0x100193a4
test eax, eax
je 0x100192cd
mov ebx, dword [eax]
jmp 0x1001933f
cmp byte [ebp - 0x11], 0
je 0x100193a4
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10016260
test al, al
jne 0x100193a4
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100193a4
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100193a4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
test eax, eax
je 0x100193d1
mov edx, dword [ebp - 0x18]
cmp edx, dword [eax + 4]
je 0x100193c8
jae 0x100193bc
mov eax, dword [eax + 0x10]
jmp 0x100193bf
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], esi
test eax, eax
jne 0x100193b0
jmp 0x100193ce
test eax, eax
je 0x100193d1
mov esi, dword [eax]
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x20]
test cl, 1
je 0x100193dd
mov byte [esi + 0xa], 1
test cl, 0x10
je 0x100193ec
cmp byte [esi + 9], 0
je 0x100193ec
mov byte [esi + 0xd], 1
mov eax, ecx
and eax, 0x10002
cmp eax, 0x10002
jne 0x10019406
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x4c], eax
jne 0x10019406
mov byte [esi + 0xc], 1
test cl, 4
je 0x10019419
cmp byte [esi + 9], 0
je 0x100194a7
mov byte [esi + 0xb], 1
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x28]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x48]
jb 0x10018e60
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
cmp dword [edi + 0x34], 0
jne 0x10019443
cmp ebx, dword [ebp - 0x4c]
jne 0x10019443
mov dword [edi + 0x34], eax
cmp dword [edi + 0x38], 0
jne 0x10019451
cmp ebx, dword [ebp - 0x80]
jne 0x10019451
mov dword [edi + 0x38], eax
cmp dword [edi + 0x3c], 0
jne 0x10019462
cmp ebx, dword [ebp - 0x94]
jne 0x10019462
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10019472
push eax
call fcn.10450877
add esp, 4
inc ebx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ebp - 0x98]
jae 0x100194db
mov edx, dword [ebp + 8]
jmp 0x10018a60
mov eax, dword [ebp - 0x2c]
mov esi, 0x11
jmp 0x1001a0a3
mov eax, dword [ebp - 0x2c]
mov esi, 2
jmp 0x1001a0a3
mov eax, dword [ebp - 0x2c]
mov esi, 6
jmp 0x1001a0a3
mov eax, dword [ebp - 0x2c]
mov esi, 8
jmp 0x1001a0a3
mov esi, 9
mov eax, dword [ebp - 0x2c]
jmp 0x1001a0a3
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x80], eax
mov ecx, dword [esi + 0x1a90]
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10019aad
xor edx, edx
mov dword [ebp - 0x7c], edx
nop dword [eax]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
cmp eax, dword [esi + 0x1a90]
jae 0x10019584
mov ecx, dword [esi + 0x1a94]
mov esi, dword [ecx + edx + 0x18]
add ecx, edx
mov dword [ebp - 0x10], esi
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x2c], edx
and dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x30]
shr edx, 1
mov dword [ebp - 0x24], eax
and edx, 1
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], edx
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
imul ecx, eax, 0x428
mov eax, dword [edx + 0x1a64]
mov eax, dword [eax + ecx + 0x18]
mov dword [ebp - 0x98], eax
jmp 0x10019587
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x100195e8
xor eax, eax
mov ecx, esi
cmp word [esi], ax
je 0x100195a4
cmp eax, 0xfff
jae 0x100195a4
add ecx, 2
inc eax
cmp word [ecx], bx
jne 0x10019594
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x100195cf
xor edi, edi
jmp 0x100195e8
lea eax, [edi*2 - 2]
push eax
push esi
push ebx
call fcn.10425d60
add esp, 0xc
xor eax, eax
mov word [ebx + edi*2 - 2], ax
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x10019656
xor eax, eax
mov ecx, edx
cmp word [edx], ax
je 0x10019609
cmp eax, 0xfff
jae 0x10019609
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x100195f8
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x64], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ecx, eax
add esp, 4
mov dword [ebp - 0x68], ecx
test ecx, ecx
jne 0x10019638
mov dword [ebp - 0x64], eax
jmp 0x10019656
lea eax, [esi*2 - 2]
push eax
push dword [ebp - 0x20]
push ecx
call fcn.10425d60
mov eax, dword [ebp - 0x68]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi*2 - 2], cx
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x100196c4
xor eax, eax
mov ecx, edx
cmp word [edx], ax
je 0x10019677
cmp eax, 0xfff
jae 0x10019677
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10019666
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x5c], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ecx, eax
add esp, 4
mov dword [ebp - 0x60], ecx
test ecx, ecx
jne 0x100196a6
mov dword [ebp - 0x5c], eax
jmp 0x100196c4
lea eax, [esi*2 - 2]
push eax
push dword [ebp - 0x24]
push ecx
call fcn.10425d60
mov eax, dword [ebp - 0x60]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi*2 - 2], cx
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x10019732
xor eax, eax
mov ecx, edx
cmp word [edx], ax
je 0x100196e5
cmp eax, 0xfff
jae 0x100196e5
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x100196d4
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x54], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ecx, eax
add esp, 4
mov dword [ebp - 0x58], ecx
test ecx, ecx
jne 0x10019714
mov dword [ebp - 0x54], eax
jmp 0x10019732
lea eax, [esi*2 - 2]
push eax
push dword [ebp - 0x28]
push ecx
call fcn.10425d60
mov eax, dword [ebp - 0x58]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi*2 - 2], cx
xor eax, eax
test edi, edi
je 0x10019763
nop dword [eax + eax]
movzx ecx, word [ebx + eax*2]
cmp ecx, 0x2a
jne 0x10019750
mov ecx, 0x24cf
jmp 0x1001975a
cmp ecx, 0x3f
jne 0x1001975e
mov ecx, 0x24b6
mov word [ebx + eax*2], cx
inc eax
cmp eax, edi
jb 0x10019740
mov edi, dword [ebp - 0x98]
test edi, edi
je 0x100197cf
xor eax, eax
mov ecx, edi
cmp word [edi], ax
je 0x10019787
cmp eax, 0xfff
jae 0x10019787
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10019776
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x6c], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ebx, eax
add esp, 4
mov dword [ebp - 0x70], ebx
test ebx, ebx
jne 0x100197b6
mov dword [ebp - 0x6c], eax
jmp 0x100197cf
lea eax, [esi*2 - 2]
push eax
push edi
push ebx
call fcn.10425d60
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2 - 2], ax
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x70]
push eax
call fcn.10015760
test eax, eax
je 0x1001982a
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
test ecx, ecx
je 0x1001982a
mov edx, dword [eax]
nop dword [eax]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
cmp edx, dword [ecx + 4]
je 0x10019877
jae 0x10019823
mov ecx, dword [ecx + 0x10]
jmp 0x10019826
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x100197f0
mov esi, 0x10
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x1001983f
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x1001984f
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1001985f
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1001986f
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x1001a0a3
test ecx, ecx
je 0x1001982a
cmp dword [ebp - 0x3c], 1
mov eax, dword [ecx]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 8], eax
sete al
mov byte [ebp - 0x94], al
cmp edx, 1
mov dword [ebp - 0x28], ebx
sete al
mov dword [ebp - 0x24], edi
xor ecx, ecx
mov byte [ebp - 0x40], al
test ebx, ebx
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x58]
cmove eax, ecx
test edi, edi
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x60]
cmove eax, ecx
test esi, esi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x68]
cmove eax, ecx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
test eax, eax
jne 0x100198fa
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], ecx
jmp 0x10019961
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x1c]
cmp word [edx], ax
je 0x10019961
mov edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], edx
nop
cmp eax, 0xfff
jae 0x10019961
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10019950
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x74], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ebx, dword [ebp - 0x1c]
mov edi, eax
add esp, 4
mov dword [ebp - 0x78], edi
test edi, edi
jne 0x10019993
mov dword [ebp - 0x74], eax
jmp 0x100199ac
lea eax, [esi*2 - 2]
push eax
push ebx
push edi
call fcn.10425d60
add esp, 0xc
xor eax, eax
mov word [edi + esi*2 - 2], ax
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x78]
push dword [ebp - 0xc]
push dword [ebp - 0x94]
push dword [ebp - 0x40]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push eax
call fcn.10012770
mov esi, eax
test edi, edi
je 0x100199ec
push edi
call fcn.10450877
add esp, 4
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp esi, 0xc
je 0x10019a0c
test esi, esi
je 0x10019a0c
cmp esi, 1
jne 0x10019b71
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x10019a1c
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
test eax, eax
je 0x10019a3a
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
test eax, eax
je 0x10019a58
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
test eax, eax
je 0x10019a76
push eax
call fcn.10450877
add esp, 4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
test ebx, ebx
je 0x10019a91
push ebx
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
inc eax
mov esi, dword [ebp + 8]
add edx, 0x4c
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
cmp eax, dword [ebp - 0x50]
jb 0x10019500
mov ecx, dword [esi + 0x22e0]
xor eax, eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x1001a0b2
xor edx, edx
mov dword [ebp - 0x40], edx
nop dword [eax + eax]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
cmp eax, dword [esi + 0x22e0]
jae 0x10019b7b
mov ecx, dword [esi + 0x22e4]
add ecx, edx
mov edx, dword [ecx + 0xc]
mov esi, edx
mov eax, dword [ecx + 0x30]
and esi, 1
mov edi, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x24]
shr edx, 1
mov dword [ebp - 0x28], eax
and edx, 1
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], edx
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
imul ecx, eax, 0x428
mov dword [ebp - 0x20], edi
mov eax, dword [edx + 0x1a64]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], esi
mov eax, dword [ecx + eax + 0x18]
mov dword [ebp - 0x7c], eax
jmp 0x10019b81
mov esi, 2
jmp 0x1001982f
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
test edi, edi
je 0x10019be4
xor eax, eax
mov ecx, edi
cmp word [edi], ax
je 0x10019ba1
nop
cmp eax, 0xfff
jae 0x10019ba1
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10019b90
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov edx, eax
add esp, 4
mov dword [ebp - 0xc], edx
test edx, edx
je 0x10019be4
lea ecx, [esi*2 - 2]
push ecx
push edi
push edx
call fcn.10425d60
mov eax, dword [ebp - 0xc]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi*2 - 2], cx
test ebx, ebx
je 0x10019c4c
xor eax, eax
mov ecx, ebx
cmp word [ebx], ax
je 0x10019c02
cmp eax, 0xfff
jae 0x10019c02
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10019bf1
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x54], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ebx, eax
add esp, 4
mov dword [ebp - 0x58], ebx
test ebx, ebx
jne 0x10019c31
mov dword [ebp - 0x54], eax
jmp 0x10019c4c
lea eax, [esi*2 - 2]
push eax
push dword [ebp - 0x24]
push ebx
call fcn.10425d60
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2 - 2], ax
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x10019cbb
xor eax, eax
mov ecx, edx
cmp word [edx], ax
je 0x10019c71
nop dword [eax]
cmp eax, 0xfff
jae 0x10019c71
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10019c60
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x5c], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ebx, eax
add esp, 4
mov dword [ebp - 0x60], ebx
test ebx, ebx
jne 0x10019ca0
mov dword [ebp - 0x5c], eax
jmp 0x10019cbb
lea eax, [esi*2 - 2]
push eax
push dword [ebp - 0x28]
push ebx
call fcn.10425d60
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2 - 2], ax
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x10019d2b
xor eax, eax
mov ecx, edx
cmp word [edx], ax
je 0x10019ce1
nop dword [eax + eax]
cmp eax, 0xfff
jae 0x10019ce1
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10019cd0
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x64], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ebx, eax
add esp, 4
mov dword [ebp - 0x68], ebx
test ebx, ebx
jne 0x10019d10
mov dword [ebp - 0x64], eax
jmp 0x10019d2b
lea eax, [esi*2 - 2]
push eax
push dword [ebp - 0x2c]
push ebx
call fcn.10425d60
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2 - 2], ax
mov edx, dword [ebp - 0x7c]
test edx, edx
je 0x10019d9c
xor eax, eax
mov ecx, edx
cmp word [edx], ax
je 0x10019d51
nop dword [eax + eax]
cmp eax, 0xfff
jae 0x10019d51
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10019d40
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x6c], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov ebx, eax
add esp, 4
mov dword [ebp - 0x70], ebx
test ebx, ebx
jne 0x10019d80
mov dword [ebp - 0x6c], eax
jmp 0x10019d9c
lea eax, [esi*2 - 2]
push eax
mov eax, dword [ebp - 0x7c]
push eax
push ebx
call fcn.10425d60
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2 - 2], ax
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x70]
push eax
call fcn.10015760
test eax, eax
je 0x1001a05b
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
test ecx, ecx
je 0x1001a05b
mov esi, dword [eax]
mov edx, edi
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
cmp esi, dword [ecx + 4]
je 0x10019dfe
jae 0x10019dee
mov ecx, dword [ecx + 0x10]
jmp 0x10019df1
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x1001a05b
mov edi, dword [ebp - 0x20]
jmp 0x10019dc2
test ecx, ecx
je 0x1001a05b
cmp dword [ebp - 0x30], 1
mov eax, dword [ecx]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
sete al
mov byte [ebp - 0xa4], al
cmp esi, 1
mov dword [ebp - 0x50], 0
sete al
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0xa0], al
test ecx, ecx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x24], edi
cmove eax, dword [ebp - 0x50]
test ebx, ebx
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], 0
cmove eax, dword [ebp - 0x50]
test edi, edi
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x50], 0
cmove eax, dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
xor eax, eax
test edx, edx
jne 0x10019e9d
mov esi, dword [ebp - 0x18]
mov ebx, edx
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ebx
jmp 0x10019f06
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], edx
cmp word [edx], ax
je 0x10019f03
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ebx
mov ebx, edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
nop dword [eax]
cmp eax, 0xfff
jae 0x10019f06
add edx, 2
inc eax
cmp word [edx], 0
jne 0x10019ef0
jmp 0x10019f06
mov ebx, dword [ebp - 0x20]
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x74], edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov esi, eax
add esp, 4
mov dword [ebp - 0x78], esi
test esi, esi
jne 0x10019f35
mov dword [ebp - 0x74], eax
jmp 0x10019f4e
lea eax, [edi*2 - 2]
push eax
push ebx
push esi
call fcn.10425d60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 - 2], ax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x78]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
push dword [ebp - 0x98]
push dword [ebp - 0x50]
push eax
call fcn.10012770
mov edi, eax
test esi, esi
je 0x10019f8c
push esi
call fcn.10450877
add esp, 4
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp edi, 0xc
je 0x10019fac
test edi, edi
je 0x10019fac
cmp edi, 1
jne 0x1001a054
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x10019fbc
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
test eax, eax
je 0x10019fda
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
test eax, eax
je 0x10019ff8
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
test eax, eax
je 0x1001a016
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
test eax, eax
je 0x1001a034
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x40]
inc eax
add edx, 0x4c
mov dword [ebp - 8], eax
mov dword [ebp - 0x40], edx
cmp eax, dword [ebp - 0x94]
jae 0x1001a0b2
mov esi, dword [ebp + 8]
jmp 0x10019ad0
mov esi, 2
jmp 0x1001a060
mov esi, 0x10
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x1001a070
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1001a080
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1001a090
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x1001a0a0
push eax
call fcn.10450877
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1001a0b4
push eax
call fcn.10450877
add esp, 4
jmp 0x1001a0b4
xor esi, esi
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x1001a0c7
push eax
call fcn.10450877
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4