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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x1400f13c0]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov r15, rcx
xor ebx, ebx
mov dword [r11 - 0x30], 0xeaf1e7ca
mov dword [r11 - 0x2c], 0xbab4eae0
mov dword [r11 - 0x28], 0xe0e7eea7
xor eax, eax
mov byte [r11 - 0x24], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x188]
add rcx, rax
lea eax, [rdx - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x1400403b0
mov byte [rsp + 0x194], 0
lea rcx, [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x140040402
lea rcx, [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x140040dfa
movdqa xmm0, xmmword [0x1400bc3a0]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + 0x148], 0xe8
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0x11
jb 0x140040420
mov byte [rsp + 0x149], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140040470
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 8], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x1400404fc
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400404f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e1c
call fcn.140086f0c
test rsi, rsi
je 0x140040e22
movdqa xmm0, xmmword [0x1400bc410]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + 0x148], 0xebe3
xor eax, eax
mov byte [rsp + 0x14a], al
mov edx, ebx
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140040530
mov byte [rsp + 0x14a], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040574
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x10], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x140040600
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400405fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e44
call fcn.140086f0c
test rsi, rsi
je 0x140040e4a
movdqa xmm0, xmmword [0x1400bc3d0]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + 0x148], 0xf6f0
xor eax, eax
mov byte [rsp + 0x14a], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140040630
mov byte [rsp + 0x14a], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040674
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x18], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x140040700
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400406fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e6c
call fcn.140086f0c
test rsi, rsi
je 0x140040e72
mov dword [rsp + 0x138], 0xf0f1ebd7
mov dword [rsp + 0x13c], 0xc9ebe7f0
mov dword [rsp + 0x140], 0xefe4e6e5
mov word [rsp + 0x144], 0xf6c8
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 - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040740
mov byte [rsp + 0x146], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040784
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x20], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x140040810
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004080b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e94
call fcn.140086f0c
test rsi, rsi
je 0x140040e9a
mov dword [rsp + 0x138], 0xf0f1ebd7
mov dword [rsp + 0x13c], 0xceebe7f0
mov dword [rsp + 0x140], 0xc9eeeffb
mov word [rsp + 0x144], 0xf5
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140040850
mov byte [rsp + 0x145], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040894
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x28], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x140040920
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004091b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040ec2
call fcn.140086f0c
test rsi, rsi
je 0x140040ec8
mov dword [rsp + 0x138], 0xf0f1ebd7
mov dword [rsp + 0x13c], 0xd9ebe7f0
mov dword [rsp + 0x140], 0xf5f9effc
mov word [rsp + 0x144], 0xf6c8
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 - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040960
mov byte [rsp + 0x146], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400409a4
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x30], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x140040a30
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040a2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040ef0
call fcn.140086f0c
test rsi, rsi
je 0x140040ef6
movdqa xmm0, xmmword [0x1400bc3b0]
movdqu xmmword [rsp + 0x138], xmm0
xor eax, eax
mov byte [rsp + 0x148], al
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0x10
jb 0x140040a60
mov byte [rsp + 0x148], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040aa4
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [r15 + 0x68], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x140040b30
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040b2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040f1e
call fcn.140086f0c
test rsi, rsi
je 0x140040f24
mov dword [rsp + 0x178], 0xf6e6f1d4
mov dword [rsp + 0x17c], 0xeca9b4b6
mov word [rsp + 0x180], 0xe6e5
xor eax, eax
mov byte [rsp + 0x182], al
mov edx, ebx
nop dword [rax]
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x178]
add rcx, rax
lea eax, [rdx - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0xa
jb 0x140040b70
mov byte [rsp + 0x182], 0
lea rcx, [rsp + 0x178]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x140040bc2
lea rcx, [rsp + 0x178]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140040f4c
mov dword [rsp + 0x138], 0xe0edebc7
mov dword [rsp + 0x13c], 0xece9efd2
mov dword [rsp + 0x140], 0xdcfde6
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x7f]
xor byte [rcx], al
inc edx
cmp edx, 0xb
jb 0x140040bf0
mov byte [rsp + 0x143], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140040c34
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [r15 + 0xd0], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x140040cc3
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040cbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040f74
call fcn.140086f0c
test r14, r14
je 0x140040f7a
movdqa xmm0, xmmword [0x1400bc3c0]
movdqu xmmword [rsp + 0x138], xmm0
xor eax, eax
mov byte [rsp + 0x148], al
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rbx - 0x7f]
xor byte [rcx], al
inc ebx
cmp ebx, 0x10
jb 0x140040cf0
mov byte [rsp + 0x148], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x168], xmm1
lea rax, [rsp + 0x138]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140040d31
mov r8, rdi
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.1400039c0
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0xf
cmova rdx, qword [rsp + 0x158]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [r15 + 0xd8], rax
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x140040dc2
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040dbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040fa2
call fcn.140086f0c
test rbx, rbx
je 0x140040fa8
mov al, 1
jmp 0x140040dd1
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140087380
lea r11, [rsp + 0x1a0]
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.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0x30]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_2.
lea rcx, [rsp + 0x48]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0x48]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_3.
lea rcx, [rsp + 0x60]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0x60]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_4.
lea rcx, [rsp + 0x78]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0x78]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_5.
lea rcx, [rsp + 0x90]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0x90]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_6.
lea rcx, [rsp + 0xa8]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0xa8]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_7.
lea rcx, [rsp + 0xc0]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0xc0]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_14.
lea rcx, [rsp + 0xd8]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0xd8]
call fcn.1400882e0
lea rdx, str.dll_3__not_found.
lea rcx, [rsp + 0xf0]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0xf0]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_b1.
lea rcx, [rsp + 0x108]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0x108]
call fcn.1400882e0
call fcn.14008defc
int3
lea rdx, str.Cannot_find_function_b2.
lea rcx, [rsp + 0x120]
call fcn.14003a380
lea rdx, [0x1400eec00]
lea rcx, [rsp + 0x120]
call fcn.1400882e0
int3