Function at 0x6fecba40
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x23c
mov edi, dword [esp + 0x250]
mov eax, dword [esp + 0x254]
mov dword [esp + 0x48], ecx
mov esi, dword [edi]
lea edi, [ecx + 0xbb0]
lea edx, [eax*4]
shl eax, 5
sub eax, edx
mov edx, edi
add esi, eax
mov eax, ecx
add eax, 0xa0
mov ebx, eax
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esp + 0x58], edi
mov edi, ecx
mov ecx, ebx
mov dword [esp], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x7c], esi
call fcn.6fd5bd80
mov ecx, ebx
sub esp, 4
call fcn.6fd5ef70
mov ecx, ebx
xor ebx, ebx
mov dword [esp + 4], ebp
xor ebp, ebp
mov dword [esp], esi
mov esi, 4
call fcn.6fd61860
mov edx, dword [edi + 0x16c]
mov eax, dword [edi + 0x168]
fld qword [edi + 0xf70]
shrd eax, edx, 0xf
xor edi, edi
sub esp, 8
mov dword [esp + 0x20], eax
fst qword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x24], ebx
fild qword [esp + 0x20]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], eax
fmul st(1)
fstp qword [esp + 0x50]
fld qword [str.v_w0]
fstp qword [esp + 0x68]
jmp 0x6fecbb3f
fstp st(1)
mov eax, dword [esp + 0x48]
xor esi, esi
xor ebx, ebx
mov ecx, dword [esp + 0x4c]
mov ebp, 1
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, esi
shl eax, 5
add eax, esi
cmp dword [esp + 0x30], 4
mov dword [esp + 0x38], eax
je 0x6fecbcbc
nop
cmp ebp, 4
jg 0x6fecbe11
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
mov eax, dword [edi]
lea edx, [esi + ebp]
mov esi, dword [eax + edx*4]
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
add eax, ebp
test esi, esi
je 0x6fecbcf0
mov edi, dword [edi + eax*4]
test edi, edi
js 0x6fecbdd0
lea eax, [esi + edi*2]
lea ecx, [esi + esi]
cdq
idiv ecx
cmp eax, 0xfffffffa
jl 0x6fecbd10
cmp eax, 7
mov edx, 7
cmovle edx, eax
cmp dword [esp + 0x30], 4
mov dword [esp + 0x20], edx
jne 0x6fecbd24
mov edx, dword [esp + 0x20]
test edx, edx
je 0x6fecbc78
mov edx, dword [esp + 0x20]
neg edi
mov ebx, edi
add ebx, ebx
nop
xor eax, eax
fld st(0)
mov dword [esp + 0x20], eax
nop
lea esi, [esi]
mov ecx, edx
sar ecx, 0x1f
mov eax, ecx
xor eax, edx
sub eax, ecx
cmp eax, 7
lea ecx, [eax + 2]
mov eax, 8
cmove ecx, eax
mov eax, edx
mov dword [esp + 0x28], ecx
imul eax, esi
fild dword [esp + 0x28]
add eax, ebx
imul eax, edx
fmul st(2)
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
faddp st(1)
fxch st(1)
fcomi st(1)
jbe 0x6fecbc63
fstp st(0)
fst qword [esp + ebp*8 + 0x120]
mov dword [esp + ebp*4 + 0xa0], eax
mov dword [esp + 0x20], edx
jmp 0x6fecbc65
fstp st(1)
test edx, edx
lea eax, [edx - 1]
lea ecx, [edx + 1]
cmovle eax, ecx
test eax, eax
mov edx, eax
jne 0x6fecbc10
fstp st(0)
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov dword [edi], eax
cmp dword [esp + 0x30], 4
je 0x6fecbcab
mov edi, dword [esp + 0x38]
imul esi, eax
lea edx, [edi + ebp]
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + edx*4]
neg edx
lea edx, [esi + edx*2]
imul eax, edx
cdq
add dword [esp + 0x40], eax
adc dword [esp + 0x44], edx
inc ebp
add dword [esp + 0x34], 4
cmp dword [esp + 0x30], 4
jne 0x6fecbb80
cmp ebp, 0x21
je 0x6fecc263
mov edi, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + ebp*4 + 0xa0], ecx
fst qword [esp + ebp*8 + 0x120]
mov eax, dword [edi]
mov esi, dword [eax + ebp*4 + 0x210]
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], eax
jmp 0x6fecbba0
mov dword [edi + eax*4], 0
mov eax, dword [esp + 0x34]
mov dword [eax], 0
xor eax, eax
jmp 0x6fecbc82
cmp dword [esp + 0x30], 4
je 0x6fecbe02
mov edx, 0xfffffff9
mov dword [esp + 0x20], edx
cmp ebp, 2
mov eax, dword [esp + 0x20]
jg 0x6fecbde5
test eax, eax
mov edx, 0
cmovns edx, eax
test edx, edx
je 0x6fecbdf7
neg edi
add edi, edi
cmp dword [esp + 0x30], 4
mov ebx, edi
je 0x6fecbc00
xor eax, eax
mov dword [esp + 0x20], eax
fld st(0)
mov eax, 7
jmp 0x6fecbd70
mov ebx, edx
sar ebx, 0x1f
mov ecx, ebx
xor ecx, edx
sub ecx, ebx
cmp ecx, 7
lea ebx, [ecx + 1]
mov ecx, edx
cmove ebx, eax
mov dword [esp + 0x18], ebx
imul ecx, esi
fild dword [esp + 0x18]
add ecx, edi
imul ecx, edx
fmul st(2)
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
faddp st(1)
fxch st(1)
fcomi st(1)
jbe 0x6fecbdb0
fstp st(0)
mov dword [esp + 0x20], edx
jmp 0x6fecbdb2
fstp st(1)
lea ecx, [edx + 1]
test edx, edx
lea ebx, [edx - 1]
mov edx, ecx
cmovg edx, ebx
test edx, edx
jne 0x6fecbd70
fstp st(0)
jmp 0x6fecbc78
mov eax, edi
mov ecx, esi
neg eax
neg ecx
lea eax, [esi + eax*2]
add ecx, ecx
cdq
idiv ecx
jmp 0x6fecbbc6
test eax, eax
mov edx, 0
cmovle edx, eax
test edx, edx
jne 0x6fecbd43
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x6fecbc78
neg edi
mov edx, 0xfffffff9
lea ebx, [edi + edi]
jmp 0x6fecbc00
fstp st(0)
xor eax, eax
mov ecx, 4
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x30]
mov ebx, 3
mov esi, 2
mov edx, 1
mov dword [esp + 0x8c], eax
xor eax, eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov eax, edi
shl eax, 5
add eax, edi
mov edi, dword [esp + 0x60]
add edx, eax
mov edx, dword [edi + edx*4]
mov dword [esp + 0x94], edx
lea edx, [eax + esi]
mov esi, dword [esp + 0x64]
mov edx, dword [edi + edx*4]
mov dword [esp + 0x98], edx
lea edx, [eax + ebx]
add eax, ecx
mov eax, dword [edi + eax*4]
mov ecx, esi
mov edx, dword [edi + edx*4]
xor edi, edi
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x9c], edx
mov dword [esp], eax
call fcn.6fd5bd80
mov ecx, esi
sub esp, 4
call fcn.6fd5ef70
lea eax, [esp + 0x88]
mov ecx, esi
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.6fd61860
sub esp, 8
mov eax, dword [esp + 0x48]
fld qword [eax + 0xf70]
mov edx, dword [eax + 0x16c]
mov eax, dword [eax + 0x168]
shrd eax, edx, 0xf
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
fmul st(1)
fild qword [esp + 0x40]
faddp st(1)
fld qword [esp + 0x50]
fcompi st(1)
jbe 0x6fecbf52
mov esi, dword [esp + 0x7c]
fstp qword [esp + 0x50]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x44]
mov dword [esi], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
jmp 0x6fecbf54
fstp st(0)
inc dword [esp + 0x30]
add dword [esp + 0x4c], 0x84
fld st(0)
mov eax, dword [esp + 0x30]
cmp eax, 5
jne 0x6fecbb3d
fstp st(0)
fild qword [esp + 0x70]
xor ebx, ebx
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x264]
mov ecx, esi
fdivrp st(1)
fstp qword [eax]
mov dword [esp], edi
call fcn.6fd5bd80
mov ecx, esi
sub esp, 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.6fd61860
mov ecx, edi
sub esp, 8
mov dword [esp], esi
xor esi, esi
call fcn.6fd5bd80
sub esp, 4
mov eax, dword [esp + 0x25c]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x260]
mov byte [esp + 0x18], 0
not eax
shr eax, 0x1f
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x25c]
lea edx, [eax*4]
shl eax, 5
sub eax, edx
mov edx, dword [esp + 0x258]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x258]
shl edx, 5
shl eax, 2
sub edx, eax
mov eax, dword [esp + 0x258]
mov dword [esp + 0x78], edx
not eax
shr eax, 0x1f
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x20]
xor eax, 1
and al, 1
test al, al
je 0x6fecc233
cmp byte [esp + 0x64], 0
je 0x6fecc233
mov esi, dword [esp + 0x250]
mov eax, dword [esp + 0x68]
mov edx, dword [esi]
add eax, edx
test eax, eax
je 0x6fecc3fe
mov esi, dword [eax + 4]
test esi, esi
mov dword [esp + 0x30], esi
js 0x6fecc3bf
cmp dword [esp + 0x30], 4
mov esi, dword [eax + 8]
je 0x6fecc3d9
mov ebx, 3
mov ecx, 4
mov dword [esp + 0x60], ebx
mov ebp, 2
mov ebx, 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], ecx
mov esi, dword [eax + 0xc]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], esi
mov ecx, dword [edx]
mov esi, dword [edx + 8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov esi, ecx
mov ecx, dword [eax + 0x10]
shl edx, 5
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
add ecx, ebx
mov esi, dword [esi + ecx*4]
mov ebx, dword [edx + ecx*4]
mov edx, dword [esp + 0x34]
neg ebx
imul esi, edx
mov dword [esp + 0x58], ebx
mov ecx, esi
mov esi, dword [esp + 0x58]
lea ecx, [ecx + esi*2]
mov esi, dword [esp + 0x38]
imul ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], ecx
add edx, ebp
sar ecx, 0x1f
mov dword [esp + 0x5c], ecx
mov ecx, edx
mov edx, dword [esp + 0x28]
mov ebp, dword [esi + ecx*4]
mov edx, dword [edx + ecx*4]
neg edx
mov ebx, edx
mov edx, dword [esp + 0x3c]
imul ebp, edx
lea ecx, [ebp + ebx*2]
imul ecx, edx
mov edx, dword [esp + 0x60]
mov ebx, ecx
sar ebx, 0x1f
add ecx, dword [esp + 0x58]
adc ebx, dword [esp + 0x5c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov ebx, dword [eax + 0x14]
mov ebp, ebx
mov ebx, dword [esp + 0x4c]
mov eax, dword [eax + 0x18]
add edx, ebx
mov ecx, edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + ecx*4]
neg edx
mov ebx, edx
mov edx, ebp
imul ebp, dword [esi + ecx*4]
mov dword [esp + 0x60], edx
lea ecx, [ebp + ebx*2]
imul ecx, edx
mov ebx, ecx
mov edx, ecx
sar ebx, 0x1f
add edx, dword [esp + 0x58]
mov ecx, ebx
adc ecx, dword [esp + 0x5c]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x4c]
add ecx, edx
mov edx, dword [esp + 0x28]
mov ebp, dword [esi + ecx*4]
mov ebx, dword [edx + ecx*4]
mov edx, eax
imul ebp, eax
neg ebx
lea ecx, [ebp + ebx*2]
imul ecx, eax
mov ebx, ecx
sar ebx, 0x1f
mov esi, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x3c]
add ebx, dword [esp + 0x58]
adc esi, dword [esp + 0x5c]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x60]
fild qword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x20]
mov dword [edi + 0xc], ebx
mov ebx, dword [esp + 0x264]
mov dword [edi + 0x10], ecx
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
cmp esi, 1
mov dword [edi + 0x18], edx
mov dword [edi + 8], eax
sbb eax, eax
add eax, 2
mov dword [edi], eax
mov eax, dword [esp + 0x48]
fdiv qword [eax + 0xf70]
fstp qword [ebx + esi*8 + 8]
inc byte [esp + 0x18]
add edi, 0x1c
movzx eax, byte [esp + 0x18]
and al, 1
cmp dword [esp + 0x20], 1
mov byte [esp + 0x18], al
je 0x6fecc3b2
mov ecx, 1
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
xor eax, 1
and al, 1
test al, al
jne 0x6fecc02d
movzx eax, byte [esp + 0x18]
and al, 1
test al, al
je 0x6fecc3fe
movzx eax, byte [esp + 0x70]
test al, al
je 0x6fecc3fe
mov esi, dword [esp + 0x250]
mov eax, dword [esp + 0x78]
mov ebp, dword [esi]
add eax, ebp
jmp 0x6fecc047
fstp st(0)
fld qword [esp + 0x128]
lea ebx, [esp + 0x140]
xor ecx, ecx
fld qword [esp + 0x130]
fld qword [esp + 0x138]
jmp 0x6fecc28b
fxch st(1)
fxch st(2)
fxch st(1)
fadd st(1), st(0)
mov eax, dword [esp + 0x78]
mov edx, ecx
fld st(1)
fxch st(3)
faddp st(2)
fld qword [ebx]
fadd st(2), st(0)
fld qword [esp + 0x68]
fcomi st(3)
cmova eax, ecx
fcmovnb st(0), st(3)
fstp st(3)
fld qword [ebx + 8]
fadd st(4), st(0)
fxch st(4)
fadd st(1)
fxch st(3)
fcomi st(3)
fld st(0)
fcmovnb st(0), st(4)
fxch st(4)
fcompi st(1)
fstp st(0)
jae 0x6fecc2c6
lea eax, [ecx + 1]
fld qword [ebx + 0x10]
add ecx, 3
fadd st(2), st(0)
fxch st(2)
fadd st(1)
fadd st(4)
fcomi st(3)
fld st(0)
fcmovnb st(0), st(4)
add edx, 2
fstp qword [esp + 0x68]
fxch st(3)
fcompi st(3)
fstp st(2)
cmova eax, edx
add ebx, 0x18
mov dword [esp + 0x78], eax
mov eax, 0x1d
sub eax, ecx
cmp ecx, 0x1b
jne 0x6fecc285
fstp st(0)
fstp st(0)
fstp st(0)
mov ebx, dword [esp + 0x78]
lea ecx, [eax + 0x1b]
mov eax, 0x1b
lea edx, [esp + 0x200]
fld qword [esp + 0x68]
fld qword [edx + 8]
fadd qword [edx]
fadd qword [edx + 0x10]
fadd qword [edx + 0x18]
fld qword [esp + 0x68]
fcomi st(1)
fcmovnb st(0), st(1)
fst qword [esp + 0x68]
fxch st(2)
fcompi st(1)
fstp st(0)
cmova ebx, eax
inc eax
add edx, 8
cmp eax, ecx
jne 0x6fecc31a
fstp st(0)
lea ecx, [ebx + 1]
mov esi, dword [esp + ebx*4 + 0xa4]
mov eax, dword [esp + ecx*4 + 0xa4]
mov dword [esp + 0x78], ebx
mov edi, esi
cdq
sar edi, 0x1f
add esi, eax
adc edi, edx
mov ebp, edi
mov edi, esi
lea esi, [ebx + 2]
mov eax, dword [esp + esi*4 + 0xa4]
cdq
add edi, eax
adc ebp, edx
add ebx, 3
mov eax, dword [esp + ebx*4 + 0xa4]
cdq
add edi, eax
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x78]
adc ebp, edx
xor eax, eax
mov edx, ecx
mov dword [esp + 0x88], eax
mov eax, 4
mov dword [esp + 0x8c], eax
mov dword [esp + 0x44], ebp
mov eax, edi
lea ecx, [edi + 4]
jmp 0x6fecbe3d
add esp, 0x23c
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
mov ebx, dword [eax + 0xc]
fldz
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
jmp 0x6fecc1bf
mov edx, esi
mov dword [esp + 0x40], esi
lea ebx, [esi + 1]
add esi, 2
mov ebp, esi
mov esi, edx
add esi, 3
mov dword [esp + 0x60], esi
mov esi, edx
add esi, 4
mov dword [esp + 0x50], esi
jmp 0x6fecc08c
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
jmp 0x6fecc1fc