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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r14
sub rsp, 0x1c0
mov rax, qword [0x1400da080]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov dword [r11 - 0x30], 0x2190f22
mov dword [r11 - 0x2c], 0x425c0208
mov dword [r11 - 0x28], 0x181f165f
xor eax, eax
mov byte [r11 - 0x24], al
xor r14d, r14d
mov edx, r14d
nop
movsxd rax, edx
lea rcx, [rsp + 0x198]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x140030880
mov byte [rsp + 0x1a4], r14b
lea rcx, [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x1400308d2
lea rcx, [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140031530
mov dword [rsp + 0x158], 0x20e1a26
mov dword [rsp + 0x15c], 0x13001c3d
mov dword [rsp + 0x160], 0x114
mov edx, r14d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0xb
jb 0x140030900
mov byte [rsp + 0x163], r14b
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140030950
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddeb0], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x1400309df
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400309da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003154b
call fcn.1400742a0
test rdi, rdi
je 0x140031551
movdqa xmm0, xmmword [0x1400c9ce0]
movdqu xmmword [rsp + 0x158], xmm0
mov dword [rsp + 0x168], 0xc1a142a
mov dword [rsp + 0x16c], 0xf410160e
xor eax, eax
mov byte [rsp + 0x170], al
mov edx, r14d
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0x18
jb 0x140030a20
mov byte [rsp + 0x170], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140030a70
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddee8], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140030aff
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030afa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003156c
call fcn.1400742a0
test rdi, rdi
je 0x140031572
movdqa xmm0, xmmword [0x1400c9c90]
movdqu xmmword [rsp + 0x158], xmm0
mov edx, r14d
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0xf
jb 0x140030b20
mov byte [rsp + 0x167], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140030b70
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddef0], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140030bff
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030bfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003158d
call fcn.1400742a0
test rdi, rdi
je 0x140031593
mov dword [rsp + 0x158], 0xf041839
mov dword [rsp + 0x15c], 0x431c1d08
mov dword [rsp + 0x160], 0xc163c43
mov word [rsp + 0x164], 0x2101
xor eax, eax
mov byte [rsp + 0x166], al
mov edx, r14d
nop
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140030c40
mov byte [rsp + 0x166], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140030c90
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddef8], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140030d1f
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030d1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400315ae
call fcn.1400742a0
test rdi, rdi
je 0x1400315b4
mov dword [rsp + 0x158], 0x190f0524
mov dword [rsp + 0x15c], 0x425c0b01
mov dword [rsp + 0x160], 0x7011b37
mov word [rsp + 0x164], 0x2101
xor eax, eax
mov byte [rsp + 0x166], al
mov edx, r14d
nop
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x140030d60
mov byte [rsp + 0x166], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140030db0
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddf00], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140030e3f
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030e3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400315d5
call fcn.1400742a0
test rdi, rdi
je 0x1400315db
mov dword [rsp + 0x158], 0x190f0524
mov dword [rsp + 0x15c], 0x425c0b01
mov dword [rsp + 0x160], 0xb173f
mov word [rsp + 0x164], 0x22
mov edx, r14d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0xd
jb 0x140030e80
mov byte [rsp + 0x165], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140030ed0
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddf08], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x140030f5f
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030f5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400315fc
call fcn.1400742a0
test rdi, rdi
je 0x140031602
movdqa xmm0, xmmword [0x1400c9cb0]
movdqu xmmword [rsp + 0x158], xmm0
mov dword [rsp + 0x168], 0x35020816
mov dword [rsp + 0x16c], 0x101813
mov edx, r14d
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0x17
jb 0x140030f92
mov byte [rsp + 0x16f], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140030fe0
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddf10], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x14003106f
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003106a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031623
call fcn.1400742a0
test rdi, rdi
je 0x140031629
movdqa xmm0, xmmword [0x1400c9c80]
movdqu xmmword [rsp + 0x158], xmm0
mov edx, r14d
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0xf
jb 0x140031090
mov byte [rsp + 0x167], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400310e0
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddf20], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x14003116f
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003116a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003164a
call fcn.1400742a0
test rdi, rdi
je 0x140031650
mov dword [rsp + 0x1a8], 0xd1d0e28
mov dword [rsp + 0x1ac], 0x425c071d
mov dword [rsp + 0x1b0], 0x181f165f
xor eax, eax
mov byte [rsp + 0x1b4], al
mov edx, r14d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x1a8]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0xc
jb 0x1400311b0
mov byte [rsp + 0x1b4], 0
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x140031202
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140031671
lea rdx, str.OpenProcessToken
lea rcx, [rsp + 0x158]
call fcn.1400398e0
mov edx, r14d
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0x10
jb 0x140031220
mov byte [rsp + 0x168], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140031270
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddf28], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x1400312ff
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400312fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031692
call fcn.1400742a0
test rdi, rdi
je 0x140031698
lea rdx, str.AdjustTokenPrivileges
lea rcx, [rsp + 0x158]
call fcn.140039810
mov edx, r14d
nop
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0x15
jb 0x140031320
mov byte [rsp + 0x16d], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140031370
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x1400ddf38], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x1400313ff
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400313fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400316b9
call fcn.1400742a0
test rdi, rdi
je 0x1400316bf
lea rdx, str.LookupPrivilegeValueW
lea rcx, [rsp + 0x158]
call fcn.140039810
mov edx, r14d
nop
movsxd rax, edx
lea rcx, [rsp + 0x158]
add rcx, rax
lea eax, [rdx + 0x69]
xor byte [rcx], al
inc edx
cmp edx, 0x15
jb 0x140031420
mov byte [rsp + 0x16d], 0
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x190], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rax, [rsp + 0x158]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140031466
mov r8, rbx
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.140015a60
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 0x10
cmovae rdx, qword [rsp + 0x178]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1400ddf30], rax
mov rdx, qword [rsp + 0x190]
cmp rdx, 0x10
jb 0x1400314f7
inc rdx
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400314f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400316e0
call fcn.1400742a0
test rbx, rbx
je 0x1400316e6
mov al, 1
jmp 0x140031506
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140074280
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
lea rcx, [rsp + 0x20]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x20]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0x38]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x38]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0x50]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x50]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0x68]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x68]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0x80]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x80]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0x98]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x98]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0xb0]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0xb0]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0xc8]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0xc8]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0xe0]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0xe0]
call fcn.140076f70
lea rcx, [rsp + 0xf8]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0xf8]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0x110]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x110]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0x128]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x128]
call fcn.140076f70
call fcn.14007abbc
int3
lea rcx, [rsp + 0x140]
call fcn.14002fae0
lea rdx, [0x1400d8a68]
lea rcx, [rsp + 0x140]
call fcn.140076f70
int3