Function at 0x140040340
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 [0x1400ef380]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov r15, rcx
xor ebx, ebx
mov dword [r11 - 0x30], 0xd3cedef1
mov dword [r11 - 0x2c], 0xf3f3d3db
mov dword [r11 - 0x28], 0xa9a8a7ec
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 - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x140040390
mov byte [rsp + 0x194], 0
lea rcx, [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x1400403e2
lea rcx, [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x140040dda
movdqa xmm0, xmmword [0x1400bc410]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + 0x148], 0xb3
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0x11
jb 0x140040400
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 0x140040450
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x1400404dc
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400404d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040dfc
call fcn.14008737c
test rsi, rsi
je 0x140040e02
movdqa xmm0, xmmword [0x1400bc3c0]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + 0x148], 0xb2b8
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 - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140040510
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 0x140040554
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x1400405e0
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400405db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e24
call fcn.14008737c
test rsi, rsi
je 0x140040e2a
movdqa xmm0, xmmword [0x1400bc3e0]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + 0x148], 0xafab
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 - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140040610
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 0x140040654
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x1400406e0
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400406db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e4c
call fcn.14008737c
test rsi, rsi
je 0x140040e52
mov dword [rsp + 0x138], 0xc9ced2ec
mov dword [rsp + 0x13c], 0x80acdecb
mov dword [rsp + 0x140], 0xa6abafae
mov word [rsp + 0x144], 0xbf83
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 - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040720
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 0x140040764
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x1400407f0
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400407eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e74
call fcn.14008737c
test rsi, rsi
je 0x140040e7a
mov dword [rsp + 0x138], 0xc9ced2ec
mov dword [rsp + 0x13c], 0x87acdecb
mov dword [rsp + 0x140], 0x80a1a6b0
mov word [rsp + 0x144], 0xbe
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140040830
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 0x140040874
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x140040900
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400408fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040ea2
call fcn.14008737c
test rsi, rsi
je 0x140040ea8
mov dword [rsp + 0x138], 0xc9ced2ec
mov dword [rsp + 0x13c], 0x90acdecb
mov dword [rsp + 0x140], 0xbcb6a6b7
mov word [rsp + 0x144], 0xbf83
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 - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040940
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 0x140040984
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x140040a10
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040a0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040ed0
call fcn.14008737c
test rsi, rsi
je 0x140040ed6
movdqa xmm0, xmmword [0x1400bc400]
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 - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0x10
jb 0x140040a40
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 0x140040a84
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x140040b10
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040efe
call fcn.14008737c
test rsi, rsi
je 0x140040f04
mov dword [rsp + 0x178], 0xcfd9c8ef
mov dword [rsp + 0x17c], 0xa5ee8d8d
mov word [rsp + 0x180], 0xafae
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 - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0xa
jb 0x140040b50
mov byte [rsp + 0x182], 0
lea rcx, [rsp + 0x178]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x140040ba2
lea rcx, [rsp + 0x178]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140040f2c
mov dword [rsp + 0x138], 0xd9d2d2fc
mov dword [rsp + 0x13c], 0xa5aed6e9
mov dword [rsp + 0x140], 0x93b4ad
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx - 0x46]
xor byte [rcx], al
inc edx
cmp edx, 0xb
jb 0x140040bd0
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 0x140040c14
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x140040ca3
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040c9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040f54
call fcn.14008737c
test r14, r14
je 0x140040f5a
movdqa xmm0, xmmword [0x1400bc3f0]
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 - 0x46]
xor byte [rcx], al
inc ebx
cmp ebx, 0x10
jb 0x140040cd0
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 0x140040d11
mov r8, rdi
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x158]
call fcn.140003460
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 0x140040da2
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040f82
call fcn.14008737c
test rbx, rbx
je 0x140040f88
mov al, 1
jmp 0x140040db1
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400877f0
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.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0x30]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_2.
lea rcx, [rsp + 0x48]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0x48]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_3.
lea rcx, [rsp + 0x60]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0x60]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_4.
lea rcx, [rsp + 0x78]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0x78]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_5.
lea rcx, [rsp + 0x90]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0x90]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_6.
lea rcx, [rsp + 0xa8]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0xa8]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_7.
lea rcx, [rsp + 0xc0]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0xc0]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_14.
lea rcx, [rsp + 0xd8]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0xd8]
call fcn.140088750
lea rdx, str.dll_3__not_found.
lea rcx, [rsp + 0xf0]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0xf0]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_b1.
lea rcx, [rsp + 0x108]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0x108]
call fcn.140088750
call fcn.14008e36c
int3
lea rdx, str.Cannot_find_function_b2.
lea rcx, [rsp + 0x120]
call fcn.14003a360
lea rdx, [0x1400ecd30]
lea rcx, [rsp + 0x120]
call fcn.140088750
int3