Function at 0x43cf40
Capabilities:
Encrypt data using curve25519
Generate random numbers via winapi

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a54a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x878
mov eax, dword [0x4c9100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x884], esi
mov dword [ebp - 0x888], ecx
mov edi, dword [ebx + 0xc]
lea eax, [ebp - 0x34]
push 2
push 0x20
push eax
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov al, byte [ebp - 0x15]
add esi, 0x18
and byte [ebp - 0x34], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x15], al
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.004453f0
push edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004453d0
movups xmm0, xmmword [0x4bef28]
add esp, 0x14
lea eax, [ebp - 0x838]
movups xmm1, xmmword [0x4bef18]
movups xmmword [ebp - 0x870], xmm0
push 0x40
movups xmmword [ebp - 0x850], xmm0
push 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x880], xmm1
movups xmmword [ebp - 0x860], xmm1
movlpd qword [ebp - 0x840], xmm0
call fcn.00479c90
add esp, 0xc
mov word [ebp - 0x7f8], 0
lea edx, [ebp - 0x54]
mov byte [ebp - 0x7f6], 0
lea ecx, [ebp - 0x880]
mov byte [ebp - 0x7f0], 0
push 0x20
call fcn.00405620
add esp, 4
lea ecx, [ebp - 0x880]
mov edx, esi
push 0x20
call fcn.00405620
add esp, 4
lea ecx, [ebp - 0x880]
mov edx, edi
push 0x20
call fcn.00405620
sub esp, 8
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x880]
call fcn.00406de0
mov esi, dword [ebp - 0x884]
add esp, 0xc
push 2
push 0x18
push esi
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
push 0xb0
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00479c90
add esp, 0xc
lea ecx, [ebp - 0x104]
push 1
call fcn.00448200
push 1
lea ecx, [ebp - 0x100]
call fcn.00448200
mov dword [ebp - 0xf8], 0xffffffff
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xec], 0
and eax, 0xf
mov dword [ebp - 0x70], 0x3fffffff
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x6c], 0x18
add eax, ecx
mov byte [ebp - 0x77], 1
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x14
mov dword [ebp - 0x108], 0x4bf798
mov dword [ebp - 0x104], 0x4bf85c
mov dword [ebp - 0x100], 0x4bf8a0
mov dword [ebp - 0xe8], 0x4bf8d4
push 0x18
push esi
push 0x20
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x108]
call fcn.0044a340
push dword [ebx + 8]
mov eax, dword [ebp - 0x888]
lea ecx, [ebp - 0x104]
push eax
push eax
call fcn.0044b280
mov ecx, 0x20
lea eax, [ebp - 0x34]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43d175
mov ecx, 0x20
lea eax, [ebp - 0x54]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x43d190
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0x70], ecx
lea edi, [ebp - 0xe0]
mov dword [ebp - 0x108], 0x4bf71c
cmovb ecx, dword [ebp - 0x70]
and eax, 0xf
add eax, edi
mov dword [ebp - 0x104], 0x4bf7e0
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x100], 0x4bf764
mov dword [ebp - 0xe8], 0x4bf824
cmp edi, eax
jne 0x43d1ed
xor eax, eax
mov byte [ebp - 0x77], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0xf0]
test esi, esi
je 0x43d220
mov ecx, dword [ebp - 0xf4]
mov edi, esi
cmp dword [ebp - 0xf8], ecx
push esi
cmovb ecx, dword [ebp - 0xf8]
xor al, al
rep stosb byte es:[edi], al
call fcn.0044c860
add esp, 4
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004615cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret