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

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
mov qword [r11 + 8], rcx
push rbp
push rdi
push r14
lea rbp, [r11 - 0x68]
sub rsp, 0x150
lea eax, [rdx + 0x34f]
mov rdi, r8
mov dword [rbp - 0x60], eax
mov r14, r9
mov r8, rcx
cmp edx, eax
jae 0x180039740
movsxd rax, dword [rbp + 0x78]
xor r10d, r10d
mov qword [r11 + 0x18], rbx
mov ebx, dword [rsp + 0x70]
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0x48], xmm6
movss xmm6, dword [0x180057330]
movaps xmmword [r11 - 0x58], xmm7
movss xmm7, dword [rbp + 0x78]
movaps xmmword [r11 - 0x68], xmm8
movss xmm8, dword [0x1800570d8]
movaps xmmword [r11 - 0x78], xmm9
xorps xmm9, xmm9
movaps xmmword [r11 - 0x88], xmm10
movss xmm10, dword [0x180057238]
movaps xmmword [r11 - 0x98], xmm11
movss xmm11, dword [0x180057174]
movaps xmmword [r11 - 0xa8], xmm12
movss xmm12, dword [0x18005712c]
movaps xmmword [r11 - 0xb8], xmm13
movss xmm13, dword [0x1800570e8]
mov qword [rbp - 0x70], rax
nop dword [rax]
cmp edx, 0x112
ja 0x1800395df
je 0x180038f4a
mov eax, edx
sub eax, 0x43
je 0x180038f37
sub eax, 0x79
je 0x180038dea
cmp eax, 0xd
jne 0x1800396bf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
jmp 0x1800396bf
movss xmm0, dword [r14 + 0x100]
lea rax, [r14 + 0x10c]
mulss xmm0, xmm0
mov ecx, 7
mulss xmm0, xmm12
addss xmm7, xmm0
nop dword [rax]
movss xmm0, dword [rax - 4]
movss xmm1, dword [rax - 0x108]
movss xmm2, dword [rax]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm1, xmm0
movss xmm0, dword [rax - 0x104]
mulss xmm0, xmm0
addss xmm2, xmm0
movss xmm0, dword [rax - 0x100]
addss xmm7, xmm1
mulss xmm0, xmm0
movss xmm1, dword [rax + 4]
mulss xmm1, xmm1
addss xmm7, xmm2
movss xmm2, dword [rax + 8]
mulss xmm2, xmm2
addss xmm0, xmm1
movss xmm1, dword [rax - 0xfc]
mulss xmm1, xmm1
addss xmm1, xmm2
movss xmm2, dword [rax - 0xf8]
addss xmm7, xmm0
mulss xmm2, xmm2
movss xmm0, dword [rax + 0xc]
mulss xmm0, xmm0
addss xmm7, xmm1
movss xmm1, dword [rax + 0x10]
mulss xmm1, xmm1
addss xmm2, xmm0
movss xmm0, dword [rax - 0xf4]
mulss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [rax - 0xf0]
addss xmm7, xmm2
mulss xmm1, xmm1
movss xmm2, dword [rax + 0x14]
mulss xmm2, xmm2
addss xmm7, xmm0
movss xmm0, dword [rax + 0x18]
mulss xmm0, xmm0
addss xmm1, xmm2
movss xmm2, dword [rax - 0xec]
mulss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rax - 0xe8]
addss xmm7, xmm1
mulss xmm0, xmm0
movss xmm1, dword [rax + 0x1c]
add rax, 0x24
mulss xmm1, xmm1
addss xmm7, xmm2
addss xmm0, xmm1
addss xmm7, xmm0
sub rcx, 1
jne 0x180038e10
mulss xmm7, xmm13
movaps xmm0, xmm7
addss xmm0, dword [rdi]
movss dword [rdi], xmm0
jmp 0x1800396bf
movss xmm7, dword [r14]
mulss xmm7, xmm7
mulss xmm7, xmm12
jmp 0x1800396bf
cmp dword [rdi + 0xd928], 0
mov ecx, r10d
mov dword [rsp + 0x68], ecx
jle 0x1800396bf
mov r9, r10
mov qword [rbp - 0x68], r10
nop word [rax + rax]
mov r13d, 0x39
cmp r13d, 0x39
je 0x180039444
cmp r13d, 0x1326
je 0x18003933a
cmp r13d, 0x2613
je 0x180039313
cmp r13d, 0x3900
jne 0x1800395a9
movss xmm0, dword [rdi + rax*4 + 0x4b50]
lea rcx, [r14 + 0x10]
addss xmm0, dword [r14]
mov edx, 3
movss dword [rdi + rax*4 + 0x4b50], xmm0
movss xmm1, dword [r14 + 4]
addss xmm1, dword [rdi + rax*4 + 0x4c50]
movss dword [rdi + rax*4 + 0x4c50], xmm1
add rax, 0x1af5
lea rax, [rdi + rax*4]
nop dword [rax]
movss xmm0, dword [rcx - 8]
addss xmm0, dword [rax - 0x2080]
movss dword [rax - 0x2080], xmm0
movss xmm1, dword [rcx - 4]
addss xmm1, dword [rax]
movss dword [rax], xmm1
movss xmm0, dword [rax - 0x207c]
addss xmm0, dword [rcx]
movss dword [rax - 0x207c], xmm0
movss xmm1, dword [rcx + 4]
addss xmm1, dword [rax + 4]
movss dword [rax + 4], xmm1
movss xmm0, dword [rcx + 8]
addss xmm0, dword [rax - 0x2078]
movss dword [rax - 0x2078], xmm0
movss xmm1, dword [rcx + 0xc]
addss xmm1, dword [rax + 8]
movss dword [rax + 8], xmm1
movss xmm0, dword [rcx + 0x10]
addss xmm0, dword [rax - 0x2074]
movss dword [rax - 0x2074], xmm0
movss xmm1, dword [rcx + 0x14]
addss xmm1, dword [rax + 0xc]
movss dword [rax + 0xc], xmm1
movss xmm0, dword [rcx + 0x18]
addss xmm0, dword [rax - 0x2070]
movss dword [rax - 0x2070], xmm0
movss xmm1, dword [rcx + 0x1c]
addss xmm1, dword [rax + 0x10]
movss dword [rax + 0x10], xmm1
movss xmm0, dword [rcx + 0x20]
addss xmm0, dword [rax - 0x206c]
movss dword [rax - 0x206c], xmm0
movss xmm1, dword [rcx + 0x24]
addss xmm1, dword [rax + 0x14]
movss dword [rax + 0x14], xmm1
movss xmm0, dword [rcx + 0x28]
addss xmm0, dword [rax - 0x2068]
movss dword [rax - 0x2068], xmm0
movss xmm1, dword [rcx + 0x2c]
addss xmm1, dword [rax + 0x18]
movss dword [rax + 0x18], xmm1
movss xmm0, dword [rcx + 0x30]
addss xmm0, dword [rax - 0x2064]
movss dword [rax - 0x2064], xmm0
movss xmm1, dword [rcx + 0x34]
addss xmm1, dword [rax + 0x1c]
movss dword [rax + 0x1c], xmm1
movss xmm0, dword [rcx + 0x38]
addss xmm0, dword [rax - 0x2060]
movss dword [rax - 0x2060], xmm0
movss xmm1, dword [rcx + 0x3c]
addss xmm1, dword [rax + 0x20]
movss dword [rax + 0x20], xmm1
movss xmm0, dword [rcx + 0x40]
addss xmm0, dword [rax - 0x205c]
movss dword [rax - 0x205c], xmm0
movss xmm1, dword [rcx + 0x44]
addss xmm1, dword [rax + 0x24]
movss dword [rax + 0x24], xmm1
movss xmm0, dword [rcx + 0x48]
addss xmm0, dword [rax - 0x2058]
movss dword [rax - 0x2058], xmm0
movss xmm1, dword [rcx + 0x4c]
addss xmm1, dword [rax + 0x28]
movss dword [rax + 0x28], xmm1
movss xmm0, dword [rcx + 0x50]
addss xmm0, dword [rax - 0x2054]
movss dword [rax - 0x2054], xmm0
movss xmm1, dword [rcx + 0x54]
addss xmm1, dword [rax + 0x2c]
movss dword [rax + 0x2c], xmm1
movss xmm0, dword [rcx + 0x58]
addss xmm0, dword [rax - 0x2050]
movss dword [rax - 0x2050], xmm0
movss xmm1, dword [rcx + 0x5c]
addss xmm1, dword [rax + 0x30]
movss dword [rax + 0x30], xmm1
movss xmm0, dword [rcx + 0x60]
addss xmm0, dword [rax - 0x204c]
movss dword [rax - 0x204c], xmm0
movss xmm1, dword [rcx + 0x64]
addss xmm1, dword [rax + 0x34]
movss dword [rax + 0x34], xmm1
movss xmm0, dword [rcx + 0x68]
addss xmm0, dword [rax - 0x2048]
movss dword [rax - 0x2048], xmm0
movss xmm1, dword [rcx + 0x6c]
addss xmm1, dword [rax + 0x38]
movss dword [rax + 0x38], xmm1
movss xmm0, dword [rcx + 0x70]
addss xmm0, dword [rax - 0x2044]
movss dword [rax - 0x2044], xmm0
movss xmm1, dword [rcx + 0x74]
addss xmm1, dword [rax + 0x3c]
movss dword [rax + 0x3c], xmm1
movss xmm0, dword [rcx + 0x78]
addss xmm0, dword [rax - 0x2040]
movss dword [rax - 0x2040], xmm0
movss xmm1, dword [rcx + 0x7c]
addss xmm1, dword [rax + 0x40]
movss dword [rax + 0x40], xmm1
movss xmm0, dword [rcx + 0x80]
addss xmm0, dword [rax - 0x203c]
movss dword [rax - 0x203c], xmm0
movss xmm1, dword [rcx + 0x84]
addss xmm1, dword [rax + 0x44]
movss dword [rax + 0x44], xmm1
movss xmm0, dword [rcx + 0x88]
addss xmm0, dword [rax - 0x2038]
movss dword [rax - 0x2038], xmm0
movss xmm1, dword [rcx + 0x8c]
addss xmm1, dword [rax + 0x48]
movss dword [rax + 0x48], xmm1
movss xmm0, dword [rcx + 0x90]
addss xmm0, dword [rax - 0x2034]
movss dword [rax - 0x2034], xmm0
movss xmm1, dword [rcx + 0x94]
addss xmm1, dword [rax + 0x4c]
movss dword [rax + 0x4c], xmm1
movss xmm0, dword [rcx + 0x98]
addss xmm0, dword [rax - 0x2030]
movss dword [rax - 0x2030], xmm0
movss xmm1, dword [rcx + 0x9c]
add rcx, 0xa8
addss xmm1, dword [rax + 0x50]
movss dword [rax + 0x50], xmm1
add rax, 0x54
sub rdx, 1
jne 0x180038ff0
jmp 0x1800395a1
mov qword [rsp + 0x30], r10
xor r9d, r9d
mov qword [rsp + 0x28], r10
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
lea r8d, [r9 + 0x67]
call fcn.180041430
xor r10d, r10d
jmp 0x180039599
movss xmm0, dword [r8 + 0x204]
lea r9, [rsp + 0x60]
movss xmm1, dword [r8 + 0x100]
xor ecx, ecx
movss dword [rsp + 0x70], xmm0
xor r8d, r8d
movsxd rax, ebx
movss dword [rbp - 0x80], xmm1
lea edx, [r8 + 0x45]
movss xmm0, dword [rdi + rax*4 + 0x2bd0]
xorps xmm0, xmm6
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rdi + rax*4 + 0xb50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
movss dword [rsp + 0x60], xmm0
call fcn.180028ab0
mov dword [rsp + 0x60], eax
mov edx, 0x67
movss xmm0, dword [rsp + 0x60]
mov rcx, r14
movss dword [r14 + 4], xmm0
call fcn.180041bd0
lea rcx, [r14 + 0x100]
xor edx, edx
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
movaps xmm2, xmmword [0x1800572d0]
lea rax, [r14 + 0x20]
mov ecx, 4
nop word [rax + rax]
movups xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
movaps xmm1, xmm2
mulps xmm0, xmm2
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rax - 0x50]
mulps xmm1, xmm0
movups xmmword [rax - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [rax - 0x40]
mulps xmm0, xmm2
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rax - 0x30]
mulps xmm1, xmm0
movups xmmword [rax - 0x30], xmm1
sub rcx, 1
jne 0x180039400
xor r10d, r10d
jmp 0x180039599
add ecx, dword [rdi + 0xd69c]
mov eax, dword [rdi + 0xd928]
imul edx, ecx, 0x41
mov dword [rsp + 0x70], edx
cmp ecx, eax
jl 0x180039464
imul eax, eax, 0xffffffbf
add edx, eax
mov dword [rsp + 0x70], edx
movsxd rax, edx
mov r15, r8
mov r12, r8
mov qword [rbp - 0x70], r9
mov rsi, r10
lea rcx, [rax*4 + 0xa50]
lea rax, [rax*4 + 0x94c]
sub r12, rcx
sub r15, rax
lea rbx, [rcx + rdi]
sub r15, rdi
sub r12, rdi
movss xmm0, dword [r15 + rbx]
lea rax, [rsp + 0x60]
movss xmm1, dword [r12 + rbx]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x40], rax
xor r8d, r8d
movss dword [rsp + 0x60], xmm0
lea rax, [rbp - 0x80]
movss xmm0, dword [rbx + 0x2080]
xor ecx, ecx
mov qword [rsp + 0x38], r10
xorps xmm0, xmm6
mov qword [rsp + 0x30], r10
lea edx, [r8 + 0x45]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
movss dword [rbp - 0x80], xmm0
movss xmm0, dword [rbx]
movss dword [rbp - 0x78], xmm0
movss dword [rsp + 0x78], xmm1
mov qword [rsp + 0x20], rax
call fcn.180028ab0
mov dword [r14 + rsi*8], eax
lea r9, [rsp + 0x78]
movss xmm0, dword [r15 + rbx]
lea rax, [rbp - 0x78]
movss xmm1, dword [r12 + rbx]
xor ecx, ecx
mov qword [rsp + 0x50], rcx
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
movss dword [rbp - 0x80], xmm0
lea rax, [rsp + 0x60]
movss xmm0, dword [rbx + 0x2080]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm6
mov qword [rsp + 0x38], rcx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rbx]
mov qword [rsp + 0x20], rcx
mov ecx, 0xab
movss dword [rsp + 0x60], xmm1
movss dword [rbp - 0x78], xmm0
call fcn.180036b70
mov dword [r14 + rsi*8 + 4], eax
lea rbx, [rbx + 4]
inc rsi
mov r10d, 0
cmp rsi, 0x40
jl 0x180039494
mov ebx, dword [rsp + 0x70]
mov r8, qword [rbp + 0x70]
mov r9, qword [rbp - 0x68]
mov ecx, dword [rsp + 0x68]
mov rax, qword [rbp - 0x70]
add r13d, 0x12ed
cmp r13d, 0x4bb4
jbe 0x180038f76
inc ecx
add r9, 0x41
mov dword [rsp + 0x68], ecx
mov qword [rbp - 0x68], r9
cmp ecx, dword [rdi + 0xd928]
jl 0x180038f70
mov edx, dword [rbp + 0x78]
jmp 0x1800396bf
mov eax, edx
sub eax, 0x135
je 0x1800396bc
sub eax, 0xd
je 0x1800396af
cmp eax, 0x6c
jne 0x1800396bf
cmp dword [rdi + 4], 4
jle 0x1800396bf
mov eax, 0x1c
nop dword [rax]
cmp eax, 0x1c
je 0x18003968c
cmp eax, 0x55c
je 0x18003965a
cmp eax, 0xa9c
je 0x180039649
cmp eax, 0xfdc
jne 0x18003969d
cmp dword [rdi + 0x10], 0x32
jle 0x18003969d
movss xmm0, dword [rdi + 0xc]
divss xmm0, xmm10
mov qword [rdi + 0xc], 0
movss dword [rdi + 0x18], xmm0
jmp 0x18003969d
movss xmm0, dword [rdi + 8]
addss xmm0, dword [rdi + 0xc]
movss dword [rdi + 0xc], xmm0
jmp 0x18003969d
movss xmm1, dword [rdi + 8]
comiss xmm1, xmm9
mov dword [rdi + 4], r10d
jbe 0x180039687
movss xmm0, dword [rdi + 0x14]
comiss xmm0, xmm1
jbe 0x18003967d
inc dword [rdi + 0x10]
movss dword [rdi + 0x14], xmm1
jmp 0x18003969d
mulss xmm0, xmm11
movss dword [rdi + 0x14], xmm0
inc dword [rdi + 0x10]
jmp 0x18003969d
movss xmm0, dword [rdi]
mulss xmm0, xmm8
mov dword [rdi], r10d
movss dword [rdi + 8], xmm0
add eax, 0x540
cmp eax, 0x1500
jbe 0x180039610
jmp 0x1800396bf
xorps xmm0, xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
jmp 0x1800396bf
inc dword [rdi + 4]
mov rax, qword [rbp - 0x70]
add edx, 0x79
mov dword [rbp + 0x78], edx
cmp edx, dword [rbp - 0x60]
jb 0x180038da0
movaps xmm13, xmmword [rsp + 0xb0]
movaps xmm12, xmmword [rsp + 0xc0]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x120]
mov r15, qword [rsp + 0x130]
mov r13, qword [rsp + 0x138]
mov r12, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop r14
pop rdi
pop rbp
ret