Function at 0x140047dc8
Capabilities:
Encode data using xor
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x318]
sub rsp, 0x418
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov r15, r9
mov r14, r8
mov r13, rdx
mov rsi, rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], r8
mov qword [rbp + 0x10], r9
mov rdi, qword [rbp + 0x380]
mov qword [rsp + 0x40], rdi
mov qword [rbp + 8], rdi
xor r12d, r12d
mov word [rbp + 0xf0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xf2]
call fcn.1400c2400
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140047e99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0xb8]
call fcn.14004157c
mov rbx, rax
call fcn.140043250
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 8]
call fcn.140046158
lea rdx, [0x14016bd50]
lea rcx, [rbp - 8]
call fcn.1400c4e98
nop
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r12
mov word [rbp + 0x18], r12w
cmp word [rbp + 0xf0], r12w
jne 0x140047ec1
mov r8, r12
jmp 0x140047ed6
lea rax, [rbp + 0xf0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x140047ecc
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x18]
call fcn.14004d7fc
nop
mov rax, qword [r13]
lea rcx, [rbp + 0x18]
cmp dword [rax - 0x10], r12d
je 0x140048056
lea rdx, [0x140139960]
call fcn.14004d134
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x18]
call fcn.14004d1ec
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x140047f52
cmp qword [rbp + 0x30], 8
jb 0x140047f34
mov rcx, qword [rbp + 0x18]
call fcn.1400bcfa4
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r12
mov word [rbp + 0x18], r12w
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14004d638
nop
cmp qword [rbp + 0x70], 8
jb 0x140047f62
mov rcx, qword [rbp + 0x58]
call fcn.1400bcfa4
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], r12
mov word [rbp + 0x58], r12w
lea rdx, [0x14013bec8]
lea rcx, [rsp + 0x28]
call fcn.140002c48
nop
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rsp + 0x58]
call fcn.140001f2c
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14000d870
nop
mov r8, r13
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000d870
nop
lea r12, [rsi + 0x1a0]
mov rdx, rax
mov rcx, r12
call fcn.140001ff8
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140047ff3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004800c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048026
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004803f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rbx, [rsi + 0x1b0]
mov rdx, r13
mov rcx, rbx
call fcn.140001ff8
jmp 0x140048212
lea rdx, [0x140139590]
call fcn.14004d134
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x18]
call fcn.14004d1ec
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x1400480af
cmp qword [rbp + 0x30], 8
jb 0x140048091
mov rcx, qword [rbp + 0x18]
call fcn.1400bcfa4
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r12
mov word [rbp + 0x18], r12w
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14004d638
nop
cmp qword [rbp + 0x50], 8
jb 0x1400480bf
mov rcx, qword [rbp + 0x38]
call fcn.1400bcfa4
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], r12
mov word [rbp + 0x38], r12w
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x50]
call fcn.140001f2c
mov rbx, rax
call fcn.1400428a4
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140017bcc
nop
lea r12, [rsi + 0x1a0]
mov rdx, rax
mov rcx, r12
call fcn.140001ff8
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140048130
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048148
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x140139960]
lea rcx, [rbp + 0x18]
call fcn.14004d134
lea r8, [rax + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x18]
call fcn.14004d1ec
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x1400481ab
cmp qword [rbp + 0x30], 8
jb 0x14004818c
mov rcx, qword [rbp + 0x18]
call fcn.1400bcfa4
mov qword [rbp + 0x30], 7
xor eax, eax
mov qword [rbp + 0x28], rax
mov word [rbp + 0x18], ax
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14004d638
nop
cmp qword [rbp + 0xb0], 8
jb 0x1400481c1
mov rcx, qword [rbp + 0x98]
call fcn.1400bcfa4
mov qword [rbp + 0xb0], 7
xor ecx, ecx
mov qword [rbp + 0xa8], rcx
mov word [rbp + 0x98], cx
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rbx, [rsi + 0x1b0]
test rdx, rdx
jne 0x1400481fa
mov eax, ecx
jmp 0x140048207
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], cx
jne 0x1400481fe
mov r8d, eax
mov rcx, rbx
call fcn.1400020f0
xor eax, eax
cmp word [rbp + 0xf0], ax
jne 0x140048222
mov r8d, eax
jmp 0x140048237
lea rcx, [rbp + 0xf0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], ax
jne 0x14004822d
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x18]
call fcn.14004d7fc
mov rax, qword [rdi]
cmp dword [rax - 0x10], 0
je 0x1400483a7
lea rdx, [0x140139960]
lea rcx, [rbp + 0x18]
call fcn.14004d134
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.14004d1ec
mov rdi, rax
lea rax, [rbp + 0x18]
cmp rax, rdi
je 0x1400482b2
cmp qword [rbp + 0x30], 8
jb 0x140048293
mov rcx, qword [rbp + 0x18]
call fcn.1400bcfa4
mov qword [rbp + 0x30], 7
xor eax, eax
mov qword [rbp + 0x28], rax
mov word [rbp + 0x18], ax
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.14004d638
nop
cmp qword [rbp + 0x90], 8
jb 0x1400482c5
mov rcx, qword [rbp + 0x78]
call fcn.1400bcfa4
mov qword [rbp + 0x90], 7
xor eax, eax
mov qword [rbp + 0x88], rax
mov word [rbp + 0x78], ax
lea rdx, [0x14013bec8]
lea rcx, [rsp + 0x38]
call fcn.140002c48
nop
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x40]
call fcn.140001f2c
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14000d870
nop
mov rdi, qword [rsp + 0x40]
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000d870
nop
lea rcx, [rsi + 0x1a8]
mov rdx, rax
call fcn.140001ff8
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14004835c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048375
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004838e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400483a7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r12]
mov rcx, rdx
call fcn.1400c1d84
test eax, eax
je 0x140048530
mov rdx, qword [r14]
mov rcx, rdx
call fcn.1400c1d84
test eax, eax
je 0x14004848e
mov rdx, qword [r15]
mov rcx, rdx
call fcn.1400c1d84
test eax, eax
je 0x140048402
call fcn.1400425b8
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.1400460a0
lea rdx, [0x14016bd50]
lea rcx, [rbp - 0x28]
call fcn.1400c4e98
int3
lea rdx, str.dll_found_on_path2
lea rcx, [rsp + 0x20]
call fcn.140002c48
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14004c728
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140048440
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r15
mov rcx, r12
call fcn.140001ff8
mov edx, 0x5c
mov rcx, qword [r15]
call fcn.1400bf938
test rax, rax
jne 0x140048462
or eax, 0xffffffff
jmp 0x140048468
sub rax, qword [r15]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140022a70
nop
mov rdx, rax
mov rcx, rbx
call fcn.140001ff8
nop
mov rdx, qword [rbp - 0x70]
jmp 0x140048517
mov rdx, r14
mov rcx, r12
call fcn.140001ff8
mov edx, 0x5c
mov rcx, qword [r14]
call fcn.1400bf938
test rax, rax
jne 0x1400484b0
or eax, 0xffffffff
jmp 0x1400484b6
sub rax, qword [r14]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140022a70
nop
mov rdx, rax
mov rcx, rbx
call fcn.140001ff8
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x1400484f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.dll_found_on_path1
lea rcx, [rsp + 0x30]
call fcn.140002c48
nop
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14004c728
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140048530
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140042be8
mov rdx, rax
lea r8, [0x140137258]
mov rcx, rbx
call fcn.14000d420
lea rdx, [0x1401a4af0]
xor ecx, ecx
cmp byte [0x1401aae88], cl
jne 0x1400485b1
mov dword [rbp + 0xd8], 0xd004e
mov dword [rbp + 0xdc], 0x12001c
mov dword [rbp + 0xe0], 0x480002
mov dword [rbp + 0xe4], 0xc
lea r8d, [rcx + 9]
mov dword [rbp + 0xe8], r8d
lea rax, [0x1401a3d90]
movzx eax, byte [rcx + rax]
xor ax, word [rbp + rcx*2 + 0xd8]
mov word [rdx + rcx*2], ax
inc rcx
cmp rcx, r8
jl 0x14004858b
mov byte [0x1401aae88], 1
lea r8, [0x140137258]
mov rcx, rbx
call fcn.14000d420
call fcn.1400443b8
mov rdx, rax
lea r8, [0x140137258]
mov rcx, rbx
call fcn.14000d420
call fcn.140045d10
mov rdx, rax
lea r8, [0x140137258]
mov rcx, rbx
call fcn.14000d420
call fcn.1400428a4
mov rdx, rax
lea r8, [0x140137258]
mov rcx, rbx
call fcn.14000d420
cmp qword [rsi + 0x2d8], 0xffffffff80000002
jne 0x140048669
lea rdx, str.SoftwareWow6432Node_
lea rcx, [rsp + 0x78]
call fcn.140001f2c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000d870
nop
mov rdx, rax
mov rcx, rbx
call fcn.140001ff8
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor ebx, ebx
dec eax
jg 0x140048662
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
jmp 0x1400486bc
lea rdx, str.Software_
lea rcx, [rsp + 0x48]
call fcn.140001f2c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000d870
nop
mov rdx, rax
mov rcx, rbx
call fcn.140001ff8
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor ebx, ebx
dec eax
jg 0x1400486b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400486d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
mov rdx, r12
lea rcx, [rbp - 0x58]
call fcn.140002bac
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14003f4b0
nop
mov r8, rax
lea rdx, [0x14013c958]
lea rcx, [rbp - 0x48]
call fcn.140017ca4
nop
lea rcx, [rsi + 0x190]
mov rdx, rax
call fcn.140001ff8
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14004873b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14004875b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbp + 0x30], 8
jb 0x14004876b
mov rcx, qword [rbp + 0x18]
call fcn.1400bcfa4
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rbx
mov word [rbp + 0x18], bx
mov rdx, qword [r13]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14004879a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400487b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400487d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1400487f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400bcfc0
add rsp, 0x418
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret