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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
push ebx
push esi
push edi
push 0x88
call fcn.0040adf0
mov esi, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [eax]
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [ebx + 0x84], 0
cmp edi, 2
je 0x408882
cmp edi, 3
je 0x408882
cmp edi, 4
je 0x408882
mov esi, dword [ebp + 8]
mov edi, dword [esi]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [edi*4]
push eax
mov dword [esp + 0x3c], edi
call fcn.0040adf0
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.00403520
mov esi, dword [esp + 0x34]
add esp, 0x1c
cmp esi, 1
jne 0x407ce0
push str.WARNING:_training_data_in_only_one_class._See_README_for_details._n
call fcn.004024d0
add esp, 4
lea eax, [edi*4]
push eax
call fcn.0040adf0
add esp, 4
mov dword [esp + 0x88], eax
test edi, edi
jle 0x407d21
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0xa8]
mov edx, dword [edx + 8]
sub ecx, eax
mov dword [esp + 0x44], edi
mov edi, edi
mov edi, dword [ecx + eax]
mov edi, dword [edx + edi*4]
mov dword [eax], edi
add eax, 4
dec dword [esp + 0x44]
jne 0x407d10
lea edx, [esi*8]
push edx
call fcn.0040adf0
add esp, 4
mov dword [esp + 0x8c], eax
test esi, esi
jle 0x407d62
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
fld qword [eax + 0x30]
lea ecx, [ecx*8 - 5]
lea edi, [esi + 8]
fstp qword [esi]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
xor edi, edi
cmp dword [ecx + 0x38], edi
jle 0x407dd3
xor eax, eax
test esi, esi
jle 0x407d8e
mov ecx, dword [ecx + 0x3c]
mov ecx, dword [ecx + edi*4]
jmp 0x407d80
mov edx, dword [esp + 0x7c]
cmp ecx, dword [edx + eax*4]
je 0x407d8e
inc eax
cmp eax, esi
jl 0x407d80
cmp eax, esi
jne 0x407db4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx + edi*4]
push edx
push str.WARNING:_class_label__d_specified_in_weight_is_not_found_n
call fcn.0040a6c9
add eax, 0x40
push eax
call fcn.0040a05c
add esp, 0xc
jmp 0x407dca
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x40]
mov ecx, dword [esp + 0x8c]
fld qword [edx + edi*8]
fmul qword [ecx + eax*8]
fstp qword [ecx + eax*8]
mov ecx, dword [ebp + 0xc]
inc edi
cmp edi, dword [ecx + 0x38]
jl 0x407d6c
mov edi, dword [esp + 0x38]
push edi
call fcn.0040adf0
add esp, 4
mov dword [esp + 0x48], eax
test edi, edi
jle 0x407df4
push edi
push 0
push eax
call fcn.00409750
add esp, 0xc
lea eax, [esi - 1]
mov dword [esp + 0x68], eax
imul eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov eax, edi
shl eax, 4
push eax
mov dword [esp + 0x60], edi
call fcn.0040adf0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
xor eax, eax
add esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], eax
cmp dword [ecx + 0x5c], eax
je 0x407e52
lea eax, [edi*8]
push eax
call fcn.0040adf0
mov dword [esp + 0x70], eax
lea eax, [edi*8]
push eax
call fcn.0040adf0
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], 0
test esi, esi
jle 0x408136
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x8c]
sub eax, ecx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x58], esi
mov edi, edi
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x3c], eax
jge 0x40810d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov edi, eax
lea eax, [edx + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add eax, 8
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
sub eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x64], ecx
mov edi, edi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x80]
mov ecx, dword [eax + edx]
mov ebx, dword [eax]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [edx + ecx]
mov ecx, dword [ecx]
lea esi, [ecx + ebx]
lea eax, [esi*4]
push eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x94], esi
call fcn.0040adf0
lea ecx, [esi*8]
push ecx
mov dword [esp + 0xa0], eax
call fcn.0040adf0
add esp, 8
mov dword [esp + 0x94], eax
test ebx, ebx
jle 0x407f86
mov ecx, dword [esp + 0x44]
fld1
mov edx, dword [esp + 0x88]
fstp qword [eax]
lea edx, [edx + ecx*4]
lea ecx, [ebx*8 - 5]
shr ecx, 2
mov esi, eax
lea edi, [eax + 8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x98]
mov ecx, ebx
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x4c], 0
jle 0x407fd6
mov ecx, dword [esp + 0x60]
fld qword [0x41b580]
mov edx, dword [esp + 0x98]
fstp qword [eax + ebx*8]
lea esi, [eax + ebx*8]
mov eax, dword [esp + 0x88]
lea eax, [eax + ecx*4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
lea ecx, [eax*8 - 5]
shr ecx, 2
lea edi, [esi + 8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
lea edx, [edx + ebx*4]
mov ecx, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x5c], 0
je 0x40801c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
add edx, eax
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x38]
fld qword [eax]
sub esp, 0x10
fstp qword [esp + 8]
lea ebx, [esp + 0xa8]
fld qword [ecx]
fstp qword [esp]
push edx
call fcn.00407670
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x38]
add esp, 0x1c
mov eax, dword [esp + 0x30]
fld qword [eax]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [esp + 0xc0]
fld qword [ecx]
mov ecx, dword [ebp + 0xc]
fstp qword [esp]
push edx
lea esi, [esp + 0xa4]
call fcn.00406d20
fldz
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 4], edx
mov edx, dword [eax + 0xc]
mov dword [edi + 8], ecx
add esp, 0x14
xor ecx, ecx
mov dword [edi + 0xc], edx
test ebx, ebx
jle 0x408091
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x44]
cmp byte [edx + ecx], 0
jne 0x40808c
mov eax, dword [edi]
fld qword [eax + ecx*8]
fabs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x40808c
mov byte [edx + ecx], 1
inc ecx
cmp ecx, ebx
jl 0x408072
mov esi, dword [esp + 0x4c]
xor ecx, ecx
test esi, esi
jle 0x4080cb
mov edx, dword [esp + 0x60]
add ebx, ebx
add ebx, ebx
add ebx, ebx
add edx, dword [esp + 0x48]
cmp byte [edx + ecx], 0
jne 0x4080c3
mov eax, dword [edi]
fld qword [eax + ebx]
fabs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4080c3
mov byte [edx + ecx], 1
inc ecx
add ebx, 8
cmp ecx, esi
jl 0x4080a9
mov ecx, dword [esp + 0x98]
fstp st(0)
push ecx
call fcn.004099d7
mov edx, dword [esp + 0x98]
push edx
call fcn.004099d7
add dword [esp + 0x58], 4
mov eax, 8
add dword [esp + 0x1c], eax
add dword [esp + 0x38], eax
add edi, 0x10
add esp, 8
dec dword [esp + 0x70]
mov dword [esp + 0x1c], edi
jne 0x407ef0
add dword [esp + 0x24], 8
add dword [esp + 0x10], 4
mov eax, 1
add dword [esp + 0x3c], eax
sub dword [esp + 0x58], eax
jne 0x407e90
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x5c]
lea eax, [esi*4]
push eax
mov dword [ebx + 0x60], esi
call fcn.0040adf0
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x7c], eax
test esi, esi
jle 0x408161
mov edx, dword [esp + 0x7c]
mov edx, dword [edx + ecx*4]
mov dword [eax + ecx*4], edx
inc ecx
cmp ecx, esi
jl 0x408152
lea eax, [edi*8]
push eax
call fcn.0040adf0
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x70], eax
cmp edi, 4
jl 0x4081ab
mov edx, dword [esp + 0x28]
lea esi, [edi - 3]
add edx, 0x18
fld qword [edx - 0x10]
add ecx, 4
fstp qword [eax + ecx*8 - 0x20]
add edx, 0x40
fld qword [edx - 0x40]
fstp qword [eax + ecx*8 - 0x18]
fld qword [edx - 0x30]
fstp qword [eax + ecx*8 - 0x10]
fld qword [edx - 0x20]
fstp qword [eax + ecx*8 - 8]
cmp ecx, esi
jl 0x408185
cmp ecx, edi
jge 0x4081cf
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x28]
mov edx, ecx
add edx, edx
lea edx, [eax + edx*8 + 8]
mov eax, edi
sub eax, ecx
fld qword [edx]
add edx, 0x10
fstp qword [esi]
add esi, 8
dec eax
jne 0x4081c2
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ecx + 0x5c], eax
je 0x408306
mov esi, dword [esp + 0x5c]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.0040adf0
mov edi, eax
push esi
mov dword [ebx + 0x74], edi
call fcn.0040adf0
xor edx, edx
add esp, 8
cmp dword [esp + 0x5c], 4
mov dword [ebx + 0x78], eax
mov dword [esp + 0x14], edx
jl 0x4082c6
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
lea esi, [edx + 0x18]
sub edx, dword [esp + 0x40]
add ebx, 0xfffffffc
mov dword [esp + 0x20], edx
mov edx, 8
sub edx, dword [esp + 0x40]
shr ebx, 2
mov dword [esp + 0x54], edx
mov edx, 0x10
sub edx, dword [esp + 0x40]
inc ebx
mov dword [esp + 0x84], edx
mov dword [esp + 0x58], ebx
mov edx, 0xfffffff8
sub edx, dword [esp + 0x40]
add ebx, ebx
add ecx, 8
add ebx, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
jmp 0x408274
mov edx, dword [esp + 0x34]
fld qword [esi - 0x18]
add edx, ecx
fstp qword [edi + edx]
add esi, 0x20
fld qword [ecx - 8]
fstp qword [eax + edx]
fld qword [ebx + ecx]
fstp qword [edi + edx + 8]
fld qword [ecx]
fstp qword [eax + edx + 8]
mov edx, dword [esp + 0x54]
fld qword [esi - 0x28]
add edx, ecx
fstp qword [edi + edx]
fld qword [ecx + 8]
fstp qword [eax + edx]
mov edx, dword [esp + 0x84]
fld qword [esi - 0x20]
add edx, ecx
fstp qword [edi + edx]
add ecx, 0x20
dec dword [esp + 0x58]
fld qword [ecx - 0x10]
fstp qword [eax + edx]
jne 0x408270
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x5c]
jge 0x40830c
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + 0x74]
mov esi, dword [esp + 0x40]
mov edi, dword [edi + 0x78]
lea eax, [ecx + edx*8]
mov edx, dword [esp + 0x6c]
sub edx, ecx
sub esi, ecx
sub edi, ecx
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x14]
nop
fld qword [edx + eax]
add eax, 8
dec ecx
fstp qword [eax - 8]
fld qword [esi + eax - 8]
fstp qword [edi + eax - 8]
jne 0x4082f0
jmp 0x40830c
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov ebx, dword [esp + 0x18]
lea esi, [ebx*4]
push esi
mov dword [esp + 0x14], 0
call fcn.0040adf0
push esi
mov dword [esp + 0x4c], eax
call fcn.0040adf0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov dword [ecx + 0x80], eax
add esp, 8
xor eax, eax
test ebx, ebx
jle 0x4083a0
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
sub ecx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
sub ecx, edx
mov dword [esp + 0x54], ecx
mov edi, edi
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + edx]
xor esi, esi
test edi, edi
jle 0x40838a
mov ecx, dword [edx]
add ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x40837e
inc esi
inc ebx
inc ecx
dec edi
jne 0x408377
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [ecx + eax*4], esi
mov ecx, dword [esp + 0x54]
mov dword [ecx + edx], esi
inc eax
add edx, 4
cmp eax, ebx
jl 0x408360
mov esi, dword [esp + 0x10]
push esi
push 0x41b600
call fcn.004024d0
mov edi, dword [esp + 0x34]
lea edx, [esi*4]
push edx
mov dword [edi + 0x64], esi
call fcn.0040adf0
mov esi, dword [esp + 0x44]
add esp, 0xc
xor ecx, ecx
mov dword [edi + 0x68], eax
test esi, esi
jle 0x4083f4
xor edx, edx
mov edi, dword [esp + 0x48]
cmp byte [edi + ecx], 0
je 0x4083ef
mov edi, dword [esp + 0x88]
mov edi, dword [edi + ecx*4]
mov dword [edx + eax], edi
add edx, 4
inc ecx
cmp ecx, esi
jl 0x4083d5
lea eax, [ebx*4]
push eax
call fcn.0040adf0
mov esi, eax
mov eax, 1
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esi], 0
cmp ebx, eax
jle 0x408432
mov ecx, dword [esp + 0x44]
mov edx, esi
sub edx, ecx
mov edi, dword [edx + ecx]
add edi, dword [ecx]
inc eax
mov dword [esi + eax*4 - 4], edi
add ecx, 4
cmp eax, ebx
jl 0x408421
mov eax, dword [esp + 0x18]
lea ecx, [eax*4 - 4]
push ecx
call fcn.0040adf0
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
mov esi, eax
add esp, 4
xor edi, edi
mov dword [esp + 0x70], esi
mov dword [edx + 0x6c], esi
test ebx, ebx
jle 0x408485
mov eax, dword [esp + 0x10]
lea ecx, [eax*8]
mov dword [esp + 0x34], ecx
lea esp, [esp]
mov edx, dword [esp + 0x34]
push edx
call fcn.0040adf0
mov dword [esi + edi*4], eax
inc edi
add esp, 4
cmp edi, ebx
jl 0x408470
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], 0
test edx, edx
jle 0x4087ca
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x74]
sub ecx, eax
mov dword [esp + 0x58], ecx
sub ebx, eax
mov ecx, 4
mov edi, 1
sub ecx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x34], edx
jmp 0x4084e0
cmp edi, dword [esp + 0x18]
jge 0x4087af
mov edx, dword [esp + 0x58]
mov edx, dword [eax + edx]
add ecx, eax
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
lea ecx, [eax + 4]
shl edx, 4
add edx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x18]
sub ecx, edi
add dword [esp + 0x64], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x84], ecx
mov edi, dword [eax + ebx]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [ecx + ebx]
mov dword [esp + 0x68], ebx
mov ebx, dword [eax]
mov eax, dword [ecx]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], ebx
cmp ebx, 4
jl 0x4085e5
mov ebx, dword [esp + 0x48]
lea edi, [edi + ebx + 1]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x10]
cmp byte [edi + eax - 1], 0
je 0x40857d
mov edi, dword [edx]
mov ebx, dword [esp + 0x24]
fld qword [edi + eax*8]
mov ebx, dword [ebx + esi - 4]
fstp qword [ebx + ecx*8]
inc ecx
mov edi, dword [esp + 0x10]
cmp byte [edi + eax], 0
je 0x408599
mov edi, dword [edx]
mov ebx, dword [esp + 0x24]
fld qword [edi + eax*8 + 8]
mov ebx, dword [ebx + esi - 4]
fstp qword [ebx + ecx*8]
inc ecx
mov edi, dword [esp + 0x10]
cmp byte [edi + eax + 1], 0
je 0x4085b6
mov edi, dword [edx]
mov ebx, dword [esp + 0x24]
fld qword [edi + eax*8 + 0x10]
mov ebx, dword [ebx + esi - 4]
fstp qword [ebx + ecx*8]
inc ecx
mov edi, dword [esp + 0x10]
cmp byte [edi + eax + 2], 0
je 0x4085d3
mov edi, dword [edx]
mov ebx, dword [esp + 0x24]
fld qword [edi + eax*8 + 0x18]
mov ebx, dword [ebx + esi - 4]
fstp qword [ebx + ecx*8]
inc ecx
mov ebx, dword [esp + 0x30]
add eax, 4
lea edi, [ebx - 3]
cmp eax, edi
jl 0x408561
mov edi, dword [esp + 0x38]
cmp eax, ebx
jge 0x408630
add ecx, ecx
add ecx, ecx
add ecx, ecx
add edi, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax], 0
je 0x408627
mov ecx, dword [edx]
mov ebx, dword [esp + 0x2c]
fld qword [ecx + eax*8]
mov ebx, dword [ebx + 0x6c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [edi + ebx - 4]
fstp qword [ecx + ebx]
add ecx, 8
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x30]
inc eax
cmp eax, ebx
jl 0x4085ff
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov eax, dword [ecx + eax]
xor ecx, ecx
cmp dword [esp + 0x50], 4
jl 0x408712
lea edi, [ebx*8]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x48]
lea edi, [ebx + edi + 1]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x10]
cmp byte [edi + ecx - 1], 0
je 0x408687
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + esi]
mov edi, dword [edx]
mov ebx, dword [esp + 0x3c]
fld qword [ebx + edi]
inc eax
fstp qword [esi + eax*8 - 8]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x10]
cmp byte [edi + ecx], 0
je 0x4086ab
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + esi]
mov edi, dword [edx]
mov ebx, dword [esp + 0x3c]
fld qword [ebx + edi + 8]
inc eax
fstp qword [esi + eax*8 - 8]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x10]
cmp byte [edi + ecx + 1], 0
je 0x4086d1
mov edi, dword [esp + 0x30]
mov edx, dword [edx]
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + esi]
add edi, ecx
fld qword [edx + edi*8 + 0x10]
mov edx, dword [esp + 0x14]
fstp qword [ebx + eax*8]
inc eax
mov edi, dword [esp + 0x10]
cmp byte [edi + ecx + 2], 0
je 0x4086f7
mov edi, dword [esp + 0x30]
mov edx, dword [edx]
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + esi]
add edi, ecx
fld qword [edx + edi*8 + 0x18]
mov edx, dword [esp + 0x14]
fstp qword [ebx + eax*8]
inc eax
mov edi, dword [esp + 0x50]
add dword [esp + 0x3c], 0x20
add ecx, 4
add edi, 0xfffffffd
cmp ecx, edi
jl 0x408663
mov ebx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x50]
jge 0x408778
lea edi, [ecx + ebx]
mov ebx, dword [esp + 0x68]
add eax, eax
add edi, edi
add eax, eax
add edi, edi
add eax, eax
add edi, edi
add ebx, dword [esp + 0x48]
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x68]
cmp byte [eax + ecx], 0
je 0x40876a
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 0x6c]
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx + edi]
mov eax, dword [edx]
mov edi, dword [esp + 0x14]
fld qword [edi + eax]
mov eax, dword [esp + 0x38]
fstp qword [eax + ebx]
add eax, 8
mov dword [esp + 0x38], eax
inc ecx
add edi, 8
mov dword [esp + 0x14], edi
cmp ecx, dword [esp + 0x50]
jl 0x40873b
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x60]
mov ecx, 4
add dword [esp + 0x24], ecx
add dword [esp + 0x4c], ecx
add edx, 0x10
dec dword [esp + 0x84]
mov dword [esp + 0x14], edx
jne 0x408525
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0xa4]
add dword [esp + 0x1c], 4
inc edi
add eax, 4
dec dword [esp + 0x34]
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], eax
jne 0x4084e0
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004099d7
mov edx, dword [esp + 0x70]
push edx
call fcn.004099d7
mov eax, dword [esp + 0x48]
push eax
call fcn.004099d7
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004099d7
mov edx, dword [esp + 0xb8]
push edx
call fcn.004099d7
mov eax, dword [esp + 0x88]
push eax
call fcn.004099d7
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.004099d7
mov edx, dword [esp + 0xa8]
push edx
call fcn.004099d7
mov eax, dword [esp + 0x68]
push eax
call fcn.004099d7
mov edi, dword [esp + 0x80]
add esp, 0x24
test edi, edi
jle 0x408856
mov esi, dword [esp + 0x28]
mov ecx, dword [esi]
push ecx
call fcn.004099d7
add esp, 4
add esi, 0x10
dec edi
jne 0x408845
mov edx, dword [esp + 0x28]
push edx
call fcn.004099d7
mov eax, dword [esp + 0x48]
push eax
call fcn.004099d7
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004099d7
mov eax, dword [esp + 0x38]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
push 4
mov dword [ebx + 0x60], 2
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
call fcn.0040adf0
mov edx, dword [ebp + 0xc]
add esp, 4
cmp dword [edx + 0x5c], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [ebx + 0x6c], eax
je 0x4088dc
cmp edi, 3
je 0x4088c0
cmp edi, 4
jne 0x4088dc
push 8
call fcn.0040adf0
mov edi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, esi
mov dword [ebx + 0x74], edi
call fcn.004033b0
fstp qword [edi]
add esp, 8
fldz
sub esp, 0x10
fst qword [esp + 8]
lea ecx, [esp + 0xc0]
fstp qword [esp]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00406d20
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xa4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 8
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
call fcn.0040adf0
fld qword [esp + 0xb0]
fstp qword [eax]
mov edx, dword [esi]
fldz
mov dword [ebx + 0x70], eax
add esp, 0x18
xor edi, edi
xor ebx, ebx
cmp edx, 4
jl 0x4089b1
mov ecx, dword [esp + 0x90]
add ecx, 0x10
mov dword [esp + 0x28], ecx
lea ecx, [edx - 4]
shr ecx, 2
inc ecx
lea ebx, [ecx*4]
mov eax, dword [esp + 0x28]
fld qword [eax - 0x10]
fabs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x408971
inc edi
mov eax, dword [esp + 0x28]
fld qword [eax - 8]
fabs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x408984
inc edi
mov eax, dword [esp + 0x28]
fld qword [eax]
fabs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x408996
inc edi
mov eax, dword [esp + 0x28]
fld qword [eax + 8]
fabs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4089a9
inc edi
add dword [esp + 0x28], 0x20
dec ecx
jne 0x40895e
cmp ebx, edx
jge 0x4089d0
mov ecx, dword [esp + 0x90]
fld qword [ecx + ebx*8]
fabs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4089cb
inc edi
inc ebx
cmp ebx, edx
jl 0x4089bc
mov ecx, dword [esp + 0x2c]
fstp st(0)
lea edx, [edi*4]
push edx
mov dword [ecx + 0x64], edi
call fcn.0040adf0
mov ebx, eax
mov eax, dword [esp + 0x30]
lea ecx, [edi*8]
push ecx
mov dword [esp + 0xac], ebx
mov dword [eax + 0x68], ebx
call fcn.0040adf0
mov edx, dword [esp + 0x28]
xor ecx, ecx
add esp, 8
mov dword [edx], eax
cmp dword [esi], ecx
jle 0x408a5d
fldz
xor edi, edi
xor edx, edx
mov eax, dword [esp + 0x90]
fld qword [eax + ecx*8]
fabs
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x408a56
mov eax, dword [esi + 8]
mov eax, dword [eax + ecx*4]
mov dword [edx + ebx], eax
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x20]
fld qword [ebx + ecx*8]
mov eax, dword [eax]
mov ebx, dword [esp + 0xa4]
fstp qword [edi + eax]
add edx, 4
add edi, 8
inc ecx
cmp ecx, dword [esi]
jl 0x408a18
fstp st(0)
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004099d7
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret