Function at 0x140047024
Capabilities:
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x308]
sub rsp, 0x408
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x14019be90]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r15, r9
mov r14, r8
mov r13, rdx
mov rsi, rcx
mov qword [rbp], rdx
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x28], r9
mov rdi, qword [rbp + 0x370]
mov qword [rsp + 0x40], rdi
mov qword [rbp - 0x20], rdi
xor r12d, r12d
mov word [rbp + 0xe0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xe2]
call fcn.1400c0510
mov r8d, 0x104
lea rdx, [rbp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400470f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0xb8]
call fcn.140040e34
mov rbx, rax
call fcn.1400426e8
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 0x10]
call fcn.14004549c
lea rdx, [0x1401664c8]
lea rcx, [rbp - 0x10]
call fcn.1400c2fa8
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 + 0xe0], r12w
jne 0x14004711d
mov r8, r12
jmp 0x140047132
lea rax, [rbp + 0xe0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x140047128
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x18]
call fcn.14004c178
nop
mov rax, qword [r13]
lea rcx, [rbp + 0x18]
cmp dword [rax - 0x10], r12d
je 0x1400472c2
lea rdx, [0x140134098]
call fcn.14004ba40
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x18]
call fcn.14004baf8
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x1400471b1
cmp qword [rbp + 0x30], 8
jb 0x140047193
mov rcx, qword [rbp + 0x18]
call fcn.1400bb0b4
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r12
mov word [rbp + 0x18], r12w
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14004bf2c
nop
cmp qword [rbp + 0xb0], 8
jb 0x1400471c7
mov rcx, qword [rbp + 0x98]
call fcn.1400bb0b4
mov qword [rbp + 0xb0], 7
mov qword [rbp + 0xa8], r12
mov word [rbp + 0x98], r12w
lea rdx, [0x140136598]
lea rcx, [rsp + 0x28]
call fcn.140002d94
nop
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x48]
call fcn.1400020f8
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000dac8
nop
mov r8, r13
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000dac8
nop
lea r12, [rsi + 0x1a8]
mov rdx, rax
mov rcx, r12
call fcn.1400021c4
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140047260
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140047279
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140047292
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 0x1400472ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rbx, [rsi + 0x1b8]
mov rdx, r13
mov rcx, rbx
call fcn.1400021c4
jmp 0x140047477
lea rdx, [0x1401339a0]
call fcn.14004ba40
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.14004baf8
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x14004731b
cmp qword [rbp + 0x30], 8
jb 0x1400472fd
mov rcx, qword [rbp + 0x18]
call fcn.1400bb0b4
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r12
mov word [rbp + 0x18], r12w
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14004bf2c
nop
cmp qword [rbp + 0x90], 8
jb 0x14004732e
mov rcx, qword [rbp + 0x78]
call fcn.1400bb0b4
mov qword [rbp + 0x90], 7
mov qword [rbp + 0x88], r12
mov word [rbp + 0x78], r12w
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x38]
call fcn.1400020f8
mov rbx, rax
call fcn.140041ef8
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140018bf8
nop
lea r12, [rsi + 0x1a8]
mov rdx, rax
mov rcx, r12
call fcn.1400021c4
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x1400473a7
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 0x1400473bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x140134098]
lea rcx, [rbp + 0x18]
call fcn.14004ba40
lea r8, [rax + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x18]
call fcn.14004baf8
mov rbx, rax
lea rax, [rbp + 0x18]
cmp rax, rbx
je 0x14004741f
cmp qword [rbp + 0x30], 8
jb 0x140047400
mov rcx, qword [rbp + 0x18]
call fcn.1400bb0b4
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.14004bf2c
nop
cmp qword [rbp + 0x50], 8
jb 0x14004742f
mov rcx, qword [rbp + 0x38]
call fcn.1400bb0b4
mov qword [rbp + 0x50], 7
xor ecx, ecx
mov qword [rbp + 0x48], rcx
mov word [rbp + 0x38], cx
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rbx, [rsi + 0x1b8]
test rdx, rdx
jne 0x14004745f
mov eax, ecx
jmp 0x14004746c
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], cx
jne 0x140047463
mov r8d, eax
mov rcx, rbx
call fcn.1400022bc
xor eax, eax
cmp word [rbp + 0xe0], ax
jne 0x140047487
mov r8d, eax
jmp 0x14004749c
lea rcx, [rbp + 0xe0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], ax
jne 0x140047492
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x18]
call fcn.14004c178
mov rax, qword [rdi]
cmp dword [rax - 0x10], 0
je 0x140047603
lea rdx, [0x140134098]
lea rcx, [rbp + 0x18]
call fcn.14004ba40
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x18]
call fcn.14004baf8
mov rdi, rax
lea rax, [rbp + 0x18]
cmp rax, rdi
je 0x140047517
cmp qword [rbp + 0x30], 8
jb 0x1400474f8
mov rcx, qword [rbp + 0x18]
call fcn.1400bb0b4
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.14004bf2c
nop
cmp qword [rbp + 0x70], 8
jb 0x140047527
mov rcx, qword [rbp + 0x58]
call fcn.1400bb0b4
mov qword [rbp + 0x70], 7
xor eax, eax
mov qword [rbp + 0x68], rax
mov word [rbp + 0x58], ax
lea rdx, [0x140136598]
lea rcx, [rsp + 0x38]
call fcn.140002d94
nop
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rcx, [rbp - 0x40]
call fcn.1400020f8
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14000dac8
nop
mov rdi, qword [rsp + 0x40]
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000dac8
nop
lea rcx, [rsi + 0x1b0]
mov rdx, rax
call fcn.1400021c4
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x1400475b8
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 0x1400475d1
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 0x1400475ea
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 0x140047603
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r12]
mov rcx, rdx
call fcn.1400bfe94
test eax, eax
je 0x14004778a
mov rdx, qword [r14]
mov rcx, rdx
call fcn.1400bfe94
test eax, eax
je 0x1400476ea
mov rdx, qword [r15]
mov rcx, rdx
call fcn.1400bfe94
test eax, eax
je 0x14004765e
call fcn.140041c9c
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp + 8]
call fcn.1400453e4
lea rdx, [0x1401664c8]
lea rcx, [rbp + 8]
call fcn.1400c2fa8
int3
lea rdx, str.dll_found_on_path2
lea rcx, [rsp + 0x20]
call fcn.140002d94
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14004b1f4
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14004769c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r15
mov rcx, r12
call fcn.1400021c4
mov edx, 0x5c
mov rcx, qword [r15]
call fcn.1400bdad4
test rax, rax
jne 0x1400476be
or eax, 0xffffffff
jmp 0x1400476c4
sub rax, qword [r15]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140022e68
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400021c4
nop
mov rdx, qword [rbp - 0x70]
jmp 0x140047771
mov rdx, r14
mov rcx, r12
call fcn.1400021c4
mov edx, 0x5c
mov rcx, qword [r14]
call fcn.1400bdad4
test rax, rax
jne 0x14004770c
or eax, 0xffffffff
jmp 0x140047712
sub rax, qword [r14]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.140022e68
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400021c4
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14004774c
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.140002d94
nop
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14004b1f4
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14004778a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.14004211c
mov rdx, rax
lea r8, [0x140131658]
mov rcx, rbx
call fcn.14000d6b8
call fcn.140043c90
mov rdx, rax
lea r8, [0x140131658]
mov rcx, rbx
call fcn.14000d6b8
call fcn.140043abc
mov rdx, rax
lea r8, [0x140131658]
mov rcx, rbx
call fcn.14000d6b8
call fcn.140045274
mov rdx, rax
lea r8, [0x140131658]
mov rcx, rbx
call fcn.14000d6b8
call fcn.140041ef8
mov rdx, rax
lea r8, [0x140131658]
mov rcx, rbx
call fcn.14000d6b8
cmp qword [rsi + 0x2e0], 0xffffffff80000002
jne 0x140047861
lea rdx, str.SoftwareWow6432Node_
lea rcx, [rsp + 0x78]
call fcn.1400020f8
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000dac8
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400021c4
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor ebx, ebx
dec eax
jg 0x14004785a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
jmp 0x1400478b4
lea rdx, str.Software_
lea rcx, [rbp - 0x68]
call fcn.1400020f8
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000dac8
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400021c4
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor ebx, ebx
dec eax
jg 0x1400478b0
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 0x1400478c8
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.140002cf8
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14003ece4
nop
mov r8, rax
lea rdx, [0x140137020]
lea rcx, [rsp + 0x50]
call fcn.140018cd0
nop
lea rcx, [rsi + 0x198]
mov rdx, rax
call fcn.1400021c4
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140047935
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140047955
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
cmp qword [rbp + 0x30], 8
jb 0x140047965
mov rcx, qword [rbp + 0x18]
call fcn.1400bb0b4
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 0x140047994
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 0x1400479b2
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 0x1400479d0
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 0x1400479ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1400bb0d0
add rsp, 0x408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret