Function at 0x180036530
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 [0x180080238]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r14, rcx
cmp qword [0x1800833e0], 0
jne 0x1800367cb
mov ecx, 0x68
call fcn.180037ce4
mov rbx, rax
mov qword [rsp + 0x90], rax
xor ebp, ebp
test rax, rax
je 0x18003667c
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
mov qword [rbx + 8], rbp
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x40], ebp
mov qword [rbx + 0x44], 5
mov qword [rbx + 0x50], 5
mov qword [rbx + 0x58], rbp
mov dword [rbx + 0x60], ebp
mov r8, rbx
lea rsi, str.ComparePlusProgressClass
mov rdx, rsi
lea ecx, [rbp + 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, [0x180036f20]
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, [rbp + 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]
jmp 0x18003667f
mov rbx, rbp
mov qword [rsp + 0x30], rbx
mov ecx, 0x18
call fcn.180037ce4
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1800366bc
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
jmp 0x1800366bf
mov rax, rbp
mov qword [0x1800833e0], rbx
mov rdi, qword [0x1800833e8]
mov qword [0x1800833e8], rax
mov esi, 0xffffffff
test rdi, rdi
je 0x18003670e
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180036707
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x180036707
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rbx, qword [0x1800833e0]
test rbx, rbx
je 0x1800367cb
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 0x18003678a
mov rdi, qword [0x1800818d0]
test rdi, rdi
je 0x18003675a
nop
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 0x180036740
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x180036e90]
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 0x1800367fa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1800833e0], rbp
mov rdi, qword [0x1800833e8]
mov qword [0x1800833e8], rbp
test rdi, rdi
je 0x1800367cb
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1800367cb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1800367cb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lea rax, [0x1800833e0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180037cc0
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 0x180036831
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 0x18003678a
xor edx, edx
mov rcx, qword [0x1800818d0]
call qword [sym.imp.USER32.dll_EnableWindow]
test r14, r14
je 0x1800367cb
mov r9, r14
xor r8d, r8d
lea edx, [r8 + 0xc]
mov rcx, qword [0x1800833e0]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1800367cb