Function at 0x140045518
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 - 0x328]
sub rsp, 0x428
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x140197e90]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r15, r9
mov r14, r8
mov r13, rdx
mov rsi, rcx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], r8
mov qword [rbp - 8], r9
mov rdi, qword [rbp + 0x390]
mov qword [rsp + 0x40], rdi
mov qword [rbp + 0x10], rdi
xor r12d, r12d
mov word [rbp + 0x100], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x102]
call fcn.1400be450
mov r8d, 0x104
lea rdx, [rbp + 0x100]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400455e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0xb8]
call fcn.14003f5dc
mov rbx, rax
call fcn.140040c60
mov rdx, rax
mov r8, rbx
lea rcx, [rbp]
call fcn.140043980
lea rdx, [0x140162f68]
lea rcx, [rbp]
call fcn.1400c0ee8
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 + 0x100], r12w
jne 0x140045611
mov r8, r12
jmp 0x140045626
lea rax, [rbp + 0x100]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x14004561c
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x18]
call fcn.14004a4f0
nop
mov rax, qword [r13]
lea rcx, [rbp + 0x18]
cmp dword [rax - 0x10], r12d
je 0x1400457a4
lea rdx, [0x140130a20]
call fcn.140049db0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x18]
call fcn.140049e68
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x1400456a2
cmp qword [rbp + 0x30], 8
jb 0x140045684
mov rcx, qword [rbp + 0x18]
call fcn.1400b8ff4
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r12
mov word [rbp + 0x18], r12w
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14004a29c
nop
cmp qword [rbp + 0x50], 8
jb 0x1400456b2
mov rcx, qword [rbp + 0x38]
call fcn.1400b8ff4
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], r12
mov word [rbp + 0x38], r12w
lea rdx, [0x140132f88]
lea rcx, [rsp + 0x28]
call fcn.1400029b8
nop
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x38]
call fcn.140001cb0
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14000d514
nop
mov r8, r13
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000d514
nop
lea r12, [rsi + 0x1a0]
mov rdx, rax
mov rcx, r12
call fcn.140001d7c
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140045742
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 0x14004575b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140045774
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 0x14004578d
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.140001d7c
jmp 0x140045962
lea rdx, [0x140130650]
call fcn.140049db0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x18]
call fcn.140049e68
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x1400457fd
cmp qword [rbp + 0x30], 8
jb 0x1400457df
mov rcx, qword [rbp + 0x18]
call fcn.1400b8ff4
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r12
mov word [rbp + 0x18], r12w
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14004a29c
nop
cmp qword [rbp + 0x70], 8
jb 0x14004580d
mov rcx, qword [rbp + 0x58]
call fcn.1400b8ff4
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], r12
mov word [rbp + 0x58], r12w
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x50]
call fcn.140001cb0
mov rbx, rax
call fcn.1400405a4
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140017478
nop
lea r12, [rsi + 0x1a0]
mov rdx, rax
mov rcx, r12
call fcn.140001d7c
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140045880
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 0x140045898
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x140130a20]
lea rcx, [rbp + 0x18]
call fcn.140049db0
lea r8, [rax + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x18]
call fcn.140049e68
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x1400458fb
cmp qword [rbp + 0x30], 8
jb 0x1400458dc
mov rcx, qword [rbp + 0x18]
call fcn.1400b8ff4
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.14004a29c
nop
cmp qword [rbp + 0xb0], 8
jb 0x140045911
mov rcx, qword [rbp + 0x98]
call fcn.1400b8ff4
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 0x14004594a
mov eax, ecx
jmp 0x140045957
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], cx
jne 0x14004594e
mov r8d, eax
mov rcx, rbx
call fcn.140001e74
xor eax, eax
cmp word [rbp + 0x100], ax
jne 0x140045972
mov r8d, eax
jmp 0x140045987
lea rcx, [rbp + 0x100]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], ax
jne 0x14004597d
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x18]
call fcn.14004a4f0
mov rax, qword [rdi]
cmp dword [rax - 0x10], 0
je 0x140045af7
lea rdx, [0x140130a20]
lea rcx, [rbp + 0x18]
call fcn.140049db0
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.140049e68
mov rdi, rax
lea rax, [rbp + 0x18]
cmp rax, rdi
je 0x140045a02
cmp qword [rbp + 0x30], 8
jb 0x1400459e3
mov rcx, qword [rbp + 0x18]
call fcn.1400b8ff4
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.14004a29c
nop
cmp qword [rbp + 0x90], 8
jb 0x140045a15
mov rcx, qword [rbp + 0x78]
call fcn.1400b8ff4
mov qword [rbp + 0x90], 7
xor eax, eax
mov qword [rbp + 0x88], rax
mov word [rbp + 0x78], ax
lea rdx, [0x140132f88]
lea rcx, [rsp + 0x38]
call fcn.1400029b8
nop
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x40]
call fcn.140001cb0
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14000d514
nop
mov rdi, qword [rsp + 0x40]
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000d514
nop
lea rcx, [rsi + 0x1a8]
mov rdx, rax
call fcn.140001d7c
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140045aac
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 0x140045ac5
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 0x140045ade
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 0x140045af7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r12]
mov rcx, rdx
call fcn.1400bddd4
test eax, eax
je 0x140045c80
mov rdx, qword [r14]
mov rcx, rdx
call fcn.1400bddd4
test eax, eax
je 0x140045bde
mov rdx, qword [r15]
mov rcx, rdx
call fcn.1400bddd4
test eax, eax
je 0x140045b52
call fcn.1400401e8
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.1400438c8
lea rdx, [0x140162f68]
lea rcx, [rbp - 0x28]
call fcn.1400c0ee8
int3
lea rdx, str.dll_found_on_path2
lea rcx, [rsp + 0x20]
call fcn.1400029b8
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400495d0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140045b90
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r15
mov rcx, r12
call fcn.140001d7c
mov edx, 0x5c
mov rcx, qword [r15]
call fcn.1400bb8f8
test rax, rax
jne 0x140045bb2
or eax, 0xffffffff
jmp 0x140045bb8
sub rax, qword [r15]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140021298
nop
mov rdx, rax
mov rcx, rbx
call fcn.140001d7c
nop
mov rdx, qword [rbp - 0x70]
jmp 0x140045c67
mov rdx, r14
mov rcx, r12
call fcn.140001d7c
mov edx, 0x5c
mov rcx, qword [r14]
call fcn.1400bb8f8
test rax, rax
jne 0x140045c00
or eax, 0xffffffff
jmp 0x140045c06
sub rax, qword [r14]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140021298
nop
mov rdx, rax
mov rcx, rbx
call fcn.140001d7c
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140045c42
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.1400029b8
nop
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400495d0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140045c80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x14019ada0]
lea r9, [0x14019bbd0]
xor eax, eax
cmp byte [0x1401a16ef], al
jne 0x140045cf7
mov dword [rbp + 0xe8], 0x1a0058
mov dword [rbp + 0xec], 0x6001e
mov dword [rbp + 0xf0], 0x470012
mov dword [rbp + 0xf4], 0x5e005f
mov dword [rbp + 0xf8], 0x180010
mov dword [rbp + 0xfc], 2
mov ecx, eax
movzx eax, byte [rcx + rdx]
xor ax, word [rbp + rcx*2 + 0xe8]
mov word [r9 + rcx*2], ax
inc rcx
cmp rcx, 0xb
jl 0x140045cd6
mov byte [0x1401a16ef], 1
lea r8, [0x14012e2f8]
mov rdx, r9
mov rcx, rbx
call fcn.14000d0c4
call fcn.140042084
mov rdx, rax
lea r8, [0x14012e2f8]
mov rcx, rbx
call fcn.14000d0c4
call fcn.140041fac
mov rdx, rax
lea r8, [0x14012e2f8]
mov rcx, rbx
call fcn.14000d0c4
lea rdx, [0x14019b998]
xor eax, eax
cmp byte [0x1401a16da], al
jne 0x140045d90
mov dword [rbp + 0xd8], 0x1a0058
mov dword [rbp + 0xdc], 0x6001e
mov dword [rbp + 0xe0], 0x12
mov ecx, eax
lea r8, [0x14019ada0]
movzx eax, byte [rcx + r8]
xor ax, word [rbp + rcx*2 + 0xd8]
mov word [rdx + rcx*2], ax
inc rcx
cmp rcx, 5
jl 0x140045d6f
mov byte [0x1401a16da], 1
lea r8, [0x14012e2f8]
mov rcx, rbx
call fcn.14000d0c4
call fcn.1400405a4
mov rdx, rax
lea r8, [0x14012e2f8]
mov rcx, rbx
call fcn.14000d0c4
cmp qword [rsi + 0x2d8], 0xffffffff80000002
jne 0x140045e1a
lea rdx, str.SoftwareWow6432Node_
lea rcx, [rsp + 0x78]
call fcn.140001cb0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000d514
nop
mov rdx, rax
mov rcx, rbx
call fcn.140001d7c
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor ebx, ebx
dec eax
jg 0x140045e13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
jmp 0x140045e6d
lea rdx, str.Software_
lea rcx, [rsp + 0x48]
call fcn.140001cb0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000d514
nop
mov rdx, rax
mov rcx, rbx
call fcn.140001d7c
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor ebx, ebx
dec eax
jg 0x140045e68
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 0x140045e81
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.14000291c
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14003cef4
nop
mov r8, rax
lea rdx, [0x140133ae8]
lea rcx, [rbp - 0x48]
call fcn.140017550
nop
lea rcx, [rsi + 0x190]
mov rdx, rax
call fcn.140001d7c
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 0x140045eec
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 0x140045f0c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbp + 0x30], 8
jb 0x140045f1c
mov rcx, qword [rbp + 0x18]
call fcn.1400b8ff4
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rbx
mov word [rbp + 0x18], bx
mov rdx, qword [r13]
mov r12d, 0x18
sub rdx, r12
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140045f50
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, r12
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140045f6d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, r12
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140045f8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, r12
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140045fa6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400b9010
add rsp, 0x428
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret