Function at 0x43cf00
Capabilities:
Delete file
Move file
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4a5b40]
mov ecx, dword [0x48038c]
push ebx
push esi
mov esi, dword [0x4804e0]
push edi
lea edi, [ecx + eax*2]
add edi, eax
add edi, dword [0x4804b0]
dec esi
add edi, esi
lea edi, [edi + edi + 5]
imul edi, esi
add edi, dword [0x489ac8]
add edi, edi
add edi, edi
add edi, edi
call fcn.00409ea0
mov edx, dword [0x4804b0]
mov ecx, dword [0x48038c]
imul edx, esi
mov edi, dword [0x489ac8]
imul ecx, esi
mov dword [esp + 0x2c], eax
lea eax, [eax + edx*8]
mov edx, dword [0x4a5b40]
imul edx, esi
lea ebx, [eax + ecx*8]
inc edi
imul edi, dword [0x489aac]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebx
lea ebx, [ebx + edx*8]
mov ecx, esi
lea eax, [ebx + esi*8]
imul ecx, esi
lea eax, [eax + esi*8]
mov dword [esp + 0x14], eax
lea eax, [eax + esi*8]
lea eax, [eax + esi*8]
mov dword [esp + 0x38], eax
add edi, edi
lea eax, [eax + esi*8]
lea edx, [eax + ecx*8]
add edi, edi
add edi, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], edx
call fcn.00409ea0
mov ecx, dword [0x489aac]
fld1
lea edx, [eax + ecx*8]
mov dword [esp + 0x50], eax
mov eax, esi
shl eax, 5
cmp dword [0x489a8c], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], eax
je 0x43cffe
mov eax, 1
cmp esi, eax
jle 0x43cffe
lea ecx, [eax + 1]
mov edx, ecx
imul edx, dword [0x4a5b40]
sub edx, esi
add edx, eax
mov eax, dword [esp + 0x1c]
fst qword [eax + edx*8]
mov eax, ecx
cmp eax, esi
jl 0x43cfe1
mov ecx, dword [0x469488]
fstp st(0)
mov eax, 0x460734
call fcn.00409020
mov ecx, dword [0x4899d8]
mov dword [esp + 0x24], eax
mov eax, 0x460f08
call fcn.00409020
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], edi
cmp dword [0x4802e0], edi
jle 0x43d45b
mov ecx, dword [0x468cc0]
mov eax, dword [ecx + edi*4]
mov dword [esp + 0x4c], eax
add eax, eax
add eax, eax
je 0x43d064
mov edx, dword [esp + 0x24]
push edx
push 1
push eax
mov eax, dword [0x468c08]
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
mov ecx, dword [0x468cc0]
mov eax, dword [ecx + edi*4]
imul eax, dword [0x489ac8]
add eax, eax
add eax, eax
add eax, eax
je 0x43d092
mov edx, dword [esp + 0x24]
push edx
push 1
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
mov ecx, dword [0x468cc0]
mov eax, dword [ecx + edi*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [0x468c08]
add eax, eax
add eax, eax
call fcn.004091b0
mov edx, dword [0x468cc0]
mov eax, dword [edx + edi*4]
imul eax, dword [0x489ac8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
add eax, eax
add eax, eax
add eax, eax
call fcn.004091b0
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x4c], eax
jle 0x43d44a
jmp 0x43d0f4
mov eax, dword [esp + 0x20]
mov ecx, dword [0x468c08]
mov edx, dword [esp + 0x48]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x10], ecx
test edx, edx
je 0x43d126
mov eax, dword [esp + 0x24]
push eax
push 1
push edx
lea eax, [ebx + esi*8]
push eax
call dword [sym.imp.MSVCR100.dll_fread]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [0x476e24]
imul edx, edi
push ecx
mov ecx, dword [0x4a5b5c]
lea edx, [ecx + edx*8]
mov ecx, dword [0x489ac8]
imul ecx, eax
cmp dword [0x489a8c], 0
push edx
mov edx, dword [esp + 0x2c]
lea eax, [edx + ecx*8]
push eax
push esi
je 0x43d16b
call fcn.0043cd00
jmp 0x43d170
call fcn.0043ca50
mov ecx, dword [esp + 0x38]
mov edx, dword [0x4a5b40]
mov eax, dword [esp + 0x30]
add esp, 0x1c
push ecx
push 1
push edx
mov edx, dword [0x468b7c]
push esi
call fcn.00407fc0
mov eax, dword [0x4804b0]
mov edx, dword [0x468c30]
mov ecx, eax
imul ecx, edi
mov edi, dword [esp + 0x24]
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x3c]
push ecx
push 1
push eax
push esi
mov eax, edi
call fcn.00408290
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x34]
push eax
push edi
push esi
call fcn.00423950
fld1
mov edi, dword [esp + 0x68]
add esp, 0x30
fst qword [esp + 0x58]
test esi, esi
jle 0x43d28f
mov eax, dword [esp + 0x14]
sub eax, edi
mov ecx, ebx
sub ecx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x40], esi
jmp 0x43d204
mov eax, dword [esp + 0x54]
cmp dword [0x489a9c], 8
fstp st(0)
mov ecx, dword [esp + 0x10]
fld qword [eax + ecx]
jge 0x43d246
fld qword [0x466e50]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x43d22f
fstp st(0)
fld qword [0x466d10]
jmp 0x43d246
fld qword [0x466e48]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x43d246
fstp st(0)
fld qword [0x466db8]
cmp dword [0x489a8c], 0
je 0x43d268
fchs
call sub.MSVCR100.dll__CIexp
fld1
fadd st(1), st(0)
mov edx, dword [esp + 0x10]
fdivrp st(1)
fstp qword [edx]
fld qword [esp + 0x58]
jmp 0x43d280
call sub.MSVCR100.dll__CIexp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
fst qword [eax + ecx]
fadd qword [esp + 0x58]
fst qword [esp + 0x58]
add dword [esp + 0x10], 8
dec dword [esp + 0x40]
jne 0x43d200
cmp dword [0x489a8c], 0
jne 0x43d31c
xor eax, eax
mov dword [esp + 0x10], eax
cmp esi, 4
jl 0x43d2fd
mov edx, ebx
sub edx, edi
mov dword [esp + 0xc], edx
lea edx, [esi - 4]
shr edx, 2
inc edx
mov dword [esp + 0x40], edx
add edx, edx
add edx, edx
lea ecx, [ebx + 0x18]
lea eax, [edi + 8]
mov dword [esp + 0x10], edx
fld qword [ecx - 0x18]
mov edx, dword [esp + 0xc]
fdiv st(1)
add eax, 0x20
add ecx, 0x20
dec dword [esp + 0x40]
fstp qword [eax - 0x28]
fld qword [eax + edx - 0x20]
fdiv st(1)
fstp qword [eax - 0x20]
fld qword [ecx - 0x28]
fdiv st(1)
fstp qword [eax - 0x18]
fld qword [ecx - 0x20]
fdiv st(1)
fstp qword [eax - 0x10]
jne 0x43d2c8
mov eax, dword [esp + 0x10]
cmp eax, esi
jge 0x43d31c
mov edx, ebx
mov ecx, esi
sub edx, edi
sub ecx, dword [esp + 0x10]
lea eax, [edi + eax*8]
fld qword [eax + edx]
add eax, 8
dec ecx
fdiv st(1)
fstp qword [eax - 8]
jne 0x43d30e
mov eax, dword [esp + 0x14]
fstp st(0)
push edi
lea ecx, [eax + esi*8]
push 1
mov edx, ebx
mov eax, esi
call fcn.00408900
add esp, 8
cmp dword [0x489a8c], 0
je 0x43d53c
fld1
xor edx, edx
cmp esi, 4
jl 0x43d3d8
lea ecx, [ebx + esi*8 + 0x10]
sub ebx, edi
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x34]
lea ebx, [ebx + esi*8]
sub ebx, edi
lea eax, [edi + 8]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x54], ebx
mov ebx, edi
lea edi, [edi + esi*8]
sub ebx, edi
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x34]
fld st(0)
mov edi, dword [esp + 0xc]
fsub qword [eax - 8]
add edx, 4
add eax, 0x20
add ecx, 0x20
fmul qword [eax - 0x28]
fdivr qword [ebx + edx*8 - 0x20]
fstp qword [ecx - 0x30]
fld st(0)
fsub qword [eax - 0x20]
fmul qword [eax - 0x20]
fdivr qword [eax + edi - 0x20]
mov edi, dword [esp + 0x54]
fstp qword [eax + edi - 0x20]
mov edi, dword [esp + 0x40]
fld st(0)
fsub qword [eax - 0x18]
fmul qword [eax - 0x18]
fdivr qword [ecx + edi - 0x20]
lea edi, [esi - 3]
fstp qword [ecx - 0x20]
fld st(0)
fsub qword [eax - 0x10]
fmul qword [eax - 0x10]
fdivr qword [ebx + edx*8 - 8]
fstp qword [ecx - 0x18]
cmp edx, edi
jl 0x43d37b
mov edi, dword [esp + 0x38]
cmp edx, esi
jge 0x43d40a
mov ecx, ebx
sub ecx, edi
mov dword [esp + 0xc], ecx
lea eax, [edi + edx*8]
lea ecx, [ebx + esi*8]
sub ecx, edi
mov edi, esi
sub edi, edx
mov edx, dword [esp + 0xc]
fld st(0)
add eax, 8
dec edi
fsub qword [eax - 8]
fmul qword [eax - 8]
fdivr qword [eax + edx - 8]
fstp qword [eax + ecx - 8]
jne 0x43d3f4
fstp st(0)
mov ecx, dword [esp + 0x14]
push ecx
lea edi, [ebx + esi*8]
push 1
mov edx, edi
mov ecx, edi
mov eax, esi
call fcn.00408850
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
add esp, 8
mov edx, edi
call fcn.004091b0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x4c]
jl 0x43d0f0
inc edi
mov dword [esp + 0x3c], edi
cmp edi, dword [0x4802e0]
jl 0x43d03a
mov ecx, dword [0x4a5b40]
fld qword [0x468c58]
mov eax, dword [0x468b7c]
fstp qword [0x468c68]
lea edx, [ecx*8]
mov ecx, dword [0x468cb4]
push edx
push eax
push ecx
call sub.MSVCR100.dll_memcpy
mov eax, dword [0x4804b0]
mov edx, dword [0x468c44]
imul eax, eax
add eax, eax
add eax, eax
add esp, 0xc
add eax, eax
push eax
mov eax, dword [0x468c70]
push edx
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [0x48038c]
mov ecx, dword [0x468c4c]
imul eax, eax
mov edx, dword [0x468c50]
add eax, eax
add eax, eax
add esp, 0xc
add eax, eax
push eax
push ecx
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0xc
push eax
call esi
mov ecx, dword [esp + 0x2c]
add esp, 4
push ecx
call esi
mov edx, dword [0x469488]
add esp, 4
push edx
call dword [sym.imp.MSVCR100.dll_remove]
mov eax, dword [0x469488]
mov ecx, dword [0x4899d8]
add esp, 4
push eax
push ecx
call dword [sym.imp.MSVCR100.dll_rename]
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 8
test eax, eax
je 0x43d527
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x43d535
push eax
call esi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea edi, [edi + esi*8]
push edi
call fcn.0043c400
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x4c]
push esi
push esi
push ecx
push edx
push edi
push esi
call fcn.00407460
add esp, 0x20
test eax, eax
jne 0x43d57a
mov eax, dword [esp + 0x44]
push eax
push 1
push esi
push esi
lea eax, [ebx + esi*8]
mov edx, ebx
call fcn.00407fc0
add esp, 0x10
jmp 0x43d40c
mov esi, dword [sym.imp.MSVCR100.dll_printf]
push str.The_level_1_weight_matrix_is_near_singular._Unable_to_continue._n
call esi
add esp, 4
push 0x12
push str.Bad_exit_code__d_n
call esi
add esp, 8
cmp dword [0x4a5b3c], 0
je 0x43d618
cmp dword [0x489ad0], 0
je 0x43d618
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x43d5ea
mov edx, dword [0x489ad0]
push edx
call dword [sym.imp.MSVCR100.dll__ftelli64]
add esp, 4
push edx
push eax
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x43d608
mov ecx, dword [0x489ad0]
push str.__body___html__n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov edx, dword [0x489ad0]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov eax, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push eax
call esi
mov ecx, dword [0x4899d8]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802bc]
add esp, 4
push edx
call esi
mov eax, dword [0x4802cc]
add esp, 4
push eax
call esi
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x43d6cc
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x43d6b0
push 0x12
call dword [sym.imp.MSVCR100.dll_exit]
int3