Function at 0x1006d3a0
Capabilities:
Encrypt data using curve25519
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x100f3420]
push ebx
push esi
movups xmmword [ebp - 0x44], xmm0
mov eax, edx
mov ebx, ecx
movups xmm0, xmmword [0x100f3430]
push edi
mov dword [ebp - 0x624], eax
mov esi, dword [eax + 0x20]
lea eax, [ebx + 0xe0]
movups xmmword [ebp - 0x34], xmm0
push 0x20
movups xmm0, xmmword [0x100f3448]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x630], ebx
movups xmmword [ebp - 0x24], xmm0
push 0x20
movups xmm0, xmmword [0x100f3458]
push eax
mov ecx, eax
mov dword [ebp - 0x61c], esi
movups xmmword [ebp - 0x14], xmm0
call fcn.1006c5f0
add esp, 0xc
lea ecx, [ebp - 0x44]
lea eax, [esi + 8]
mov dword [ebp - 0x620], eax
push ecx
push 0x20
push eax
lea ecx, [ebp - 0x678]
call fcn.10061f10
add esp, 0xc
mov byte [ebp - 0x658], 1
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x658]
push 1
push eax
mov ecx, eax
call fcn.10061f10
push 0x20
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100a82c0
add esp, 0x1c
lea edi, [ebp - 0x678]
xor al, al
mov ecx, 0x41
rep stosb byte es:[edi], al
push 0x20
lea edi, [esi + 8]
push edi
lea eax, [ebp - 0x24]
push 0x20
push eax
mov ecx, eax
call fcn.1006c5f0
lea eax, [ebx + 0xc0]
push edi
push eax
lea edx, [ebp - 0x5f8]
lea ecx, [ebp - 0x44]
call fcn.1006c690
lea eax, [ebp - 0x5f8]
add esi, 0x28
push eax
push 0
push 0
push 0x20
lea eax, [ebp - 0x24]
mov edx, esi
push eax
push 0x30
lea ecx, [ebp - 0x618]
call fcn.10065180
add esp, 0x30
test al, al
je 0x1006d9fe
push 0x30
push esi
lea eax, [ebp - 0x24]
push 0x20
push eax
mov ecx, eax
call fcn.1006c5f0
add esp, 0x10
lea eax, [ebp - 0x618]
mov ecx, ebx
push eax
call fcn.1006c970
mov esi, eax
test esi, esi
jne 0x1006d536
mov edi, dword [ebp - 0x624]
nop dword [eax + eax]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x1006d9fe
mov eax, dword [ecx]
lea edx, [ebp - 0x618]
push edi
push edx
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1006d9fe
lea eax, [ebp - 0x618]
mov ecx, ebx
push eax
call fcn.1006c970
mov esi, eax
test esi, esi
je 0x1006d500
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + 0x1a0]
push 0x20
push eax
lea ecx, [ebp - 0x678]
call fcn.10061f10
add esp, 0xc
mov byte [ebp - 0x658], 1
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x658]
push 1
push eax
mov ecx, eax
call fcn.10061f10
push 0x20
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100a82c0
add esp, 0x18
mov byte [ebp - 0x638], 2
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x658]
push 0x21
push eax
mov ecx, eax
call fcn.10061f10
push 0x20
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x5f8]
push eax
call fcn.100a82c0
movups xmm0, xmmword [ebp - 0x24]
xor al, al
lea edi, [ebp - 0x678]
mov ecx, 0x41
add esp, 0x1c
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x624]
movups xmmword [ebp - 0x618], xmm0
movups xmm0, xmmword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
sub eax, 0x94
mov dword [ebp - 0x62c], eax
movups xmmword [ebp - 0x608], xmm0
cmp eax, 0x564
ja 0x1006d9fe
mov ebx, dword [ebp - 0x61c]
lea edi, [eax + 0x1c]
push edi
add ebx, 0x58
lea eax, [ebp - 0x24]
push ebx
push 0x20
push eax
mov ecx, eax
call fcn.1006c5f0
lea eax, [ebp - 0x5f8]
mov edx, ebx
push eax
push 0
push 0
push 0x20
lea eax, [ebp - 0x618]
push eax
push edi
lea ecx, [ebp - 0x5d8]
call fcn.10065180
add esp, 0x28
test al, al
je 0x1006d9fe
lea ecx, [ebp - 0x5d8]
mov edi, 8
lea edx, [esi + 0x1c0]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006d66d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1006d658
xor edi, edi
jmp 0x1006d699
movzx edi, al
movzx eax, byte [edx]
sub edi, eax
jne 0x1006d699
movzx edi, byte [ecx + 1]
movzx eax, byte [edx + 1]
sub edi, eax
jne 0x1006d699
movzx edi, byte [ecx + 2]
movzx eax, byte [edx + 2]
sub edi, eax
jne 0x1006d699
movzx edi, byte [ecx + 3]
movzx eax, byte [edx + 3]
sub edi, eax
test edi, edi
jle 0x1006d9fe
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
add edi, 0x14
adc ecx, 0
cmp edx, ecx
jb 0x1006d9fe
ja 0x1006d6c5
cmp eax, edi
jb 0x1006d9fe
mov edi, dword [ebp - 0x61c]
lea ecx, [ebp - 0x5f8]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
mov edx, 0x20
movq xmm0, qword [ebp - 0x5d8]
movq qword [esi + 0x1c0], xmm0
mov eax, dword [ebp - 0x5d0]
mov dword [esi + 0x1c8], eax
mov eax, dword [ebp - 0x620]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x618], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x608], xmm0
mov ebx, dword [edi + 4]
mov dword [eax], ebx
call fcn.10056230
mov al, byte [ebp - 0x5d9]
lea edx, [ebp - 0x5f8]
and byte [ebp - 0x5f8], 0xf8
and al, 0x3f
add edi, 0xc
or al, 0x40
push 0x100f33d0
mov ecx, edi
mov byte [ebp - 0x5d9], al
mov dword [ebp - 0x628], edi
call fcn.100683a0
add esp, 4
lea eax, [ebp - 0x24]
mov ecx, eax
push 0x20
push edi
push 0x20
push eax
call fcn.1006c5f0
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x678]
push eax
push 0x20
push edi
call fcn.10061f10
add esp, 0xc
mov byte [ebp - 0x658], 1
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x658]
push 1
push eax
mov ecx, eax
call fcn.10061f10
push 0x20
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100a82c0
xor al, al
lea edi, [ebp - 0x678]
add esp, 0x1c
mov ecx, 0x41
rep stosb byte es:[edi], al
lea eax, [ebp - 0x618]
xor edx, edx
push eax
lea eax, [ebp - 0x5f8]
push eax
lea ecx, [ebp - 0x44]
call fcn.1006c690
lea eax, [esi + 0x160]
xor edx, edx
push eax
lea eax, [ebp - 0x5f8]
push eax
lea ecx, [ebp - 0x44]
call fcn.1006c690
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push 0x20
lea eax, [esi + 0x180]
push eax
push ecx
lea eax, [ebp - 0x5f8]
push eax
push ecx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x44]
call fcn.100621b0
push 0x20
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push 0x20
push eax
mov ecx, eax
call fcn.1006c5f0
push ebx
lea edx, [ebp - 0x44]
xor cl, cl
call fcn.1006e070
add esp, 0x34
mov dword [ebp - 0x620], eax
test eax, eax
je 0x1006d9fe
mov edi, dword [ebp - 0x62c]
lea ecx, [ebp - 0x5cc]
push edi
push ecx
push eax
mov ecx, esi
call fcn.1006df40
test al, al
je 0x1006d9ea
xor ebx, ebx
test edi, edi
je 0x1006d878
mov eax, dword [ebp - 0x61c]
push ecx
add eax, 0x30
mov ecx, esi
push eax
call fcn.1006de10
mov ebx, eax
mov edi, dword [ebp - 0x630]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1006d901
mov ecx, dword [eax]
mov eax, 0x560
push dword [ebp - 0x628]
sub eax, ebx
push eax
mov eax, dword [ebp - 0x61c]
mov edx, dword [ecx + 0x20]
add eax, 0x30
mov ecx, dword [edi + 0x18]
add eax, ebx
push eax
lea eax, [ebp - 0x618]
push eax
push dword [ebp - 0x62c]
lea eax, [ebp - 0x5cc]
push eax
push esi
call edx
mov ecx, eax
mov dword [ebp - 0x628], ecx
cmp ecx, 0xffffffff
je 0x1006d9ea
test ecx, ecx
jns 0x1006d8f9
mov edx, dword [ebp - 0x620]
xor eax, eax
mov dword [ebp - 0x620], eax
test edx, edx
je 0x1006d8f9
push 0x1b8
push edx
call fcn.1009091b
mov ecx, dword [ebp - 0x628]
add esp, 8
and ecx, 0x7fffffff
add ebx, ecx
test ebx, ebx
je 0x1006d915
mov eax, dword [ebp - 0x61c]
add ebx, 4
mov dword [eax + 0x2c], 0x5354
mov ecx, dword [ebp - 0x620]
test ecx, ecx
je 0x1006d932
push ecx
push esi
mov ecx, edi
call fcn.1006c430
mov ecx, dword [ebp - 0x620]
mov edx, eax
jmp 0x1006d934
xor edx, edx
mov eax, dword [ebp - 0x61c]
mov edi, dword [ebp - 0x624]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x1c]
add dword [esi + 0xe8], eax
adc dword [esi + 0xec], 0
test ecx, ecx
je 0x1006d99c
cmp byte [esi + 0x35], 0
je 0x1006d984
cmp byte [ecx + 0x11], 0
je 0x1006d984
movups xmm0, xmmword [edi + 0x28]
movups xmmword [esi + 0x68], xmm0
movq xmm0, qword [edi + 0x38]
movq qword [esi + 0x78], xmm0
mov eax, dword [edi + 0x40]
mov dword [esi + 0x80], eax
mov al, byte [edi + 0x25]
mov byte [esi + 0x3b], al
push ecx
mov ecx, esi
call fcn.1006e1b0
mov eax, dword [esi + 0x20]
and eax, 0xfffffefb
or eax, 0x600
mov dword [esi + 0x20], eax
lea eax, [ebx + 0x5c]
mov dword [edi + 0x1c], eax
add dword [esi + 0xf0], eax
lea eax, [ebp - 0x5f8]
mov edi, dword [ebp - 0x61c]
adc dword [esi + 0xf4], 0
push eax
push 0
push 0
push 0x20
lea eax, [ebp - 0x24]
lea ecx, [edi + 0x2c]
push eax
push ebx
mov edx, ecx
call fcn.10064f80
add esp, 0x18
mov dword [edi], 2
lea eax, [edi + 0x3c]
mov ecx, esi
add eax, ebx
push eax
push edi
call fcn.1006e2c0
jmp 0x1006da00
mov eax, dword [ebp - 0x620]
push 0x1b8
push eax
call fcn.1009091b
add esp, 8
xor esi, esi
xor eax, eax
lea edi, [ebp - 0x24]
mov ecx, 8
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x44]
mov ecx, 8
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x5f8]
mov ecx, 8
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x64]
mov ecx, 8
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100908e7
mov esp, ebp
pop ebp
ret