Function at 0x140039660
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, 0x250
mov rax, qword [0x1400dc438]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x198], 0x312c3817
mov dword [rsp + 0x19c], 0x51510d05
mov dword [rsp + 0x1a0], 0xb0a014a
xor eax, eax
mov byte [rsp + 0x1a4], al
mov edx, ebx
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x198]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x1400396c0
mov byte [rsp + 0x1a4], 0
lea rcx, [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x140039712
lea rcx, [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x14003a30a
mov dword [rsp + 0x168], 0x313b2d13
mov dword [rsp + 0x16c], 0xd1330
mov dword [rsp + 0x170], 0x151601
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x168]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0xb
jb 0x140039740
mov byte [rsp + 0x173], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x168]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140039790
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x14003981b
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039816
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a32c
call fcn.140080134
test rdi, rdi
je 0x14003a332
movdqa xmm0, xmmword [0x1400ab6e0]
movdqu xmmword [rsp + 0x1b8], xmm0
mov dword [rsp + 0x1c8], 0x1f0f033f
mov dword [rsp + 0x1cc], 0x71d1903
xor eax, eax
mov byte [rsp + 0x1d0], al
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x1b8]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0x18
jb 0x140039860
mov byte [rsp + 0x1d0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x1b8]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x1400398a4
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x38], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140039930
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003992b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a354
call fcn.140080134
test rdi, rdi
je 0x14003a35a
movdqa xmm0, xmmword [str._f_1_]
movdqu xmmword [rsp + 0x168], xmm0
mov edx, ebx
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x168]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0xf
jb 0x140039950
mov byte [rsp + 0x177], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x168]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140039994
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x40], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140039a20
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039a1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a37c
call fcn.140080134
test rdi, rdi
je 0x14003a382
mov dword [rsp + 0x168], 0x3c312f0c
mov dword [rsp + 0x16c], 0x50111205
mov dword [rsp + 0x170], 0x1f032b56
mov word [rsp + 0x174], 0x3e1c
xor eax, eax
mov byte [rsp + 0x176], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x168]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140039a60
mov byte [rsp + 0x176], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x168]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140039aa4
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x48], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140039b30
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039b2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a3a4
call fcn.140080134
test rdi, rdi
je 0x14003a3aa
mov dword [rsp + 0x168], 0x2a3a3211
mov dword [rsp + 0x16c], 0x5151040c
mov dword [rsp + 0x170], 0x14140c22
mov word [rsp + 0x174], 0x3e1c
xor eax, eax
mov byte [rsp + 0x176], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x168]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140039b70
mov byte [rsp + 0x176], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x168]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140039bb4
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x50], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140039c40
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039c3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a3d2
call fcn.140080134
test rdi, rdi
je 0x14003a3d8
mov dword [rsp + 0x168], 0x2a3a3211
mov dword [rsp + 0x16c], 0x5151040c
mov dword [rsp + 0x170], 0x131e002a
mov word [rsp + 0x174], 0x3f
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x168]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140039c80
mov byte [rsp + 0x175], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x168]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140039cc4
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x58], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140039d50
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039d4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a400
call fcn.140080134
test rdi, rdi
je 0x14003a406
movdqa xmm0, xmmword [0x1400ab680]
movdqu xmmword [rsp + 0x1d8], xmm0
mov dword [rsp + 0x1e8], 0x26171f03
mov dword [rsp + 0x1ec], 0x1d171e
mov edx, ebx
movsxd rax, edx
lea rcx, [rsp + 0x1d8]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0x17
jb 0x140039d82
mov byte [rsp + 0x1ef], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x1d8]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140039dc6
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x60], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140039e52
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039e4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a42e
call fcn.140080134
test rdi, rdi
je 0x14003a434
movdqa xmm0, xmmword [0x1400ab630]
movdqu xmmword [rsp + 0x168], xmm0
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x168]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0xf
jb 0x140039e70
mov byte [rsp + 0x177], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x168]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140039eb4
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x70], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140039f40
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039f3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a45c
call fcn.140080134
test rdi, rdi
je 0x14003a462
mov dword [rsp + 0x1a8], 0x3e28391d
mov dword [rsp + 0x1ac], 0x51510810
mov dword [rsp + 0x1b0], 0xb0a014a
xor eax, eax
mov byte [rsp + 0x1b4], al
mov edx, ebx
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x1a8]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x140039f80
mov byte [rsp + 0x1b4], 0
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x140039fd2
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x14003a48a
movdqa xmm0, xmmword [0x1400ab670]
movdqu xmmword [rsp + 0x228], xmm0
xor eax, eax
mov byte [rsp + 0x238], al
mov edx, ebx
nop
movsxd rax, edx
lea rcx, [rsp + 0x228]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0x10
jb 0x140039ff0
mov byte [rsp + 0x238], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x228]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14003a034
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x78], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x14003a0c0
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a0bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a4b2
call fcn.140080134
test rdi, rdi
je 0x14003a4b8
movdqa xmm0, xmmword [0x1400ab650]
movdqu xmmword [rsp + 0x1f8], xmm0
mov dword [rsp + 0x208], 0xa090800
mov word [rsp + 0x20c], 3
mov edx, ebx
movsxd rax, edx
lea rcx, [rsp + 0x1f8]
add rcx, rax
lea eax, [rdx + 0x5c]
xor byte [rcx], al
inc edx
cmp edx, 0x15
jb 0x14003a0f1
mov byte [rsp + 0x20d], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x1f8]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14003a135
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [r15 + 0x88], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x14003a1c4
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a1bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a4e0
call fcn.140080134
test rdi, rdi
je 0x14003a4e6
movdqa xmm0, xmmword [0x1400ab6d0]
movdqu xmmword [rsp + 0x210], xmm0
mov dword [rsp + 0x220], 0xa1b010d
mov word [rsp + 0x224], 0x27
nop dword [rax]
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0x210]
add rcx, rax
lea eax, [rbx + 0x5c]
xor byte [rcx], al
inc ebx
cmp ebx, 0x15
jb 0x14003a200
mov byte [rsp + 0x225], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x188], xmm1
lea rax, [rsp + 0x210]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14003a241
mov r8, rsi
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x178]
call fcn.1400023f0
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [r15 + 0x80], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x14003a2d2
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a2cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a50e
call fcn.140080134
test rbx, rbx
je 0x14003a514
mov al, 1
jmp 0x14003a2e1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400805c0
lea r11, [rsp + 0x250]
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.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x30]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_1.
lea rcx, [rsp + 0x48]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x48]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_8.
lea rcx, [rsp + 0x60]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x60]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_9.
lea rcx, [rsp + 0x78]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x78]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_10.
lea rcx, [rsp + 0x90]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x90]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_11.
lea rcx, [rsp + 0xa8]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0xa8]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_12.
lea rcx, [rsp + 0xc0]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0xc0]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_13.
lea rcx, [rsp + 0xd8]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0xd8]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_15.
lea rcx, [rsp + 0xf0]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0xf0]
call fcn.140081564
lea rdx, str.dll_2__not_found.
lea rcx, [rsp + 0x108]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x108]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_a1.
lea rcx, [rsp + 0x120]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x120]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_a3.
lea rcx, [rsp + 0x138]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x138]
call fcn.140081564
call fcn.140086adc
int3
lea rdx, str.Cannot_find_function_a2.
lea rcx, [rsp + 0x150]
call fcn.140034330
lea rdx, [0x1400daac0]
lea rcx, [rsp + 0x150]
call fcn.140081564
int3