Function at 0x140040160
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, 0x1d0
mov rax, qword [0x1400ec380]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r15, rcx
xor ebx, ebx
mov dword [r11 - 0x48], 0xacb3a5f4
mov dword [r11 - 0x44], 0xf4f6a8a6
mov dword [r11 - 0x40], 0xa6a5ace9
xor eax, eax
mov byte [r11 - 0x3c], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x1a0]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x1400401b0
mov byte [rsp + 0x1ac], 0
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x140040202
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x140040dfa
mov dword [rsp + 0x160], 0xaca4b0f0
mov dword [rsp + 0x164], 0xa5aab693
mov dword [rsp + 0x168], 0xbabba2
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0xb
jb 0x140040230
mov byte [rsp + 0x16b], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140040280
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x14004030b
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040306
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e15
call fcn.14008768c
test rdi, rdi
je 0x140040e1b
movdqa xmm0, xmmword [0x1400bc250]
movdqu xmmword [rsp + 0x160], xmm0
mov dword [rsp + 0x170], 0xa2b0be9c
mov dword [rsp + 0x174], 0xa2babca0
xor eax, eax
mov byte [rsp + 0x178], al
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0x18
jb 0x140040350
mov byte [rsp + 0x178], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140040394
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x38], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040420
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004041b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e36
call fcn.14008768c
test rdi, rdi
je 0x140040e3c
movdqa xmm0, xmmword [0x1400bc1a0]
movdqu xmmword [rsp + 0x160], xmm0
mov edx, ebx
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0xf
jb 0x140040440
mov byte [rsp + 0x16f], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140040484
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x40], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040510
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004050b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e57
call fcn.14008768c
test rdi, rdi
je 0x140040e5d
mov dword [rsp + 0x160], 0xa1aeb2ef
mov dword [rsp + 0x164], 0xf5b6b7a6
mov dword [rsp + 0x168], 0xb2ac86f5
mov word [rsp + 0x16c], 0x9bbf
xor eax, eax
mov byte [rsp + 0x16e], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040550
mov byte [rsp + 0x16e], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140040594
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x48], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040620
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004061b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e78
call fcn.14008768c
test rdi, rdi
je 0x140040e7e
mov dword [rsp + 0x160], 0xb7a5aff2
mov dword [rsp + 0x164], 0xf4f6a1af
mov dword [rsp + 0x168], 0xb9bba181
mov word [rsp + 0x16c], 0x9bbf
xor eax, eax
mov byte [rsp + 0x16e], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140040660
mov byte [rsp + 0x16e], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x1400406a4
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x50], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040730
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004072b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040e9f
call fcn.14008768c
test rdi, rdi
je 0x140040ea5
mov dword [rsp + 0x160], 0xb7a5aff2
mov dword [rsp + 0x164], 0xf4f6a1af
mov dword [rsp + 0x168], 0xbeb1ad89
mov word [rsp + 0x16c], 0x9c
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140040770
mov byte [rsp + 0x16d], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x1400407b4
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x58], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040840
inc rdx
mov rcx, qword [rsp + 0x180]
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 0x140040ec6
call fcn.14008768c
test rdi, rdi
je 0x140040ecc
movdqa xmm0, xmmword [0x1400bc1f0]
movdqu xmmword [rsp + 0x160], xmm0
mov dword [rsp + 0x170], 0x9ba8a2a0
mov dword [rsp + 0x174], 0xbab2bd
mov edx, ebx
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0x17
jb 0x140040872
mov byte [rsp + 0x177], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x1400408b6
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x60], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040942
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004093d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040eed
call fcn.14008768c
test rdi, rdi
je 0x140040ef3
movdqa xmm0, xmmword [0x1400bc1b0]
movdqu xmmword [rsp + 0x160], xmm0
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0xf
jb 0x140040960
mov byte [rsp + 0x16f], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x1400409a4
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x70], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040a30
inc rdx
mov rcx, qword [rsp + 0x180]
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 0x140040f14
call fcn.14008768c
test rdi, rdi
je 0x140040f1a
mov dword [rsp + 0x1b0], 0xa3b7a4fe
mov dword [rsp + 0x1b4], 0xf4f6adb3
mov dword [rsp + 0x1b8], 0xa6a5ace9
xor eax, eax
mov byte [rsp + 0x1bc], al
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x1b0]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x140040a70
mov byte [rsp + 0x1bc], 0
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x140040ac2
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x140040f3b
movdqa xmm0, xmmword [0x1400bc1d0]
movdqu xmmword [rsp + 0x160], xmm0
xor eax, eax
mov byte [rsp + 0x170], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0x10
jb 0x140040ae0
mov byte [rsp + 0x170], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140040b24
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x78], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040bb0
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040bab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040f5c
call fcn.14008768c
test rdi, rdi
je 0x140040f62
movdqa xmm0, xmmword [0x1400bc200]
movdqu xmmword [rsp + 0x160], xmm0
mov dword [rsp + 0x170], 0xb7b6b5a3
mov word [rsp + 0x174], 0xa0
mov edx, ebx
movsxd rax, edx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rdx - 0x41]
xor byte [rcx], al
inc edx
cmp edx, 0x15
jb 0x140040be1
mov byte [rsp + 0x175], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140040c25
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x88], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040cb4
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040caf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040f83
call fcn.14008768c
test rdi, rdi
je 0x140040f89
movdqa xmm0, xmmword [0x1400bc1c0]
movdqu xmmword [rsp + 0x160], xmm0
mov dword [rsp + 0x170], 0xb7a4bcae
mov word [rsp + 0x174], 0x84
nop dword [rax]
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0x160]
add rcx, rax
lea eax, [rbx - 0x41]
xor byte [rcx], al
inc ebx
cmp ebx, 0x15
jb 0x140040cf0
mov byte [rsp + 0x175], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x190], xmm1
lea rax, [rsp + 0x160]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140040d31
mov r8, rsi
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.1400031b0
lea rdx, [rsp + 0x180]
cmp qword [rsp + 0x198], 0xf
cmova rdx, qword [rsp + 0x180]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [r15 + 0x80], rax
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140040dc2
inc rdx
mov rcx, qword [rsp + 0x180]
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 0x140040faa
call fcn.14008768c
test rbx, rbx
je 0x140040fb0
mov al, 1
jmp 0x140040dd1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140087b00
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [rsp + 0x28]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x28]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0x40]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x40]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0x58]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x58]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0x70]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x70]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0x88]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x88]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0xa0]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0xa0]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0xb8]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0xb8]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0xd0]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0xd0]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0xe8]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0xe8]
call fcn.140088a60
lea rcx, [rsp + 0x100]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x100]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0x118]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x118]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0x130]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x130]
call fcn.140088a60
call fcn.14008e680
int3
lea rcx, [rsp + 0x148]
call fcn.14003a250
lea rdx, [0x1400ea868]
lea rcx, [rsp + 0x148]
call fcn.140088a60
int3