Function at 0x140012fb0
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x710]
sub rsp, 0x810
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rbp + 0x700], rax
mov r14, r8
xor r15d, r15d
mov esi, r15d
mov dword [rbp + 0x110], r15d
mov byte [rbp + 0x170], sil
lea rax, str.dll_dirs_F67BB3AD_7B5E_4C2D_A22B_747BC163AB78
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0x110], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140013045
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140013045
mov ecx, 0x1000
call rax
lea rcx, [rbp - 0x68]
call fcn.140007bd0
cmp byte [rax + 0x20], sil
je 0x14001309f
cmp byte [rbp + 0x170], sil
je 0x140013071
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.140015dd0
jmp 0x140013109
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x160], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov byte [rbp + 0x170], 1
jmp 0x140013109
cmp byte [rbp + 0x170], sil
je 0x140013109
mov rdx, qword [rbp + 0x168]
cmp rdx, 8
jb 0x1400130f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400130ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400130ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002cb00
movdqa xmm0, xmmword [0x1400357e0]
movdqu xmmword [rbp + 0x160], xmm0
mov word [rbp + 0x150], r15w
lea rcx, [rbp - 0x68]
call fcn.1400153f0
mov qword [rbp + 0x118], r15
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x130], 7
lea rcx, [rbp + 0x118]
call fcn.140001660
mov rbx, qword [rbp + 0x130]
mov r10, qword [rbp + 0x118]
test eax, eax
jne 0x140013227
mov r11, qword [rbp + 0x128]
test r11, r11
je 0x140013227
lea r9, [rbp + 0x118]
cmp rbx, 8
cmovae r9, r10
mov rcx, r11
mov eax, 3
cmp r11, rax
cmova rcx, rax
lea rax, [0x140031e90]
test rcx, rcx
je 0x1400131be
movzx edx, word [r9]
mov r8d, 0x61
cmp dx, r8w
jb 0x1400131c8
sub r9, rax
cmp dx, r8w
ja 0x1400131c8
cmp rcx, 1
je 0x1400131be
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14001319e
jmp 0x1400131c8
cmp r11, 3
je 0x14001327d
lea r9, [rbp + 0x118]
cmp rbx, 8
cmovae r9, r10
mov rcx, r11
mov eax, 4
cmp r11, rax
cmova rcx, rax
lea rax, str.core
test rcx, rcx
je 0x140013270
movzx edx, word [r9]
mov r8d, 0x63
cmp dx, r8w
jb 0x140013227
sub r9, rax
cmp dx, r8w
ja 0x140013227
cmp rcx, 1
je 0x140013270
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140013209
mov rdi, 0xffffffffffffffff
cmp rbx, 8
jb 0x140013bc6
lea rdx, [rbx*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140013bbe
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013bbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r11, 4
jne 0x140013227
mov ebx, 0x136
jmp 0x140013282
mov ebx, 0x132
call fcn.140008230
mov byte [rbp + 0x270], sil
cmp byte [rax + 0x20], sil
je 0x1400132bf
mov rdx, rax
lea rcx, [rbp + 0x250]
call fcn.140015e70
mov byte [rbp + 0x270], 1
lea rdx, [rbp + 0x250]
lea rcx, [rbp + 0x278]
call fcn.140006eb0
jmp 0x1400132c6
mov byte [rbp + 0x298], sil
lea rcx, [rbp + 0x250]
call fcn.1400153f0
mov edx, ebx
lea rcx, [rbp + 0x278]
call fcn.1400082b0
mov byte [rbp + 0x2a0], al
test al, al
jne 0x1400132f2
mov edi, r15d
jmp 0x140013b9f
call fcn.140001f90
mov byte [rbp + 0xa0], sil
mov qword [rbp + 0xa8], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r15
mov byte [rbp + 0x108], sil
mov byte [rbp + 0x238], sil
lea rcx, [rbp + 0xa0]
call fcn.14000b3c0
mov dword [rbp + 0x240], eax
movzx eax, byte [rbp + 0xa0]
mov byte [rbp + 0x1d0], al
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x1f0], rax
cmp byte [rbp + 0x108], sil
je 0x1400133d2
cmp byte [rbp + 0x238], sil
je 0x1400133a3
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x1f8]
call fcn.140023940
jmp 0x140013408
mov qword [rbp + 0x230], r15
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x1400133c9
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f8]
call qword [rax]
mov qword [rbp + 0x230], rax
mov byte [rbp + 0x238], 1
jmp 0x140013408
cmp byte [rbp + 0x238], sil
je 0x140013408
mov rcx, qword [rbp + 0x230]
test rcx, rcx
je 0x140013401
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x230], r15
mov byte [rbp + 0x238], sil
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
call fcn.14000bb20
mov edi, eax
mov dword [rbp + 0x144], r15d
mov rbx, r15
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x148], r15
mov qword [rbp + 0x90], r15
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareBitdefenderInternalCrashEnabled
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140013475
mov eax, r15d
mov rbx, qword [rbp + 0x90]
mov qword [rbp + 0x138], rbx
test rbx, rbx
je 0x1400134b0
mov rcx, rbx
test eax, eax
jne 0x140013497
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x138], r15
mov dword [rbp + 0x140], r15d
jmp 0x1400134bf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x138], r15
mov dword [rbp + 0x140], r15d
jmp 0x1400135b4
mov dword [rbp + 0x140], r15d
test eax, eax
jne 0x1400135b4
test edi, edi
js 0x1400135b4
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140040508], eax
jle 0x14001350a
lea rcx, [0x140040508]
call fcn.14002cf20
cmp dword [0x140040508], 0xffffffff
jne 0x14001350a
mov dword [0x140040484], edi
lea rcx, [0x140040508]
call fcn.14002cec0
mov rcx, r15
mov rdx, qword [0x140040560]
lea r8, str.crash
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14001353e
cmp rcx, 8
jne 0x140013520
lea r8, [0x14000bab0]
jmp 0x14001357d
mov rax, r15
lea r8, [0x140032768]
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x14001356b
cmp rax, 8
jne 0x140013550
cmp cx, word [r8 + rax*2 - 2]
lea r8, [0x14000bb00]
lea rax, [0x14000bae0]
cmove r8, rax
lea rax, [0x140040484]
mov r9, r15
cmp dword [0x140040484], r9d
cmova r9, rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400135b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x110], r15
lea rcx, [rbp + 0x110]
call fcn.140010410
cmp qword [rbp + 0x110], 0
je 0x1400137ba
call fcn.140011c70
test al, al
je 0x1400137ba
mov byte [rsp + 0x74], 0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 0xf
mov r8d, 0x26
lea rdx, str.D1AF15A8_B666_4B86_9F88_148272AABFBB
lea rcx, [rsp + 0x78]
call fcn.140016f20
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x2e0], eax
mov rdi, 0xffffffffffffffff
mov r9, rdi
lea r8, str.bd::process_broker::client::spawn_process_with_current_params
mov edx, 0x102
lea rcx, [rbp + 0x2e4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x140031d6c]
mov edx, 0x104
lea rcx, [rbp + 0x2e4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, rdi
lea r8, str.bd::process_broker::client::spawn_process_with_current_params
mov edx, 0x104
lea rcx, [rbp + 0x4ec]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1400403d8]
mov eax, dword [0x1400403d4]
add ecx, eax
je 0x140013726
mov dword [rsp + 0x48], r15d
call fcn.140001f90
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400136b4
call fcn.140001f90
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x68], 0x20
mov esi, 1
lea rax, [rbp + 0x2e4]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4ec]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x68]
movsx edx, si
call fcn.140001510
mov qword [rsp + 0x40], r15
mov eax, edi
lock xadd dword [rsp + 0x48], eax
cmp eax, esi
js 0x140013721
nop
call fcn.140002270
mov eax, edi
lock xadd dword [rsp + 0x48], eax
cmp eax, esi
jns 0x140013710
lock inc dword [rsp + 0x48]
mov byte [rbp - 0x20], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x2a8]
call fcn.1400109e0
lea rcx, [rbp + 0x2e0]
call fcn.140001570
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140013794
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001378f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001378f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002cb00
cmp byte [rbp + 0x2d8], 0
jne 0x1400137a9
cmp byte [rbp + 0x2ac], 0
je 0x1400137a9
mov edi, r15d
lea rcx, [rbp + 0x2a8]
call fcn.140013c70
jmp 0x140013b13
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
lea rcx, [rbp - 0x10]
call fcn.14000d9c0
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.14000d690
lea rcx, [rbp + 0x48]
call fcn.14000dfb0
lea rcx, [rbp + 0x30]
call fcn.140016a70
lea rcx, [rbp + 0x18]
call fcn.140016df0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140013851
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001384c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001384c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002cb00
movdqa xmm0, xmmword [0x1400357f0]
movdqa xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
call fcn.140012190
test al, al
je 0x140013912
lea rbx, [0x140031f08]
test r14, r14
cmovne rbx, r14
call fcn.140002980
mov rcx, rax
test rax, rax
je 0x140013c1a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rdi, 0xffffffffffffffff
test rbx, rbx
je 0x1400138d0
cmp rbx, 0x10000
jae 0x1400138c1
movzx edx, bx
lea rcx, [rsp + 0x60]
call fcn.140018740
jmp 0x1400138e3
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400138c4
jmp 0x1400138d3
mov eax, r15d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14001a3f0
lea rcx, [rsp + 0x60]
call fcn.140011ef0
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400139c7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400139c7
mov ecx, dword [0x1400403d8]
mov eax, dword [0x1400403d4]
add ecx, eax
je 0x14001398e
mov dword [rsp + 0x58], r15d
call fcn.140001f90
mov qword [rsp + 0x50], rax
lock inc dword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
test rax, rax
jne 0x14001394f
call fcn.140001f90
mov qword [rsp + 0x50], rax
lock inc dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x6c], 0x10
lea rax, str.File_Shredder_is_not_allowed_to_run
mov qword [rsp + 0x28], rax
lea rax, str.wWinMain
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x6c]
movsx edx, r15w
call fcn.140001510
mov esi, 1
test sil, 1
je 0x1400139c7
mov qword [rsp + 0x50], r15
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rsp + 0x58], eax
cmp eax, 1
js 0x1400139c2
nop dword [rax]
call fcn.140002270
mov eax, edi
lock xadd dword [rsp + 0x58], eax
cmp eax, 1
jns 0x1400139b0
lock inc dword [rsp + 0x58]
call fcn.140002270
lea rcx, [0x140040538]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140040530], 0
jne 0x1400139e8
call fcn.140027b10
lea rcx, [0x140040538]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140040530]
test rcx, rcx
je 0x140013a14
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [0x140040530]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [0x140040528]
test rdx, rdx
je 0x140013a35
mov rax, qword [0x140040520]
test rax, rax
je 0x140013a35
lea rcx, str.productinfo
call rax
mov qword [0x140040530], r15
mov qword [0x140040528], r15
mov rcx, qword [0x140040510]
test rcx, rcx
je 0x140013a55
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140040510], r15
mov qword [0x140040518], r15
mov qword [0x140040520], r15
xor ecx, ecx
call fcn.14000b940
mov edi, r15d
lea rcx, [rbp + 0x180]
call fcn.14000c390
lea rcx, [rbp + 0x1a8]
call fcn.1400168a0
mov rcx, qword [rbp + 0x1a8]
mov qword [rbp + 0x1a8], r15
mov edx, 0x10
call fcn.14002cb00
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 0x10
jb 0x140013ae8
inc rdx
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013ae3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013ae3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002cb00
mov qword [rbp + 0x198], r15
mov qword [rbp + 0x1a0], 0xf
mov byte [rbp + 0x188], 0
mov rdx, qword [rbp + 0x180]
test rdx, rdx
je 0x140013b13
call fcn.1400169e0
nop
mov rbx, qword [rbp + 0x110]
test rbx, rbx
je 0x140013b35
mov rcx, rbx
call fcn.14000c2f0
mov edx, 0x50
mov rcx, rbx
call fcn.14002cb00
nop
mov rcx, qword [rbp + 0x1f0]
call fcn.14000b940
cmp byte [rbp + 0x238], 0
je 0x140013b70
mov rcx, qword [rbp + 0x230]
test rcx, rcx
je 0x140013b70
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x230], r15
cmp byte [rbp + 0x108], 0
je 0x140013b9f
mov rcx, qword [rbp + 0x100]
test rcx, rcx
je 0x140013b9f
mov rax, qword [rcx]
lea rdx, [rbp + 0xc8]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x100], r15
lea rcx, [rbp + 0x278]
call fcn.140015460
mov rbx, qword [rbp + 0x130]
mov r10, qword [rbp + 0x118]
jmp 0x14001322e
mov rcx, r10
call fcn.14002cb00
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x130], 7
mov word [rbp + 0x118], r15w
lea rcx, [rbp + 0x150]
call fcn.1400153f0
mov eax, edi
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.14002cae0
lea r11, [rsp + 0x810]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003730
int3