Function at 0x140040060
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 [0x1400ec658]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x180], 0x3625331e
mov dword [rsp + 0x184], 0x6e68363c
mov dword [rsp + 0x188], 0xc333a73
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 + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x1400400c0
mov byte [rsp + 0x18c], 0
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x140040112
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x140040b0a
movdqa xmm0, xmmword [0x1400b8220]
movdqu xmmword [rsp + 0x138], xmm0
mov word [rsp + 0x148], 0x1c
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0x11
jb 0x140040130
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 0x140040180
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x14004020c
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040207
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040b2c
call fcn.140087fc8
test rsi, rsi
je 0x140040b32
movdqa xmm0, xmmword [0x1400b8200]
movdqu xmmword [rsp + 0x1b0], xmm0
mov word [rsp + 0x1c0], 0x1f17
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 + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140040240
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 0x140040284
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x140040310
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004030b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040b54
call fcn.140087fc8
test rsi, rsi
je 0x140040b5a
movdqa xmm0, xmmword [0x1400b81c0]
movdqu xmmword [rsp + 0x190], xmm0
mov word [rsp + 0x1a0], 0x204
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 + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0x12
jb 0x140040340
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 0x140040384
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x140040410
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004040b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040b7c
call fcn.140087fc8
test rsi, rsi
je 0x140040b82
mov dword [rsp + 0x138], 0x2c253f03
mov dword [rsp + 0x13c], 0x1d373b2c
mov dword [rsp + 0x140], 0x3303231
mov word [rsp + 0x144], 0x1a24
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 + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040450
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 0x140040494
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x140040520
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004051b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040ba4
call fcn.140087fc8
test rsi, rsi
je 0x140040baa
mov dword [rsp + 0x138], 0x2c253f03
mov dword [rsp + 0x13c], 0x1a373b2c
mov dword [rsp + 0x140], 0x253a3b2f
mov word [rsp + 0x144], 0x19
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140040560
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 0x1400405a4
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x140040630
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004062b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040bd2
call fcn.140087fc8
test rsi, rsi
je 0x140040bd8
mov dword [rsp + 0x138], 0x2c253f03
mov dword [rsp + 0x13c], 0xd373b2c
mov dword [rsp + 0x140], 0x192d3b28
mov word [rsp + 0x144], 0x1a24
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 + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040670
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 0x1400406b4
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x140040740
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004073b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c00
call fcn.140087fc8
test rsi, rsi
je 0x140040c06
movdqa xmm0, xmmword [0x1400b8230]
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 + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0x10
jb 0x140040770
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 0x1400407b4
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x140040840
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004083b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c2e
call fcn.140087fc8
test rsi, rsi
je 0x140040c34
mov dword [rsp + 0x170], 0x2a322500
mov dword [rsp + 0x174], 0x3875686a
mov word [rsp + 0x178], 0x3231
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 + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0xa
jb 0x140040880
mov byte [rsp + 0x17a], 0
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x1400408d2
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140040c5c
mov dword [rsp + 0x138], 0x3c393f13
mov dword [rsp + 0x13c], 0x3835330e
mov dword [rsp + 0x140], 0x82932
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x138]
add rcx, rax
lea eax, [rdx + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0xb
jb 0x140040900
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 0x140040944
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x1400409d3
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400409ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c84
call fcn.140087fc8
test r14, r14
je 0x140040c8a
movdqa xmm0, xmmword [0x1400b81d0]
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 + 0x55]
xor byte [rcx], al
inc ebx
cmp ebx, 0x10
jb 0x140040a00
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 0x140040a41
mov r8, rdi
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x150]
call fcn.1400037b0
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 0x140040ad2
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040acd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040cb2
call fcn.140087fc8
test rbx, rbx
je 0x140040cb8
mov al, 1
jmp 0x140040ae1
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140088450
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.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0x30]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_2.
lea rcx, [rsp + 0x48]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0x48]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_3.
lea rcx, [rsp + 0x60]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0x60]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_4.
lea rcx, [rsp + 0x78]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0x78]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_5.
lea rcx, [rsp + 0x90]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0x90]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_6.
lea rcx, [rsp + 0xa8]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0xa8]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_7.
lea rcx, [rsp + 0xc0]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0xc0]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_14.
lea rcx, [rsp + 0xd8]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0xd8]
call fcn.1400893b4
lea rdx, str.dll_3__not_found.
lea rcx, [rsp + 0xf0]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0xf0]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_b1.
lea rcx, [rsp + 0x108]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0x108]
call fcn.1400893b4
call fcn.14008e92c
int3
lea rdx, str.Cannot_find_function_b2.
lea rcx, [rsp + 0x120]
call fcn.140039e60
lea rdx, [0x1400ea010]
lea rcx, [rsp + 0x120]
call fcn.1400893b4
int3