Function at 0x649e50
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.006dbb70
mov eax, dword [0x790f00]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
mov esi, dword [esp + 0x94]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x80]
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 1
call fcn.005bb6e0
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
jle 0x649ee1
mov eax, dword [esp + 0xa0]
xor edx, edx
div ecx
cmp eax, 0xffffffff
jb 0x649ef6
call fcn.005bc180
push str.pbkdf2_derive
push 0x149
push str.providersimplementationskdfspbkdf2.c
call fcn.005bc280
push ebp
push 0x69
push 0x39
call fcn.005bc330
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.006daf70
add esp, 0x6c
ret
cmp dword [esp + 0xa4], ebp
je 0x649f9a
mov eax, dword [esp + 0xa0]
shl eax, 3
cmp eax, 0x70
jae 0x649f34
call fcn.005bc180
push str.pbkdf2_derive
push 0x14f
push str.providersimplementationskdfspbkdf2.c
call fcn.005bc280
push 0
push 0xab
jmp 0x649ed7
cmp dword [esp + 0x8c], 0x10
jge 0x649f60
call fcn.005bc180
push str.pbkdf2_derive
push 0x153
push str.providersimplementationskdfspbkdf2.c
call fcn.005bc280
push 0
push 0x70
jmp 0x649ed7
cmp dword [esp + 0x94], ebp
ja 0x649f9a
jb 0x649f78
cmp dword [esp + 0x90], 0x3e8
jae 0x649f9a
call fcn.005bc180
push str.pbkdf2_derive
push 0x157
push str.providersimplementationskdfspbkdf2.c
call fcn.005bc280
push 0
push 0x7b
jmp 0x649ed7
call fcn.006bc850
mov dword [esp + 0x1c], eax
test eax, eax
je 0x649ee1
push 0
push esi
push dword [esp + 0x8c]
push edi
push eax
call fcn.006bca40
add esp, 0x14
test eax, eax
je 0x64a274
call fcn.006bc850
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x64a272
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x64a264
mov edx, 1
nop
cmp ecx, dword [esp + 0x20]
mov esi, ecx
push dword [esp + 0x1c]
cmovg esi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x18], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x19], al
mov eax, edx
shr eax, 8
push edi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], dl
call fcn.006bc730
add esp, 8
test eax, eax
je 0x64a26c
push dword [esp + 0x8c]
push dword [esp + 0x34]
push edi
call fcn.006bcd50
add esp, 0xc
test eax, eax
je 0x64a26c
push 4
lea eax, [esp + 0x18]
push eax
push edi
call fcn.006bcd50
add esp, 0xc
test eax, eax
je 0x64a26c
push 0
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.006bc990
add esp, 0xc
test eax, eax
je 0x64a26c
push esi
lea eax, [esp + 0x3c]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
add esp, 0xc
mov ebp, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebp
cmp eax, dword [esp + 0x94]
ja 0x64a241
jb 0x64a0c0
cmp ebp, dword [esp + 0x90]
jae 0x64a241
nop dword [eax]
push dword [esp + 0x1c]
push edi
call fcn.006bc730
add esp, 8
test eax, eax
je 0x64a26c
push dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.006bcd50
add esp, 0xc
test eax, eax
je 0x64a26c
push 0
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.006bc990
add esp, 0xc
test eax, eax
je 0x64a26c
xor ecx, ecx
test esi, esi
jle 0x64a213
cmp esi, 8
jb 0x64a1f4
lea edx, [ebx - 1]
lea eax, [esp + esi + 0x37]
add edx, esi
cmp ebx, eax
ja 0x64a133
lea eax, [esp + 0x38]
cmp edx, eax
jae 0x64a1f4
cmp esi, 0x40
jb 0x64a1b5
mov eax, esi
and eax, 0x8000003f
jns 0x64a146
dec eax
or eax, 0xffffffc0
inc eax
mov edx, esi
lea edi, [esp + 0x38]
sub edx, eax
lea ebp, [esp + 0x48]
sub edi, ebx
lea eax, [ebx + 0x20]
sub ebp, ebx
lea esi, [esp + 0x38]
nop dword [eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi + ecx]
xorps xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + ecx + 0x48]
add ecx, 0x40
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [eax + ebp - 0x40]
movups xmm0, xmmword [eax - 0x30]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x64a160
mov esi, dword [esp + 0x34]
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x64a1ec
mov eax, esi
and eax, reloc.WS2_32.dll_getsockopt
jns 0x64a1c3
dec eax
or eax, 0xfffffff8
inc eax
mov edx, esi
lea edi, [esp + 0x38]
sub edx, eax
lea eax, [ecx + ebx]
sub edi, ebx
movq xmm1, qword [eax + edi]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add ecx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp ecx, edx
jl 0x64a1d0
mov ebp, dword [esp + 0x18]
cmp ecx, esi
jge 0x64a20f
lea edi, [esp + 0x38]
mov edx, esi
sub edi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x64a201
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add ebp, 1
mov dword [esp + 0x18], ebp
adc eax, 0
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x94]
jb 0x64a0c0
ja 0x64a241
cmp ebp, dword [esp + 0x90]
jb 0x64a0c0
mov ecx, dword [esp + 0xa0]
add ebx, esi
mov edx, dword [esp + 0x28]
sub ecx, esi
inc edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x28], edx
test ecx, ecx
jne 0x649ff0
mov dword [esp + 0x2c], 1
mov ebp, dword [esp + 0x10]
jmp 0x64a274
mov ebp, eax
push ebp
call fcn.006bc7f0
push dword [esp + 0x20]
call fcn.006bc7f0
mov ecx, dword [esp + 0x80]
add esp, 8
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006daf70
add esp, 0x6c
ret