Function at 0x140040640
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x1400f2728]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x180], 0xb0afb990
mov dword [rsp + 0x184], 0xd0d28cba
mov dword [rsp + 0x188], 0x8a8980cd
xor eax, eax
mov byte [rsp + 0x18c], al
mov edx, ebx
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x180]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x1400406a0
mov byte [rsp + 0x18c], 0
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x1400406f2
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x1400410ea
movdqa xmm0, xmmword [0x1400bb290]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + 0x148], 0x92
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x11
jb 0x140040710
mov byte [rsp + 0x149], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x138]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140040760
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 8], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x1400407ec
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400407e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004110c
call fcn.140087228
test rsi, rsi
je 0x140041112
movdqa xmm0, xmmword [0x1400bb240]
movdqu xmmword [rsp + 0x1b0], xmm0
mov word [rsp + 0x1c0], 0x9599
xor eax, eax
mov byte [rsp + 0x1c2], al
mov edx, ebx
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x1b0]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140040820
mov byte [rsp + 0x1c2], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x1b0]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040864
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x10], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x1400408f0
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400408eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041134
call fcn.140087228
test rsi, rsi
je 0x14004113a
movdqa xmm0, xmmword [0x1400bb260]
movdqu xmmword [rsp + 0x190], xmm0
mov word [rsp + 0x1a0], 0x888a
xor eax, eax
mov byte [rsp + 0x1a2], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x190]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140040920
mov byte [rsp + 0x1a2], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x190]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040964
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x18], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x1400409f0
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400409eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004115c
call fcn.140087228
test rsi, rsi
je 0x140041162
mov dword [rsp + 0x138], 0xaaafb58d
mov dword [rsp + 0x13c], 0xa38d81aa
mov dword [rsp + 0x140], 0x858a888f
mov word [rsp + 0x144], 0x90a2
xor eax, eax
mov byte [rsp + 0x146], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040a30
mov byte [rsp + 0x146], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040a74
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x20], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x140040b00
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040afb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041184
call fcn.140087228
test rsi, rsi
je 0x14004118a
mov dword [rsp + 0x138], 0xaaafb58d
mov dword [rsp + 0x13c], 0xa48d81aa
mov dword [rsp + 0x140], 0xa3808191
mov word [rsp + 0x144], 0x9f
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140040b40
mov byte [rsp + 0x145], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040b84
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x28], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x140040c10
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040c0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400411b2
call fcn.140087228
test rsi, rsi
je 0x1400411b8
mov dword [rsp + 0x138], 0xaaafb58d
mov dword [rsp + 0x13c], 0xb38d81aa
mov dword [rsp + 0x140], 0x9f978196
mov word [rsp + 0x144], 0x90a2
xor eax, eax
mov byte [rsp + 0x146], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040c50
mov byte [rsp + 0x146], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040c94
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x30], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x140040d20
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040d1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400411e0
call fcn.140087228
test rsi, rsi
je 0x1400411e6
movdqa xmm0, xmmword [0x1400bb280]
movdqu xmmword [rsp + 0x1d0], xmm0
xor eax, eax
mov byte [rsp + 0x1e0], al
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x1d0]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0x10
jb 0x140040d50
mov byte [rsp + 0x1e0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x1d0]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040d94
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x68], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x140040e20
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040e1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004120e
call fcn.140087228
test rsi, rsi
je 0x140041214
mov dword [rsp + 0x170], 0xacb8af8e
mov dword [rsp + 0x174], 0x86cfd2ec
mov word [rsp + 0x178], 0x888f
xor eax, eax
mov byte [rsp + 0x17a], al
mov edx, ebx
nop dword [rax]
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x170]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0xa
jb 0x140040e60
mov byte [rsp + 0x17a], 0
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x140040eb2
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14004123c
mov dword [rsp + 0x138], 0xbab3b59d
mov dword [rsp + 0x13c], 0x868f8988
mov dword [rsp + 0x140], 0xb2938c
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x25]
xor byte [rcx], al
inc edx
cmp edx, 0xb
jb 0x140040ee0
mov byte [rsp + 0x143], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040f24
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [r15 + 0xd0], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x140040fb3
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040fae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041264
call fcn.140087228
test r14, r14
je 0x14004126a
movdqa xmm0, xmmword [0x1400bb270]
movdqu xmmword [rsp + 0x1e8], xmm0
xor eax, eax
mov byte [rsp + 0x1f8], al
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0x1e8]
add rcx, rax
lea eax, [rbx - 0x25]
xor byte [rcx], al
inc ebx
cmp ebx, 0x10
jb 0x140040fe0
mov byte [rsp + 0x1f8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
lea rax, [rsp + 0x1e8]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140041021
mov r8, rdi
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x150]
call fcn.140003c90
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [r15 + 0xd8], rax
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x1400410b2
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400410ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041292
call fcn.140087228
test rbx, rbx
je 0x140041298
mov al, 1
jmp 0x1400410c1
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400876b0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rdx, str.dll_1__not_found.
lea rcx, [rsp + 0x30]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0x30]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_2.
lea rcx, [rsp + 0x48]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0x48]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_3.
lea rcx, [rsp + 0x60]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0x60]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_4.
lea rcx, [rsp + 0x78]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0x78]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_5.
lea rcx, [rsp + 0x90]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0x90]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_6.
lea rcx, [rsp + 0xa8]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0xa8]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_7.
lea rcx, [rsp + 0xc0]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0xc0]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_14.
lea rcx, [rsp + 0xd8]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0xd8]
call fcn.140088614
lea rdx, str.dll_3__not_found.
lea rcx, [rsp + 0xf0]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0xf0]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_b1.
lea rcx, [rsp + 0x108]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0x108]
call fcn.140088614
call fcn.14008dd64
int3
lea rdx, str.Cannot_find_function_b2.
lea rcx, [rsp + 0x120]
call fcn.14003a440
lea rdx, [0x1400efe48]
lea rcx, [rsp + 0x120]
call fcn.140088614
int3