Function at 0x497130
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [ebx + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x34], 0
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov dword [ebp - 8], esi
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x14]
mov edi, dword [edx + 0xd8]
mov dword [ebp - 0x7c], eax
mov eax, dword [edx + 0x124]
mov dword [ebp - 0x90], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [edx + 0x11c]
mov dword [ebp - 0x88], eax
mov eax, dword [edx + 0x2d0]
mov dword [ebp - 0x6c], eax
mov eax, dword [edx + 0x1e4]
mov dword [ebp - 0x94], eax
mov eax, dword [edx + 0x1e8]
mov dword [ebp - 0xa0], eax
mov eax, dword [edx + 0xd0]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0xa8]
movd xmm0, ecx
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0xbc]
xor edx, edx
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x24], ecx
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0x9c], eax
mov dword [0x540954], 0
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebp - 0x7c]
jle 0x49720f
mov eax, dword [0x5455a0]
and al, 5
cmp al, 1
jne 0x49720f
mov dword [ebp - 0x34], 1
jmp 0x497218
cmp dword [ebp - 0x6c], edx
je 0x498e61
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x7c]
shl ecx, 2
mov dword [ebp - 0x44], ecx
mov eax, dword [eax + 0x70]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0xc]
jae 0x497348
nop word [eax + eax]
mov edi, dword [edi]
cmp dword [edi + 4], 9
jne 0x497259
mov eax, dword [edi + 0x90]
mov edx, dword [eax + 8]
sub edx, dword [edi + 0x114]
jmp 0x49725e
mov edx, 1
mov esi, dword [ebp - 0x3c]
lea eax, [edx + edx*2]
lea edx, [ecx + edx*4]
mov dword [ebp - 0x40], edx
lea esi, [esi + eax*4]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 8]
cmp eax, 7
jne 0x49728c
sub dword [ebp - 0x10], esi
mov edi, 1
mov dword [ebp - 0x2c], 0x20
jmp 0x4972a0
test eax, 0x400000
je 0x497337
xor edi, edi
mov dword [ebp - 0x2c], 0x10020
or dword [ecx], 0x40
mov edx, ecx
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x40]
nop dword [eax + eax]
test byte [ecx], 2
jne 0x497323
mov esi, dword [ebp - 0x6c]
mov eax, edx
sar eax, 2
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 8]
test eax, eax
je 0x497320
mov esi, dword [ebp - 0x50]
and dword [esi + eax*4 - 4], 0xfffffbdf
test byte [esi + eax*4 - 4], 0x87
mov esi, dword [ebp - 8]
jne 0x497320
test edi, edi
jne 0x497317
test byte [ecx], 5
jne 0x497320
mov esi, dword [ebp - 0x94]
movsd xmm0, qword [0x536158]
comisd xmm0, xmmword [esi + eax*8 - 8]
mov esi, dword [ebp - 8]
jb 0x497320
mov esi, dword [ebp - 0xa0]
movsd xmm0, qword [esi + eax*8 - 8]
comisd xmm0, xmmword [0x536150]
mov esi, dword [ebp - 8]
jb 0x497320
mov eax, dword [ebp - 0x2c]
or dword [ecx], eax
inc esi
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0x40]
add ecx, 4
add edx, 4
cmp ecx, eax
jb 0x4972b0
mov edx, dword [ebp - 0x40]
test edi, edi
je 0x497337
add dword [ebp - 0x10], esi
mov ecx, edx
mov edi, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0xc]
jb 0x497240
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 0x34], 0
jne 0x497356
test esi, esi
je 0x498e61
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0x84]
add eax, ecx
mov dword [ebp - 0x70], eax
cmp ecx, esi
mov eax, esi
cmovl eax, ecx
cmp dword [0x5455a8], 0
mov dword [ebp - 0x2c], eax
mov eax, esi
je 0x497382
lea eax, [esi + esi]
cmp eax, ecx
mov edi, ecx
cmovge edi, eax
lea eax, [ecx + esi*2]
add eax, esi
mov dword [ebp - 0x94], edi
lea esi, [edx + esi*2]
mov edx, dword [ebp - 0x70]
add esi, esi
mov ecx, esi
mov dword [ebp - 4], esi
lea eax, [edi + eax*2]
add eax, dword [ebp - 0x88]
cmp eax, esi
cmovge ecx, eax
mov eax, dword [ebp - 0x2c]
lea eax, [eax + edx*2]
inc edx
add eax, edx
lea eax, [ecx + eax*2]
shl eax, 2
push eax
call fcn.00454710
mov esi, eax
push 1
push esi
call fcn.00448750
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x70]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov dword [ecx + 0xc], eax
lea ecx, [edx*4]
add eax, ecx
mov dword [ebp - 0x40], ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 0x58], eax
add eax, ecx
mov dword [edi + 0x14], eax
add ecx, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x2c]
lea eax, [edx + eax*2]
lea ecx, [ecx + eax*4]
lea eax, [ecx + 8]
mov dword [edi + 0xd0], eax
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x64], eax
lea edx, [edi*4]
lea edi, [edx + eax]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x98], edi
mov dword [eax + 0x64], edi
lea eax, [edx + edi]
mov edi, dword [ebx + 8]
mov edx, dword [ebp - 0x88]
shl edx, 2
mov dword [ebp - 0xa4], edx
mov dword [edi + 0xd4], eax
add eax, edx
mov edx, dword [ebp - 0x70]
mov dword [edi + 0x6c], eax
mov dword [ebp - 0x38], eax
lea eax, [eax + edx*8]
mov edx, edi
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
mov dword [edx + 0xd8], eax
lea edx, [eax + edi*4]
mov dword [ecx + 4], esi
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
shl eax, 4
add eax, edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x30], eax
mov dword [ecx], esi
lea eax, [eax + edi*4]
mov dword [ebp - 0x78], eax
push ecx
push 0x498f90
call fcn.00416770
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x94], eax
push esi
push dword [ebx + 8]
call fcn.004991f0
mov eax, dword [ebp - 0x54]
push 1
mov eax, dword [eax + 0xb0]
push eax
push dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
push dword [ebx + 8]
call fcn.004991f0
add esp, 0x34
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x34], 0
je 0x4975e6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x34], 0
lea edi, [eax + edi*4]
mov dword [ebp - 0x3c], edi
cmp ecx, edi
jae 0x497544
mov edx, dword [ebp - 0x44]
test dword [ecx], 0x10000
je 0x49752f
mov eax, edx
sar eax, 2
mov eax, dword [esi + eax*4]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], esi
and dword [eax + esi*4], 0xfffffbdf
test byte [eax + esi*4], 0x87
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
je 0x497529
and dword [ecx], 0xfffeffff
jmp 0x497532
inc eax
mov dword [ebp - 0x34], eax
jmp 0x497532
mov eax, dword [ebp - 0x34]
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x4974f5
test eax, eax
jne 0x4975ef
mov esi, dword [ebp - 8]
test esi, esi
jne 0x4975f2
mov edi, dword [ebp - 0x70]
test edi, edi
jle 0x49758b
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x58]
sub eax, esi
mov dword [ebp - 0x18], eax
mov eax, dword [eax + esi]
test eax, eax
je 0x497571
push eax
call fcn.00454450
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x497580
push eax
call fcn.00454450
add esp, 4
mov eax, dword [ebp - 0x18]
add esi, 4
sub edi, 1
jne 0x497561
push dword [ebp - 0x94]
call fcn.00416cd0
mov eax, dword [ebx + 8]
add esp, 4
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0xd0], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49760e
cmp dword [0x5455a8], 0
je 0x49760e
push eax
push dword [ebx + 8]
call fcn.004959c0
add esp, 8
mov eax, dword [ebp - 0x54]
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, dword [eax + 0xd8]
mov dword [ebp - 0x10], eax
test esi, esi
je 0x497be3
mov edx, dword [ebp - 0x1c]
mov ecx, edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [ebp - 0xc]
jae 0x497792
mov esi, dword [eax]
cmp dword [esi + 4], 9
jne 0x497651
mov eax, dword [esi + 0x90]
mov edx, dword [eax + 8]
sub edx, dword [esi + 0x114]
jmp 0x497656
mov edx, 1
test byte [ecx], 0x40
lea eax, [edx + edx*2]
mov esi, dword [ebp - 0x10]
lea esi, [esi + eax*4]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], eax
je 0x497781
mov eax, ecx
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
nop dword [eax]
test byte [ecx], 0x20
je 0x497769
mov edx, dword [ebp - 0x6c]
mov esi, eax
sar esi, 2
mov edx, dword [edx + esi*4]
mov dword [ebp - 4], edx
test edx, edx
je 0x497769
mov eax, dword [ebp - 0x1c]
dec edx
mov dword [ebp - 4], edx
test dword [eax + esi*4], 0x80000
jne 0x4976fc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x497766
nop dword [eax]
cmp dword [eax + 4], edx
je 0x4976d0
mov eax, dword [eax]
test eax, eax
jne 0x4976c0
jmp 0x497766
movsd xmm0, qword [eax + 8]
ucomisd xmm0, qword [0x4fc468]
lahf
test ah, 0x44
jp 0x497766
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4976fc
cmp dword [eax + 4], edx
je 0x49772e
mov eax, dword [eax]
test eax, eax
jne 0x4976f1
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x64]
mov ecx, dword [eax + edx*4]
test ecx, ecx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x20]
mov dword [edi + edx*4], eax
mov edi, dword [ebp - 0x14]
jne 0x497766
mov eax, dword [ebp - 0x78]
mov dword [eax + edi*4], esi
inc edi
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], edi
and dword [eax + edx*4], 0xffff7fff
or dword [ecx], 0x20
jmp 0x497766
mov eax, dword [ebp - 0x54]
lea ecx, [edx + edx*2]
mov eax, dword [eax + 0xd4]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 2
jne 0x497763
cmp dword [eax + 0x12c], 0
je 0x497763
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
push eax
push str.Treating__var__s__...__as_a_constraint__n_tsince__s_appears_in_the_right_hand_side._n
push 0
call fcn.0044c950
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add ecx, 4
add eax, 4
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], eax
cmp ecx, dword [ebp - 0x2c]
jb 0x497680
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xc]
mov ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
jb 0x497638
mov esi, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], eax
test edi, edi
jle 0x49791f
mov ecx, dword [ebp - 0x1c]
nop dword [eax + eax]
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x6c]
mov edx, dword [edx + eax*4]
mov esi, dword [esi + edx*4]
and dword [ecx + edx*4], 0xffffffdf
dec esi
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 4], esi
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x4977f4
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 0x24]
jge 0x4977e5
test byte [edi + eax*4], 0x20
je 0x4977e5
inc dword [esi + eax*4]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4977d4
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x497824
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 0x24]
jge 0x497815
test byte [edi + eax*4], 0x20
je 0x497815
inc dword [esi + eax*4]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x497804
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x10], eax
or dword [ecx + edx*4], 0x20
cmp eax, edi
jl 0x4977b0
mov eax, dword [ebp - 0x54]
xor edx, edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov eax, dword [eax + 0xd4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x64]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + ecx*4]
mov dword [edi + eax*4 - 4], 0
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x14]
cmp dword [eax + ecx*4], 0
jne 0x49789e
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x78]
mov dword [edx + eax*4], ecx
inc eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
jmp 0x49790e
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax + ecx*4]
dec esi
mov dword [ebp - 4], esi
lea eax, [esi + esi*2]
mov esi, dword [ebp - 0x5c]
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 4]
cmp dword [eax + 0x12c], 0
jne 0x49790b
cmp dword [ebp - 0x10], 0
jne 0x4978f9
mov eax, edi
sub eax, edx
shl eax, 2
push eax
call fcn.00454710
push 0
push eax
mov dword [ebp - 0x2c], eax
call fcn.00448750
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov edx, dword [ebp - 0x68]
mov dword [ebp - 8], eax
mov dword [eax], ecx
mov ecx, eax
add ecx, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
jmp 0x497911
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ecx, eax
mov eax, dword [ebp - 0x20]
add ecx, 4
mov dword [ebp - 8], ecx
jmp 0x497911
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
inc edx
mov dword [ebp - 0x68], edx
cmp edx, edi
jl 0x497866
jmp 0x497932
mov edx, dword [ebp - 0x94]
xor ecx, ecx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], edx
mov edx, edi
mov dword [ebp - 0x64], 0xffffffff
mov edi, eax
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [ebp - 0x20], eax
cmp eax, edi
jl 0x497a16
cmp edi, edx
jge 0x497b51
nop dword [eax + eax]
cmp ecx, dword [ebp - 0x10]
jbe 0x497b42
mov edx, dword [ecx - 4]
sub ecx, 4
dec dword [ebp - 0x68]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x48]
dec esi
mov dword [ebp - 4], esi
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x4979c7
mov esi, dword [ebp - 0x30]
nop dword [eax]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 0x24]
jge 0x4979bb
mov edi, dword [ebp - 0x1c]
test byte [edi + eax*4], 0x20
mov edi, dword [ebp - 0x14]
je 0x4979bb
add dword [esi + eax*4], 0xffffffff
jne 0x4979bb
cmp edx, eax
je 0x4979bb
mov esi, dword [ebp - 0x78]
mov dword [esi + edi*4], eax
inc edi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x14], edi
mov ecx, dword [ecx]
test ecx, ecx
jne 0x497990
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x497a0b
mov esi, dword [ebp - 0x30]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 0x24]
jge 0x4979ff
mov edi, dword [ebp - 0x1c]
test byte [edi + eax*4], 0x20
mov edi, dword [ebp - 0x14]
je 0x4979ff
add dword [esi + eax*4], 0xffffffff
jne 0x4979ff
cmp edx, eax
je 0x4979ff
mov esi, dword [ebp - 0x78]
mov dword [esi + edi*4], eax
inc edi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x14], edi
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4979d4
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
cmp eax, edi
jge 0x497960
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x28], edx
mov esi, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x50]
dec esi
mov dword [ebp - 4], esi
test dword [ecx + esi*4], 0x8000
je 0x497a59
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + edx*4], 0
mov ecx, dword [ebp - 0x64]
test ecx, ecx
mov edx, dword [ebp - 0x68]
cmovns eax, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x20]
inc eax
jmp 0x497945
mov eax, dword [ebp - 0x98]
mov dword [eax + esi*4], edx
mov eax, dword [ebp - 0x1c]
and dword [eax + edx*4], 0xffffffdf
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x497aad
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
nop dword [eax]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 0x24]
jge 0x497a9e
test byte [edx + eax*4], 0x20
je 0x497a9e
add dword [esi + eax*4], 0xffffffff
jne 0x497a9e
mov edx, dword [ebp - 0x78]
mov dword [edx + edi*4], eax
inc edi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x497a80
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x497aed
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
nop dword [eax]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 0x24]
jge 0x497ade
test byte [edx + eax*4], 0x20
je 0x497ade
add dword [esi + eax*4], 0xffffffff
jne 0x497ade
mov edx, dword [ebp - 0x78]
mov dword [edx + edi*4], eax
inc edi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x497ac0
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
or dword [ecx + esi*4], 0x8000
or dword [eax + edx*4], 0x80
test dword [eax + edx*4], 0x80000
je 0x497b26
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x68]
inc dword [eax + 0xc0]
or dword [ecx + esi*4], 0x40
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
inc eax
jmp 0x497945
push esi
push edx
push dword [ebx + 8]
call fcn.004963c0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 8]
inc eax
mov edx, dword [ebp - 0x68]
jmp 0x497945
push str.dc0_botch_in_solve_out
push 1
call fcn.0044c950
add esp, 8
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x497b64
push eax
push dword [ebp - 0x2c]
call fcn.00447c80
add esp, 8
mov edx, dword [ebp - 0x64]
test edx, edx
js 0x497be3
mov ecx, edx
inc edx
mov dword [ebp - 0x28], ecx
cmp edx, edi
jge 0x497b9e
mov esi, dword [ebp - 0x78]
nop dword [eax + eax]
mov edi, dword [ebp - 0x6c]
mov eax, dword [esi + edx*4]
cmp dword [edi + eax*4], 0
mov edi, dword [ebp - 0x14]
je 0x497b93
mov dword [esi + ecx*4], eax
inc ecx
inc edx
cmp edx, edi
jl 0x497b80
mov esi, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x497be0
mov eax, dword [ebp - 0x78]
lea esi, [eax + edi*4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + 4]
cmp ecx, eax
jge 0x497bd7
mov eax, dword [ebp - 0x1c]
test byte [eax + ecx*4], 0x20
je 0x497bd4
mov eax, dword [ebp - 0x30]
add dword [eax + ecx*4], 0xffffffff
mov eax, dword [ebp - 0x24]
jne 0x497bd7
mov dword [esi], ecx
add esi, 4
jmp 0x497bd7
mov eax, dword [ebp - 0x24]
mov edx, dword [edx]
test edx, edx
jne 0x497bb1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x34], 0
je 0x497cc6
mov edx, dword [0x5455a0]
mov eax, dword [ebp - 0xc]
and edx, 0x20
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edx
cmp eax, ecx
jae 0x497cc6
mov esi, dword [ebp - 0x44]
nop word [eax + eax]
test dword [eax], 0x10000
je 0x497cb2
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov edi, dword [ebp - 0x50]
sar ecx, 2
mov dword [ebp - 0x5c], ecx
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 4]
mov dword [ebp - 4], esi
test dword [edi + esi*4], 0x1050
mov edi, dword [ebp - 0x14]
jne 0x497ca9
test edx, edx
je 0x497c7d
mov edx, dword [ebp - 0x60]
cmp dword [edx + esi*4], 0
jne 0x497c7d
xor edx, edx
nop
mov eax, dword [eax]
inc edx
test eax, eax
jne 0x497c50
cmp edx, 2
jle 0x497c7d
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov eax, dword [eax + esi*4]
test eax, eax
je 0x497c6f
mov eax, dword [eax]
inc ecx
test eax, eax
jne 0x497c68
dec ecx
lea eax, [edx - 2]
imul ecx, eax
cmp ecx, edx
jg 0x497ca6
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x78]
push esi
push ecx
push dword [ebx + 8]
mov dword [eax + edi*4], ecx
inc edi
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x14], edi
mov dword [eax + esi*4], ecx
mov eax, dword [ebp - 0xc]
or dword [eax], 0x80
call fcn.004963c0
add esp, 0xc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x44]
add eax, 4
add esi, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x44], esi
cmp eax, ecx
jb 0x497c10
mov esi, dword [ebp - 0x54]
mov eax, dword [esi + 0x294]
test eax, eax
je 0x497ce2
push eax
call fcn.0049a320
add esp, 4
mov dword [esi + 0x294], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x88]
mov ecx, dword [edx + 0xc0]
add ecx, dword [edx + 0xbc]
sub eax, ecx
mov dword [ebp - 0x64], ecx
mov dword [esi + 0x11c], eax
mov dword [ebp - 0x68], eax
mov dword [edx + 0xac], eax
mov eax, dword [0x5455a4]
test eax, eax
je 0x497d1b
sub eax, ecx
mov dword [0x5455a4], eax
mov esi, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [edx + 0x194]
xor eax, eax
test esi, esi
jle 0x497d60
mov edi, dword [ebp - 0x38]
test edx, edx
je 0x497d4e
mov esi, dword [ebp - 0x1c]
test byte [esi + eax*4], 0x97
jne 0x497d46
cmp byte [edx + eax], 2
je 0x497d46
mov dword [edi + ecx*4], eax
inc ecx
inc eax
cmp eax, dword [ebp - 0x24]
jl 0x497d36
jmp 0x497d60
mov edx, dword [ebp - 0x1c]
test byte [edx + eax*4], 0x97
jne 0x497d5b
mov dword [edi + ecx*4], eax
inc ecx
inc eax
cmp eax, esi
jl 0x497d51
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x74]
push 0x400
push 0x100
push dword [ebp - 0x8c]
push dword [ebp - 0x4c]
push dword [ebp - 0x38]
push eax
push ecx
push dword [ebx + 8]
call fcn.00496d70
mov edx, dword [ebp - 0x90]
add esp, 0x20
mov esi, dword [ebp - 0x24]
xor ecx, ecx
test edx, edx
jle 0x497e8d
cmp edx, 0x10
jb 0x497e76
movaps xmm4, xmmword [0x4fcda0]
mov eax, edx
xor edi, edi
and eax, 0x8000000f
jns 0x497dbc
dec eax
or eax, 0xfffffff0
inc eax
mov ecx, edx
mov edx, dword [ebp - 0x38]
sub ecx, eax
add edx, 0x20
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x28], edx
nop dword [eax]
movups xmm1, xmmword [ebp - 0xc0]
lea ecx, [edi + 8]
movd xmm0, edi
lea eax, [ecx - 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
paddd xmm0, xmm4
movups xmmword [edx - 0x20], xmm0
movd xmm0, eax
lea eax, [edi + 0xf]
pshufd xmm0, xmm0, 0
add eax, esi
paddd xmm0, xmm1
paddd xmm0, xmm4
movups xmmword [edx - 0x10], xmm0
movd xmm0, ecx
lea ecx, [edi + 0xe]
pshufd xmm0, xmm0, 0
add ecx, esi
paddd xmm0, xmm1
movd xmm3, eax
paddd xmm0, xmm4
movups xmmword [edx], xmm0
lea edx, [edi + 0xd]
add edx, esi
movd xmm0, ecx
add esi, 0xc
add esi, edi
add edi, 0x10
movd xmm1, edx
mov edx, dword [ebp - 0x28]
movd xmm2, esi
mov esi, dword [ebp - 0x24]
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
movups xmmword [edx + 0x10], xmm2
add edx, 0x40
mov dword [ebp - 0x28], edx
cmp edi, dword [ebp - 0x5c]
jl 0x497dd0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x5c], edi
cmp edi, edx
jge 0x497e8d
mov ecx, edi
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
nop dword [eax]
lea eax, [ecx + edi]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x497e80
jmp 0x497e90
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x74]
push 0x800
push 0x200
push dword [ebp - 0x8c]
push dword [ebp - 0x4c]
push esi
push eax
push dword [ebp - 0x90]
push dword [ebx + 8]
call fcn.00496d70
push dword [ebp - 0x8c]
push esi
push dword [ebx + 8]
call fcn.00498fb0
xor edx, edx
add esp, 0x2c
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x24], edx
jle 0x498085
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
add edi, esi
mov esi, dword [ebp - 0x6c]
sub ecx, esi
mov eax, dword [ebp - 0x58]
sub esi, eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], esi
add esi, eax
test byte [esi + ecx], 0x80
je 0x498069
mov esi, dword [esi]
mov ecx, dword [ebp - 0x50]
dec esi
mov dword [ebp - 4], esi
mov ecx, dword [ecx + esi*4]
test ecx, 0xf00
je 0x498066
test ecx, 0xc00
je 0x497fc1
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
je 0x497f68
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x38]
mov eax, dword [edx + 4]
test byte [edi + eax*4], 0x40
je 0x497f58
mov edi, dword [ebp - 0x98]
mov eax, dword [edi + eax*4]
mov edi, dword [ebp - 0x50]
add ecx, dword [esi + eax*4]
mov edx, dword [edx]
inc ecx
test edx, edx
jne 0x497f40
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x44]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov edx, dword [eax]
test edx, edx
je 0x497fa0
mov esi, dword [ebp - 0x70]
nop word [eax + eax]
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0x98]
mov edx, dword [edx]
mov eax, dword [edi + eax*4]
mov edi, dword [ebp - 0x38]
add eax, esi
add ecx, dword [edi + eax*4]
test edx, edx
jne 0x497f80
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x68]
jle 0x497fb7
push 1
push dword [ebp - 0x3c]
push dword [ebx + 8]
call fcn.00496100
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
mov dword [edi], ecx
jmp 0x497fc9
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x50]
test dword [ecx + esi*4], 0x300
je 0x498066
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
je 0x498017
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x50]
mov eax, dword [edx + 4]
test byte [esi + eax*4], 0x40
mov esi, dword [ebp - 0x10]
je 0x498006
mov esi, dword [ebp - 0x98]
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x38]
add ecx, dword [esi + eax*4]
mov eax, edi
jmp 0x49800b
mov eax, dword [ebp - 0x40]
add eax, esi
mov edx, dword [edx]
inc ecx
test edx, edx
jne 0x497fe4
mov edi, dword [ebp - 0x44]
jmp 0x49801a
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
test edx, edx
je 0x498043
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x98]
nop dword [eax]
mov eax, dword [edx + 4]
inc ecx
mov edx, dword [edx]
mov eax, dword [edi + eax*4]
add ecx, dword [esi + eax*4]
test edx, edx
jne 0x498030
mov edi, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x68]
jle 0x49805a
push 0
push dword [ebp - 0x3c]
push dword [ebx + 8]
call fcn.00496100
add esp, 0xc
mov ecx, eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
mov dword [edx + eax], ecx
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x4c]
inc edx
add edi, 4
mov dword [ebp - 0x3c], edx
add eax, 4
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], eax
cmp edx, dword [ebp - 0x24]
jl 0x497f02
cmp dword [ebp - 0x80], 0
je 0x4980bf
xor esi, esi
cmp dword [ebp - 0x84], esi
jle 0x4980ac
mov edi, dword [ebp - 0x60]
push dword [edi + esi*4]
call fcn.00454450
inc esi
add esp, 4
cmp esi, dword [ebp - 0x84]
jl 0x498098
push dword [ebp - 0xa0]
push 0
push dword [ebp - 0x60]
call fcn.004d0130
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x70], ecx
jle 0x498380
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x74]
sub edx, eax
sub eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x80], eax
cmp edi, dword [ebp - 0x24]
jge 0x4980fd
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
test dword [eax + edx], 0x8097
jne 0x4981cb
mov edx, dword [ebp - 0x18]
jmp 0x498102
mov edx, dword [ebp - 0x18]
add eax, edx
mov esi, dword [ebp - 0x40]
cmp dword [edx + esi], 0
mov esi, dword [ebp - 0x24]
jne 0x49815c
cmp dword [eax], 0
jne 0x49815c
cmp dword [edx], 0
jne 0x49816a
cmp edi, esi
jge 0x49816a
test ecx, ecx
jne 0x498150
mov eax, dword [ebp - 0x54]
push 0
mov eax, dword [eax + 0x2a4]
sub eax, dword [0x54093c]
cmovns ecx, eax
push ecx
mov dword [ebp - 0x2c], ecx
call fcn.00448750
mov ecx, eax
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ecx + eax*4], edi
inc eax
mov dword [ebp - 0x34], eax
jmp 0x4981cb
mov eax, dword [ebp - 0x34]
mov dword [ecx + eax*4], edi
inc eax
mov dword [ebp - 0x34], eax
jmp 0x4981cb
push 2
push edi
push dword [ebx + 8]
call fcn.00496100
add esp, 0xc
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi]
test ecx, ecx
je 0x498190
mov edx, dword [ebp - 0x50]
nop word [eax + eax]
mov eax, dword [ecx + 4]
or dword [edx + eax*4], 0x2000
mov ecx, dword [ecx]
test ecx, ecx
jne 0x498180
push dword [esi]
call fcn.00454450
mov eax, dword [ebp - 0x40]
add esp, 4
mov edx, dword [esi + eax]
test edx, edx
je 0x4981c8
mov eax, dword [ebp - 0x60]
mov esi, dword [edx + 4]
mov ecx, dword [edx]
mov dword [ebp - 4], esi
mov eax, dword [eax + esi*4]
mov dword [edx], eax
mov eax, dword [ebp - 0x60]
mov dword [eax + esi*4], edx
mov dword [edx + 4], edi
mov edx, ecx
test ecx, ecx
jne 0x4981a7
mov ecx, dword [ebp - 0x30]
jmp 0x4981ce
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 4]
add dword [ebp - 0x18], 4
inc edi
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x5c]
cmp edi, dword [ebp - 0x70]
jl 0x4980e0
test ecx, ecx
je 0x498380
mov eax, dword [ebp - 0x54]
xor edx, edx
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 0x1c8]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xa8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
test eax, eax
jle 0x498333
xorps xmm1, xmm1
mov eax, dword [ebx + 8]
mov edi, dword [ebp - 0x30]
mov esi, dword [eax + 0x18]
mov edi, dword [edi + edx*4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], edi
comisd xmm1, xmmword [esi + edi*8]
mov esi, dword [ebp - 4]
jb 0x49824a
mov eax, dword [ebx + 8]
mov esi, edi
mov eax, dword [eax + 0x1c]
movsd xmm0, qword [eax + esi*8]
comisd xmm0, xmm1
mov esi, dword [ebp - 4]
jae 0x498269
mov eax, dword [ebp - 0x34]
inc edx
mov dword [ebp - 0x28], edx
cmp edx, eax
jl 0x498215
mov ecx, dword [ebx + 8]
add esi, dword [ebp - 0x90]
mov dword [ebp - 4], esi
add dword [ecx + 0xa8], esi
jmp 0x49834b
mov eax, dword [ebp - 0x4c]
cmp dword [ecx], eax
jge 0x498277
add ecx, 4
cmp dword [ecx], eax
jl 0x498270
mov esi, dword [ebp - 0x28]
mov edx, ecx
inc esi
cmp esi, dword [ebp - 0x34]
jge 0x4982ca
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 8]
mov edi, dword [ebp - 0x80]
mov eax, dword [eax + 0x18]
comisd xmm1, xmmword [eax + edi*8]
jb 0x4982c4
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
movsd xmm0, qword [eax + edi*8]
comisd xmm0, xmm1
jb 0x4982c4
mov eax, dword [ecx + 4]
add ecx, 4
cmp eax, edi
jge 0x4982c4
add ecx, 4
mov dword [edx], eax
add edx, 4
mov eax, dword [ecx]
cmp eax, edi
jl 0x4982b6
inc esi
cmp esi, dword [ebp - 0x34]
jl 0x498282
mov esi, dword [ebp - 0x5c]
add ecx, 4
cmp ecx, esi
jae 0x4982e2
mov eax, dword [ecx]
add ecx, 4
mov dword [edx], eax
add edx, 4
cmp ecx, esi
jb 0x4982d4
mov eax, dword [ebx + 8]
mov esi, dword [eax + 0xb0]
mov eax, dword [ebp - 0x54]
sub esi, dword [eax + 0x50]
je 0x498333
mov eax, dword [ebp - 0x90]
shl eax, 2
add ecx, eax
add edx, eax
lea eax, [ecx + esi*4]
mov dword [ebp - 0x80], eax
cmp ecx, eax
jae 0x498333
mov edi, eax
nop dword [eax]
mov eax, dword [ecx]
lea edx, [edx + 4]
add ecx, 4
mov dword [edx - 4], eax
cmp ecx, edi
jb 0x498310
mov ecx, dword [ebx + 8]
add esi, dword [ebp - 0x90]
mov dword [ebp - 4], esi
add dword [ecx + 0xa8], esi
jmp 0x49834b
mov ecx, dword [ebx + 8]
add esi, dword [ebp - 0x90]
mov dword [ebp - 4], esi
add dword [ecx + 0xa8], esi
cmp dword [ebp - 0x34], 0
jle 0x49836c
mov esi, dword [ebp - 0x34]
xor edi, edi
mov eax, dword [ebp - 0x30]
push 1
push dword [eax + edi*4]
push ecx
call fcn.004c5350
mov ecx, dword [ebx + 8]
inc edi
add esp, 0xc
cmp edi, esi
jl 0x498350
mov esi, dword [ebp - 4]
push dword [ebp - 0x30]
sub dword [ecx + 0xa8], esi
push dword [ebp - 0x2c]
call fcn.00447c80
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x24], eax
jle 0x4984e4
mov edx, dword [ebp - 0x6c]
mov edi, edx
mov ecx, dword [ebp - 0x1c]
sub dword [ebp - 0x58], edx
sub ecx, edx
sub dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ecx
nop word [eax + eax]
test byte [edi + ecx], 0x80
je 0x4984d2
mov esi, dword [edi]
mov eax, dword [ebp - 0x50]
dec esi
mov ecx, dword [ebp - 0x8c]
test dword [eax + esi*4], 0xf00
jne 0x49840d
cmp dword [ecx + esi*4], 0
jne 0x49840d
mov eax, dword [ebp - 0x84]
add eax, esi
cmp dword [ecx + eax*4], 0
jne 0x49840d
cmp dword [0x521758], 2
jge 0x4984b0
mov eax, dword [ebp - 0x48]
push dword [eax + esi*4]
call fcn.00454450
mov eax, dword [ebp - 0x48]
add esp, 4
mov dword [eax + esi*4], 0
jmp 0x4984b0
mov eax, dword [ebp - 0x84]
xor edx, edx
add eax, esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ecx + esi*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x80], ecx
test ecx, ecx
je 0x498483
movd xmm0, ecx
sub esp, 8
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [ebp - 0x3c]
push edx
call fcn.00454c90
mov edx, eax
add esp, 0x10
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
test eax, eax
je 0x4984aa
mov ecx, dword [ebp - 0x8c]
cmp eax, dword [ecx + esi*4]
je 0x49848c
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x80]
call fcn.00496bd0
add esp, 0xc
test eax, eax
je 0x498489
mov ecx, dword [ebp - 0x84]
mov edi, dword [ebp - 0x8c]
add ecx, esi
mov dword [edi + ecx*4], eax
mov edi, dword [ebp - 0x28]
jmp 0x49848c
test eax, eax
je 0x4984aa
jmp 0x49848c
mov eax, dword [ebp - 0x4c]
movd xmm0, eax
sub esp, 8
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [ebp - 0x3c]
push edx
call fcn.00454c90
add esp, 0x10
mov edx, eax
mov eax, dword [ebp - 0x60]
mov dword [eax + esi*4], edx
mov eax, dword [ebp - 0x58]
push dword [eax + edi]
call fcn.00454450
mov eax, dword [ebp - 0x74]
push dword [eax + edi]
call fcn.00454450
mov eax, dword [ebp - 0x3c]
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
inc eax
add edi, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], edi
cmp eax, edx
jl 0x4983b0
mov ecx, dword [ebp - 0x54]
push dword [ebp - 0x40]
mov dword [ebp - 0x58], 0
mov eax, dword [ecx + 0x1c8]
mov esi, dword [ecx + 0x1d8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xa8]
lea eax, [esi + eax*4]
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], eax
call fcn.004d0130
mov eax, dword [ebp - 0x38]
add esp, 0xc
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0xd8]
mov dword [ebp - 0x48], eax
cmp esi, dword [ebp - 0x18]
jae 0x498728
mov ecx, dword [ebp - 0xc]
mov edi, esi
mov esi, dword [ebp - 0x18]
mov edx, dword [ecx]
add ecx, 4
mov eax, dword [ebp - 0x1c]
mov dword [edi], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [eax + edx*4]
test al, 0x80
je 0x49871d
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x8c]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x50]
dec edx
mov eax, dword [eax + edx*4]
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + edx*4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x84]
add eax, edx
sar ecx, 8
mov esi, dword [esi + eax*4]
test esi, esi
je case.default.0x4985e3
cmp dword [ebp - 0x4c], 0
je case.default.0x4985e3
mov eax, dword [ebp - 0x2c]
and ecx, 3
shl ecx, 0xa
or eax, ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov dword [ecx + edx*4], eax
mov ecx, eax
sar ecx, 8
inc dword [ebp - 0x3c]
mov eax, ecx
mov dword [ebp - 0x28], 0
sar eax, 2
or eax, ecx
and eax, 3
jmp dword [eax*4 + 0x498e6c]
test byte [ebp - 0x2c], 0x10
je 0x498604
inc dword [ebp - 0x34]
jmp 0x49860b
mov dword [ebp - 0x28], 1
test esi, esi
jle 0x49865c
mov eax, dword [ebp - 0x38]
dec esi
mov edx, dword [ebp - 0x48]
inc dword [eax + esi*4]
cmp esi, dword [ebp - 0x24]
jge 0x498653
inc dword [ebp - 0x60]
cmp esi, dword [ebp - 0x7c]
jge 0x49868e
lea eax, [esi + esi*2]
mov eax, dword [edx + eax*4]
test dword [eax + 0x18], 0x4000
je 0x49868e
mov eax, dword [ebp - 0x1c]
test byte [eax + esi*4], 8
jne 0x49868e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + eax*4], esi
mov eax, dword [ebp - 0x1c]
or dword [eax + esi*4], 8
inc dword [ebp - 4]
jmp 0x49868e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x498691
jns 0x49868b
cmp esi, 0xfffffffd
je 0x498688
cmp esi, 0xfffffffe
je 0x498683
cmp esi, 0xffffffff
je 0x49867e
push str.solveout_bug1
push 1
call fcn.0044c950
add esp, 8
jmp 0x49868b
inc dword [ebp - 0x20]
jmp 0x49868b
inc dword [ebp - 0x74]
jmp 0x49868b
inc dword [ebp - 0x70]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
jle 0x4986dd
mov esi, dword [ebp - 0x38]
dec ecx
inc dword [esi + ecx*4]
mov esi, dword [ebp - 4]
cmp ecx, dword [ebp - 0x24]
jge 0x4986d7
inc dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x7c]
jge 0x498717
lea eax, [ecx + ecx*2]
mov eax, dword [edx + eax*4]
test dword [eax + 0x18], 0x4000
je 0x498717
mov edx, dword [ebp - 0x1c]
test byte [edx + ecx*4], 8
jne 0x498717
mov eax, dword [ebp - 0x40]
mov dword [eax + esi*4], ecx
or dword [edx + ecx*4], 8
inc esi
mov dword [ebp - 4], esi
jmp 0x498717
inc eax
mov dword [ebp - 8], eax
jmp 0x498717
jns 0x49870e
cmp ecx, 0xfffffffd
je 0x498709
cmp ecx, 0xfffffffe
je 0x498704
cmp ecx, 0xffffffff
je 0x4986ff
push str.solveout_bug
push 1
call fcn.0044c950
add esp, 8
jmp 0x498717
inc dword [ebp - 0x20]
jmp 0x498717
inc dword [ebp - 0x74]
jmp 0x498717
inc dword [ebp - 0x70]
jmp 0x498717
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
add edi, 4
cmp edi, esi
jb 0x498568
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x34]
add eax, edx
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
je 0x49875b
push ecx
push dword [ebp - 0x58]
push edx
push dword [ebp - 0x10]
push dword [ebp - 0x44]
push dword [ebp - 0x30]
push str.solve_out:_ndefb___d__ndefc___d__ndefo___d__nldc___d__nudc___d__nelim___d_n
call fcn.004c9490
add esp, 0x1c
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0xbc]
cmp ecx, eax
je 0x49877d
push eax
push ecx
push str.solve_out:_nldc___d__P__ldef___d_n
call fcn.004c9490
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x54]
mov dword [edi + 0x154], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x158], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x15c], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x160], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x164], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x170], eax
mov dword [edi + 0x168], edx
add edx, eax
add edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x58]
add edx, ecx
mov dword [edi + 0x14c], ecx
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
mov dword [esi + 0x150], edi
mov edi, esi
mov dword [edi + 0x178], edx
add edx, eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x180], ecx
mov ecx, dword [ebp - 0x64]
mov dword [edi + 0x174], edx
mov eax, dword [eax + 0xa8]
sub eax, ecx
mov dword [edi + 0x118], ecx
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], edx
mov edx, dword [edi + 0x1c8]
mov edi, dword [ebp - 0x14]
lea ecx, [edx + eax*4]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x44]
lea eax, [edx + eax*4]
mov dword [ebp - 0x4c], eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
lea eax, [eax + ecx*4]
mov dword [ebp - 0x48], eax
mov eax, esi
mov ecx, dword [eax + 0x1d8]
cmp ecx, dword [ebp - 0x18]
jae 0x49888c
mov edi, dword [ebp - 0x18]
mov esi, dword [ecx]
add ecx, 4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + esi*4]
test al, 0x80
jne 0x498885
mov dword [edx], esi
add edx, 4
cmp ecx, edi
jb 0x498871
mov edi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x7c], eax
test edi, edi
jle 0x498a88
movsd xmm1, qword [0x4fc4a0]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + ecx*4]
mov edx, dword [edx + eax*4 - 4]
mov eax, edx
sar eax, 2
or eax, edx
sar eax, 8
and eax, 3
jmp dword [eax*4 + 0x498e7c]
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0xe8]
test edx, edx
je 0x498aea
mov eax, dword [eax + 0xe4]
mov ecx, edx
lea edi, [edx + eax*4]
cmp edx, edi
jae 0x498abc
mov esi, dword [ecx]
add ecx, 4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + esi*4]
test al, 0x80
jne 0x498ab8
mov dword [edx], esi
add edx, 4
cmp ecx, edi
jb 0x498aa4
mov esi, dword [ebp - 0x5c]
lea eax, [esi*4]
push eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0xa8]
sub ecx, esi
mov esi, dword [ebp - 0x54]
mov eax, dword [esi + 0x1c8]
lea eax, [eax + ecx*4]
push eax
push edx
call fcn.004cfba0
add esp, 0xc
jmp 0x498aed
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x84]
cmp edi, dword [ebp - 0x88]
jle 0x498b34
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x498b34
mov ecx, dword [esi + 0x1c4]
lea edx, [edi*4]
add ecx, edx
lea edx, [ecx + eax*4]
mov eax, dword [ebp - 0x88]
sub eax, edi
lea esi, [ecx + eax*4]
sub ecx, 4
cmp ecx, esi
jb 0x498b34
mov eax, dword [ecx]
lea edx, [edx - 4]
sub ecx, 4
mov dword [edx], eax
cmp ecx, esi
jae 0x498b26
mov ecx, dword [ebp - 0x38]
xor esi, esi
mov eax, dword [ebp - 4]
mov edx, ecx
mov dword [ebp - 0x9c], edx
test eax, eax
je 0x498bbc
xor edi, edi
test eax, eax
jle 0x498b7e
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + edi*4]
inc edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
and dword [eax + ecx*4], 0xfffffff7
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + ecx*4]
not eax
mov dword [esi + ecx*4], eax
cmp edi, dword [ebp - 4]
jl 0x498b55
mov edx, dword [ebp - 0x9c]
xor esi, esi
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
lea edi, [ecx + eax*4]
cmp ecx, edi
jae 0x498bb8
mov eax, dword [edx]
test eax, eax
js 0x498b92
mov dword [edx], esi
add esi, eax
add edx, 4
cmp edx, edi
jb 0x498b88
mov edx, ecx
nop dword [eax + eax]
mov ecx, dword [edx]
test ecx, ecx
jns 0x498baf
or eax, 0xffffffff
mov dword [edx], esi
sub eax, ecx
add esi, eax
add edx, 4
cmp edx, edi
jb 0x498ba0
jmp 0x498bbc
mov edx, ecx
xor esi, esi
mov ecx, dword [ebp - 0x40]
cmp edx, ecx
jae 0x498bd0
mov eax, dword [edx]
mov dword [edx], esi
add edx, 4
add esi, eax
cmp edx, ecx
jb 0x498bc3
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0xa4]
mov edx, dword [eax + 0x1c4]
add edi, edx
mov ecx, edx
cmp edx, edi
jae 0x498bff
mov esi, dword [ecx]
add ecx, 4
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi*4]
test al, 0x50
jne 0x498bfb
mov dword [edx], esi
add edx, 4
cmp ecx, edi
jb 0x498be7
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x20]
lea eax, [edx + eax*4]
mov dword [ebp - 0x7c], eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x88], eax
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
cmp ecx, dword [ebp - 0x48]
jae 0x498d76
nop
mov eax, dword [ecx]
add ecx, 4
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x2c], ecx
mov esi, dword [esi + eax*4]
mov eax, dword [ebp - 0x8c]
dec esi
add edi, esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x4c], edi
mov ecx, dword [eax + esi*4]
mov edi, dword [eax + edi*4]
mov dword [ebp - 0xa4], ecx
test edi, edi
jle 0x498c9b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x4c]
mov eax, dword [eax + edi*4 - 4]
mov dword [ecx + eax*4], esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x9c]
inc dword [eax + edi*4 - 4]
jmp 0x498ce3
jns 0x498cfd
cmp edi, 0xfffffffd
je 0x498cd2
cmp edi, 0xfffffffe
je 0x498cbc
cmp edi, 0xffffffff
jne 0x498cd8
mov eax, dword [ebp - 0x7c]
mov edi, eax
add eax, 4
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x7c], eax
jmp 0x498cdb
mov eax, dword [ebp - 0x88]
mov edi, eax
add eax, 4
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x88], eax
jmp 0x498cdb
mov dword [ebp - 0xc], edx
add edx, 4
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4c]
mov dword [edi], eax
mov eax, dword [ebp - 0x38]
test ecx, ecx
jle 0x498d24
mov eax, dword [eax + ecx*4 - 4]
mov edi, dword [ebp - 0x64]
mov dword [edi + eax*4], esi
mov eax, dword [ebp - 0x38]
inc dword [eax + ecx*4 - 4]
jmp 0x498d6a
test ecx, ecx
jne 0x498ce0
mov eax, dword [ebp - 0x50]
test byte [eax + esi*4], 0x10
je 0x498d17
mov eax, dword [ebp - 0x28]
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x28], eax
jmp 0x498d6a
mov eax, dword [ebp - 0x68]
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x68], eax
jmp 0x498d6a
jns 0x498d6a
cmp ecx, 0xfffffffd
je 0x498d5b
cmp ecx, 0xfffffffe
je 0x498d45
cmp ecx, 0xffffffff
jne 0x498d65
mov eax, dword [ebp - 0x7c]
mov ecx, eax
add eax, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x7c], eax
jmp 0x498d68
mov eax, dword [ebp - 0x88]
mov ecx, eax
add eax, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x88], eax
jmp 0x498d68
mov ecx, edx
add edx, 4
mov dword [ebp - 0xc], ecx
jmp 0x498d68
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x48]
jb 0x498c40
cmp dword [ebp - 0x5c], 0
je 0x498db5
cmp dword [0x521758], 1
jle 0x498db5
mov esi, dword [ebp - 0xa0]
push 0
push esi
call fcn.00454710
add esp, 4
push eax
call fcn.00448750
mov ecx, dword [ebp - 0x54]
push esi
push dword [ebp - 0x98]
push eax
mov dword [ecx + 0x1dc], eax
call fcn.004cfba0
add esp, 0x14
push dword [ebp - 0x94]
call fcn.00416cd0
add esp, 4
cmp dword [0x540f10], 1
jle 0x498e61
mov esi, dword [ebx + 8]
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x498df1
push dword [esi + 0xb8]
push eax
push str._d_linear_definitional_constraints_eliminated___d_fills__n
call fcn.004c9490
add esp, 0xc
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x498e61
push eax
push str._d_nonlinear_definitional_constraints_eliminated_n
call fcn.004c9490
mov eax, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x498e22
push eax
push str._t_d_for_both_constraints_and_objectives_n
call fcn.004c9490
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x498e37
push eax
push str._t_d_for_constraints_only_n
call fcn.004c9490
add esp, 8
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x498e4c
push eax
push str._t_d_for_objectives_only_n
call fcn.004c9490
add esp, 8
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x498e61
push eax
push str._t_d_unused_n
call fcn.004c9490
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret