Function at 0x180036d40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x18007d010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbp, rcx
cmp qword [0x180082ef0], 0
jne 0x180036fc1
mov ecx, 0x68
call fcn.1800383c4
mov rbx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], rax
xor r14d, r14d
mov qword [rbx + 8], r14
mov qword [rbx + 0x38], r14
mov dword [rbx + 0x40], r14d
mov qword [rbx + 0x44], 5
mov qword [rbx + 0x50], 5
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x60], r14d
mov r8, rbx
lea rsi, str.ComparePlusProgressClass
mov rdx, rsi
lea ecx, [rax + 5]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
lea rdi, [rsp + 0x40]
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x50
mov dword [rsp + 0x44], 3
lea rax, [0x1800376a0]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx]
mov qword [rsp + 0x58], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x68], rax
lea ecx, [r14 + 0xf]
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rdi, [rsp + 0x90]
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rsp + 0x90], 8
mov dword [rsp + 0x94], 0x4020
lea rcx, [rsp + 0x90]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov qword [rsp + 0x30], rbx
lea ecx, [r14 + 0x18]
call fcn.1800383c4
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_ProgressDlg_.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov qword [0x180082ef0], rbx
mov rdi, qword [0x180082ef8]
mov qword [0x180082ef8], rax
lea esi, [r14 - 1]
test rdi, rdi
je 0x180036f05
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180036efe
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x180036efe
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rbx, qword [0x180082ef0]
test rbx, rbx
je 0x180036fc1
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x180036f80
mov rdi, qword [0x180080590]
test rdi, rdi
je 0x180036f4f
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
jne 0x180036f35
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x180037110]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbx + 0x18]
test rax, rax
jne 0x180036ff0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x180082ef0], r14
mov rdi, qword [0x180082ef8]
mov qword [0x180082ef8], r14
test rdi, rdi
je 0x180036fc1
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180036fc1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x180036fc1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lea rax, [0x180082ef0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800383a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x180037027
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 8]
test rax, rax
je 0x180036f80
xor edx, edx
mov rcx, qword [0x180080590]
call qword [sym.imp.USER32.dll_EnableWindow]
test rbp, rbp
je 0x180036fc1
mov r9, rbp
xor r8d, r8d
lea edx, [r8 + 0xc]
mov rcx, qword [0x180082ef0]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x180036fc1