Function at 0x1400037f4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x320
mov rax, qword [0x140015048]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rdx
mov edi, ecx
mov r12d, 1
lea rdx, str.WinMainImpl
mov r9d, r12d
lea rcx, [rbp - 0x68]
mov r8d, 0x3a0
call fcn.14000ab2c
or qword [rbp + 0x30], 0xffffffffffffffff
lea rax, [0x1400122e0]
xor r13d, r13d
mov qword [rbp + 0x70], rax
mov qword [rbp - 0x70], r13
xorps xmm0, xmm0
mov dword [rbp - 0x1c], r13d
mov eax, 0x3c5
mov dword [rbp - 0x10], r13d
mov r14d, r13d
mov dword [rbp + 0x20], r13d
mov r15d, r13d
mov qword [rbp], r13
movabs rdx, 0x400000000000
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x28], r13
mov dword [rbp + 0xc], r13d
mov dword [rbp + 8], r13d
mov dword [rbp + 0x14], r13d
mov dword [rbp - 0x2c], r13d
mov dword [rbp + 0x18], r13d
mov dword [rbp - 0x14], r13d
mov dword [rbp + 0x10], r13d
mov dword [rbp - 0x30], r13d
mov dword [rbp - 0x18], r13d
mov qword [rbp + 0x58], r13
mov dword [rbp + 0x24], r13d
mov dword [rbp - 0x7c], r13d
mov dword [rbp + 0x1c], 8
mov qword [rbp + 0x78], r13
movups xmmword [rbp + 0x140], xmm0
test rbx, rbx
jne 0x1400038e7
mov esi, 0x80070057
mov dword [rbp - 0x68], esi
mov word [rbp - 0x62], ax
jmp 0x1400041bd
lea rcx, [rbp + 0x24]
mov dword [rbp - 0x68], r13d
mov word [rbp - 0x64], ax
call fcn.140001b54
mov esi, eax
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x3cc
jns 0x14000390f
mov word [rbp - 0x62], ax
jmp 0x1400041b3
lea rcx, [rbp]
mov word [rbp - 0x64], ax
call fcn.140001998
mov esi, eax
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x3cf
js 0x140003906
lea rcx, [rbp - 0x78]
mov word [rbp - 0x64], ax
call fcn.140001998
mov esi, eax
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x3d0
js 0x140003906
cmp dword [section..data], 5
mov word [rbp - 0x64], ax
jbe 0x140003a1d
movabs rdx, 0x400000000000
test qword [0x140015010], rdx
je 0x140003a1d
mov rax, qword [0x140015018]
and rax, rdx
cmp rax, qword [0x140015018]
jne 0x140003a1d
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov qword [rbp + 0xb8], 0x1000000
test rax, rax
je 0x1400039b7
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x1400039a4
lea edx, [rcx*2 + 2]
jmp 0x1400039c3
lea rax, [0x14000fc48]
mov edx, 2
mov qword [rbp + 0x1e0], rax
lea rcx, [section..data]
lea rax, [rbp + 0xb8]
mov dword [rbp + 0x1e8], edx
mov qword [rbp + 0x1d0], rax
lea rdx, [0x14001259e]
lea rax, [rbp + 0x1b0]
mov dword [rbp + 0x1ec], r13d
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov qword [rbp + 0x1d8], 8
call fcn.14000118c
cmp edi, r12d
jle 0x14000419e
lea rax, [rbp + 0x70]
mov edx, edi
mov qword [rsp + 0x90], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x1c]
mov rcx, rbx
mov qword [rsp + 0x88], rax
lea r8, [rbp - 0x1c]
lea rax, [rbp + 0x150]
mov qword [rsp + 0x80], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x14]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x14]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc]
mov qword [rsp + 0x20], rax
call fcn.140002410
mov esi, eax
test eax, eax
js 0x140004165
cmp eax, r12d
je 0x14000416c
cmp dword [rbp - 0x7c], r13d
jbe 0x140003afd
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
mov r15, rax
mov eax, dword [rbp - 0x7c]
add r15, rax
mov qword [rbp + 0x30], r15
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rbp - 8], rax
mov r15, rax
test rax, rax
jne 0x140003b38
call fcn.14000c0f8
mov esi, eax
mov dword [rbp - 0x68], eax
mov ecx, 0x408
mov word [rbp - 0x62], cx
jmp 0x1400041b3
mov ecx, 0x408
mov dword [rbp - 0x68], r13d
mov word [rbp - 0x64], cx
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140003b5b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14000f760]
mov rcx, qword [rbp + 0x58]
lea r8, [rbp - 0x70]
mov rdx, r15
call fcn.140004dc4
mov ecx, 0x80070005
mov esi, eax
cmp eax, ecx
jne 0x140003c2a
call fcn.14000a390
mov esi, eax
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x40f
js 0x140003906
mov rcx, qword [rbp - 0x70]
mov word [rbp - 0x64], ax
mov rdi, rcx
mov qword [rbp + 0x58], r13
test rcx, rcx
je 0x140003bb6
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14000f760]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [0x1400157f8]
test rdx, rdx
je 0x140003bdd
mov qword [0x1400157f8], r13
mov rcx, rdx
mov rax, qword [rdx]
mov rax, qword [rax + 0x10]
call qword [0x14000f760]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
mov r9d, dword [rbp + 8]
mov r8d, dword [rbp + 0xc]
mov rdx, qword [rbp]
mov qword [rsp + 0x20], rax
mov qword [0x1400157f8], rdi
call fcn.140001da8
mov esi, eax
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x41a
js 0x140003906
mov word [rbp - 0x64], ax
cmp qword [rbp - 0x78], r13
jne 0x140003c39
mov esi, 0x80070057
lea ecx, [rax + 3]
mov dword [rbp - 0x68], esi
jmp 0x140003b2f
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x411
jmp 0x140003b8b
mov r14, qword [rbp - 0x78]
lock add dword [r14 + 0x28], r12d
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax]
mov rax, qword [rbp - 0x78]
lea rdx, [rax + 8]
mov ecx, 0x41d
mov dword [rbp - 0x68], r13d
mov word [rbp - 0x64], cx
test rdx, rdx
je 0x140004153
mov esi, dword [rax]
lea eax, [rcx + 1]
mov word [rbp - 0x64], ax
mov dword [rbp - 0x80], esi
mov dword [rbp - 0x68], r13d
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax]
cmp esi, ecx
je 0x140003c92
mov esi, 0x8000ffff
mov ecx, 0x420
mov dword [rbp - 0x68], esi
jmp 0x140003b2f
mov r12, qword [rbp - 0x78]
add r12, 0x18
cmp rdx, r12
je 0x14000411d
mov r15, qword [rdx]
cmp r15, r12
je 0x14000411d
mov rax, qword [r15 + 0x10]
mov ecx, 0x420
mov qword [rbp - 0x28], rax
lock inc dword [rax + 4]
mov word [rbp - 0x64], cx
mov edi, 0x42a
mov dword [rbp - 0x68], r13d
test rax, rax
je 0x140004076
mov rbx, qword [rbp - 0x28]
mov r9d, dword [rbp + 0x10]
mov ecx, dword [rbp - 0x1c]
mov rax, qword [rbx + 8]
mov edx, dword [rbx + 0x18]
mov qword [rbp + 0x68], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x30]
mov dword [rsp + 0x20], eax
call fcn.14000d264
mov dword [rbp - 0x68], eax
mov esi, eax
test eax, eax
js 0x1400040f2
cmp dword [rbp - 0x10], 0
mov word [rbp - 0x64], di
jbe 0x140004070
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
mov r8, qword [rbp + 0x68]
lea rdi, [rbp + 0x140]
mov rsi, rax
mov qword [rbp + 0xc8], rax
xor eax, eax
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
test r8, r8
je 0x140004063
mov edi, dword [rbp - 0x7c]
test edi, edi
je 0x140003d6a
cmp qword [rbp + 0x30], rsi
jbe 0x140004063
mov eax, dword [rbp + 0x14]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp + 0x30]
mov dword [rbp + 0x80], eax
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp - 0x14]
mov dword [rbp + 0x88], eax
xor eax, eax
test edx, edx
sete al
sub ecx, esi
mov dword [rbp + 0x8c], eax
mov eax, dword [rbp - 0x30]
mov dword [rbp + 0x90], eax
mov eax, dword [rbp - 0x18]
mov dword [rbp + 0x94], eax
xor eax, eax
test edi, edi
cmovne eax, ecx
mov dword [rbp + 0x98], eax
mov eax, dword [rbp + 0x1c]
test edx, edx
je 0x140003dd4
test eax, eax
jle 0x140003dd4
lea rcx, [rbp + 0x150]
mov qword [rbp + 0xa0], rcx
jmp 0x140003ddc
and qword [rbp + 0xa0], 0
movups xmm0, xmmword [rbp + 0x80]
mov rcx, qword [0x1400157f8]
lea r9, [rbp + 0x100]
movups xmm1, xmmword [rbp + 0x90]
mov dword [rbp + 0xa8], eax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0xb0], rax
mov eax, r13d
movaps xmmword [rbp + 0x100], xmm0
movups xmm0, xmmword [rbp + 0xa0]
mov edx, dword [rbp + rax*4 + 0xc0]
mov rax, qword [rcx]
movaps xmmword [rbp + 0x110], xmm1
movsd xmm1, qword [rbp + 0xb0]
movaps xmmword [rbp + 0x120], xmm0
mov rax, qword [rax + 0x20]
movsd qword [rbp + 0x130], xmm1
mov dword [rbp - 0xc], edx
call qword [0x14000f760]
mov edi, eax
test eax, eax
jns 0x140003e79
mov ecx, eax
call fcn.14000a390
mov esi, eax
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x447
js 0x1400040e2
mov rsi, qword [rbp + 0xc8]
mov word [rbp - 0x64], ax
mov rcx, qword [0x1400157f8]
lea rdx, [rbp + 0x140]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [0x14000f760]
cmp dword [section..data], 5
jbe 0x140003fc8
movabs rdx, 0x400000000000
test qword [0x140015010], rdx
je 0x140003fc8
mov rax, qword [0x140015018]
and rax, rdx
cmp rax, qword [0x140015018]
jne 0x140003fc8
mov ecx, dword [rbx + 0x18]
lea rdx, [0x1400124c9]
mov eax, dword [rbp - 0xc]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp - 0x1c]
mov dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0xd0], rax
mov eax, dword [rbp - 0x7c]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp - 0x18]
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp - 0x30]
mov dword [rbp + 0x48], eax
mov eax, dword [rbp - 0x2c]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp - 0x14]
mov dword [rbp + 0x40], eax
lea rax, [rbp + 0x140]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x80], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov qword [rbp + 0xd8], rsi
mov dword [rbp + 0x3c], ecx
mov qword [rbp + 0xf0], 0x1000000
call fcn.140001008
cmp dword [rbp - 0x2c], 0
jne 0x14000405b
test edi, edi
jns 0x140003fe4
cmp edi, 0x89000000
jne 0x14000405b
cmp dword [rbp + 0x20], 0
je 0x140004063
mov rcx, qword [0x1400157f8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x14000f760]
mov ecx, eax
mov edi, eax
call fcn.14000a390
mov esi, eax
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x46a
js 0x1400040e2
mov word [rbp - 0x64], ax
test edi, edi
js 0x14000405b
lea rcx, str._nPost_Defragmentation_Report:_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rcx, qword [0x1400157f8]
mov edx, dword [rbp - 0xc]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x14000f760]
mov esi, eax
mov dword [rbp - 0x68], eax
test eax, eax
mov eax, 0x476
js 0x1400040e2
mov word [rbp - 0x64], ax
cmp edi, 0x89000006
je 0x1400040d5
inc r13d
cmp r13d, dword [rbp - 0x10]
jb 0x140003d28
mov esi, dword [rbp - 0x80]
xor r13d, r13d
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x1400040a7
or eax, 0xffffffff
lock xadd dword [rbx + 4], eax
cmp eax, 1
jne 0x1400040a7
mov rdi, qword [rbp - 0x28]
lea rcx, [rdi + 8]
call fcn.14000d4e8
mov rcx, rdi
mov dword [rdi], 0x49634664
call fcn.14000e23c
mov qword [rbp - 0x28], r13
test r15, r15
je 0x14000410a
mov eax, dword [r14]
cmp esi, eax
jne 0x14000410a
cmp r15, r12
je 0x1400040ff
mov rax, qword [r15]
mov r15, rax
cmp rax, r12
je 0x1400040ff
mov rax, qword [rax + 0x10]
mov ecx, 0x485
jmp 0x140003cb8
mov esi, 0x89000006
mov eax, 0x47f
mov dword [rbp - 0x68], esi
mov r15, qword [rbp - 8]
xor r13d, r13d
mov word [rbp - 0x62], ax
jmp 0x1400041b3
mov word [rbp - 0x62], di
mov r15, qword [rbp - 8]
jmp 0x1400041b3
mov eax, 0x485
mov word [rbp - 0x64], ax
jmp 0x140004126
mov esi, 0x8000ffff
mov eax, 0x485
mov dword [rbp - 0x68], esi
mov word [rbp - 0x62], ax
jmp 0x1400040f6
mov ecx, 0x420
mov word [rbp - 0x64], cx
mov dword [rbp - 0x68], 1
or eax, 0xffffffff
lock xadd dword [r14 + 0x28], eax
cmp eax, 1
jne 0x14000414b
mov rcx, r14
call fcn.140004880
mov rcx, r14
call fcn.14000e23c
mov esi, dword [rbp - 0x68]
mov r14, r13
jmp 0x1400040f6
mov esi, 0x8000ffff
mov eax, 0x41e
mov dword [rbp - 0x68], esi
jmp 0x140003906
mov ecx, esi
call fcn.14000a390
call fcn.140001c50
mov dword [rbp - 0x68], esi
movabs rdx, 0x400000000000
test esi, esi
jns 0x14000418c
mov eax, 0x3f8
jmp 0x1400038de
mov eax, 0x3f9
mov dword [rbp - 0x68], r12d
mov word [rbp - 0x64], ax
mov esi, r12d
jmp 0x1400041bd
call fcn.140001c50
mov eax, 0x3ff
mov dword [rbp - 0x68], r12d
mov word [rbp - 0x64], ax
mov esi, r12d
movabs rdx, 0x400000000000
cmp dword [section..data], 5
jbe 0x140004279
test qword [0x140015010], rdx
je 0x140004279
mov rax, qword [0x140015018]
and rax, rdx
cmp rax, qword [0x140015018]
jne 0x140004279
movzx eax, word [rbp - 0x62]
lea rdx, [0x14001247f]
mov word [rbp - 0x20], ax
lea rcx, [section..data]
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], esi
mov qword [rbp + 0x1a0], rax
xor r9d, r9d
lea rax, [rbp - 0x20]
mov qword [rbp + 0xf8], 0x1000000
mov qword [rbp + 0x190], rax
xor r8d, r8d
lea rax, [rbp + 0xf8]
mov qword [rbp + 0x1a8], 4
mov qword [rbp + 0x180], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
mov qword [rbp + 0x198], 2
mov qword [rbp + 0x188], 8
call fcn.14000118c
mov esi, dword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400042ef
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x38]
call qword [0x14000f760]
mov rcx, qword [0x1400157f8]
test rcx, rcx
je 0x1400042b1
mov qword [0x1400157f8], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14000f760]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400042cb
mov qword [rbp - 0x70], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14000f760]
or edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov esi, dword [rbp - 0x68]
cmp dword [rbp + 0x24], r13d
je 0x140004304
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
mov esi, dword [rbp - 0x68]
lea rcx, [rbp + 0x70]
call fcn.14000d4e8
test r14, r14
je 0x140004330
or eax, 0xffffffff
lock xadd dword [r14 + 0x28], eax
cmp eax, 1
jne 0x140004330
mov rcx, r14
call fcn.140004880
mov rcx, r14
call fcn.14000e23c
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x140004361
or eax, 0xffffffff
lock xadd dword [rbx + 4], eax
cmp eax, 1
jne 0x140004361
mov rdi, qword [rbp - 0x28]
lea rcx, [rdi + 8]
call fcn.14000d4e8
mov rcx, rdi
mov dword [rdi], 0x49634664
call fcn.14000e23c
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x140004389
or ecx, 0xffffffff
lock xadd dword [rax + 0x28], ecx
cmp ecx, 1
jne 0x140004389
mov rcx, qword [rbp - 0x78]
call fcn.140004880
mov rcx, qword [rbp - 0x78]
call fcn.14000e23c
mov rax, qword [rbp]
test rax, rax
je 0x1400043b1
or ecx, 0xffffffff
lock xadd dword [rax + 0x28], ecx
cmp ecx, 1
jne 0x1400043b1
mov rcx, qword [rbp]
call fcn.140004880
mov rcx, qword [rbp]
call fcn.14000e23c
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400043cb
mov qword [rbp - 0x70], r13
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x14000f760]
lea rcx, [rbp - 0x68]
call fcn.14000ac34
mov eax, esi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14000e5c0
mov rbx, qword [rsp + 0x370]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret