Function at 0x140003bd4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xe60]
sub rsp, 0xf60
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rbp + 0xe50], rax
mov rbx, rcx
xor esi, esi
lea rcx, [0x14000f190]
mov qword [rsp + 0x60], rsi
mov rdi, rdx
call fcn.140008aa0
test rax, rax
je 0x1400040ae
lea r14, [0x14000bc40]
mov r8, r14
lea ecx, [rsi + 6]
mov rdx, r14
call qword [sym.imp.MSO.dll_Ordinal_2539]
test eax, eax
je 0x1400040ae
xor r9d, r9d
mov dword [rsp + 0x20], 6
xor r8d, r8d
lea rdx, [0x14000bc50]
mov ecx, 0x80000001
call qword [sym.imp.MSO.dll_Ordinal_3012]
lea rax, [rsp + 0x60]
mov r9, r14
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.MSO.dll_Ordinal_119]
test eax, eax
je 0x1400040ae
lea rdx, [0x14000fa88]
lea ecx, [rsi + 0xc]
call qword [sym.imp.OLMAPI32.dll_Ordinal_258]
test eax, eax
js 0x1400040ae
mov rdx, r14
mov rcx, r14
call qword [sym.imp.USER32.dll_FindWindowW]
test rdi, rdi
jne 0x140004043
test rax, rax
jne 0x140004043
xor edx, edx
lea rcx, [0x14000f9e4]
mov r8d, 0x98
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14000f9e0]
mov dword [0x14000f9e0], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x140003d01
lea rcx, [0x14000f9e0]
mov dword [0x14000f9e0], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rax, [0x1400046c0]
mov dword [rbp - 0x40], esi
lea rdx, str.scanpst_icon
mov qword [rbp - 0x38], rax
mov rcx, rbx
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rbx
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x20], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov ecx, 5
mov qword [rbp - 0x18], rax
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
lea rcx, [rbp - 0x40]
mov qword [rbp - 8], rsi
mov qword [rbp - 0x10], rax
mov qword [rbp], r14
call fcn.1400078b0
test ax, ax
je 0x1400040ae
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdi, [0x1400105c0]
mov rdx, rax
mov rcx, rdi
call fcn.140007304
cmp dword [0x140010804], esi
je 0x140003fb7
mov rcx, qword [0x1400107f8]
lea rdx, [rbp + 0x40]
xorps xmm0, xmm0
mov qword [rbp - 0x50], rsi
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x60], xmm1
call fcn.1400041f0
test eax, eax
jne 0x140003e97
call fcn.1400040d8
mov rcx, qword [rbp - 0x60]
mov ebx, 0x1000
test rcx, rcx
je 0x140003e09
mov rax, qword [rbp - 0x50]
mov rdx, rcx
sub rax, rcx
and rax, 0xfffffffffffffff0
cmp rax, rbx
jb 0x140003e03
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140003fa8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140003e56
mov rax, qword [rbp - 0x68]
movabs r8, 0xaaaaaaaaaaaaaaab
sub rax, rcx
mov rdx, rcx
sar rax, 2
imul rax, r8
lea rax, [rax + rax*2]
shl rax, 2
cmp rax, rbx
jb 0x140003e50
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140003fa8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400040ae
mov rax, qword [rbp - 0x80]
mov rdx, rcx
sub rax, rcx
and rax, 0xfffffffffffffff0
cmp rax, rbx
jb 0x140003e8c
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140003fa8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400040ae
lea rax, [rbp + 0x40]
xor edx, edx
mov qword [0x1400107f8], rax
lea r8, [rbp + 0x250]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x650]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], rax
call fcn.140001f40
lea rcx, [rbp + 0x40]
call fcn.1400084bc
mov rcx, qword [rbp - 0x60]
mov ebx, 0x1000
test rcx, rcx
je 0x140003f21
mov rax, qword [rbp - 0x50]
mov rdx, rcx
sub rax, rcx
and rax, 0xfffffffffffffff0
cmp rax, rbx
jb 0x140003f0f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140003fa8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
mov qword [rbp - 0x50], rsi
movdqa xmmword [rbp - 0x60], xmm0
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140003f76
mov rax, qword [rbp - 0x68]
movabs r8, 0xaaaaaaaaaaaaaaab
sub rax, rcx
mov rdx, rcx
sar rax, 2
imul rax, r8
lea rax, [rax + rax*2]
shl rax, 2
cmp rax, rbx
jb 0x140003f64
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140003fa8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rsi
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140004031
mov rax, qword [rbp - 0x80]
mov rdx, rcx
sub rax, rcx
and rax, 0xfffffffffffffff0
cmp rax, rbx
jb 0x140003faf
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140003faf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004031
mov qword [0x14000fa80], rbx
call fcn.140007978
mov qword [0x14000fa90], rax
test rax, rax
jne 0x140003fd3
mov eax, esi
jmp 0x140003ffe
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14000fa90]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x3f3
call qword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
test eax, eax
je 0x140004031
jmp 0x14000401a
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
lea rcx, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140004004
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSO.dll_Ordinal_3898]
mov eax, 1
jmp 0x1400040b0
mov rcx, qword [0x14000fa88]
lea r8, [0x14000fab0]
mov r9d, 0x80
mov edx, 0x80f2
call qword [sym.imp.USER32.dll_LoadStringW]
lea rdx, [0x14000fab0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x1400040ae
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea rdx, [rbp + 0x10]
mov dword [rbp + 0x10], 0x2c
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x1400040ae
cmp dword [rbp + 0x18], 2
jne 0x1400040ae
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov rcx, qword [rbp + 0xe50]
xor rcx, rsp
call fcn.1400095c0
lea r11, [rsp + 0xf60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret