Function at 0x14003d0d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rsi, rcx
mov dword [rbp + 0x1b8], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rcx
lea rcx, [0x14003d4a0]
call fcn.1401ca984
mov rbx, rax
mov edi, 0xffffffff
test rax, rax
je 0x14003d2ee
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14010e250
nop
mov edx, 0xdbc
lea rcx, [rbp + 0x178]
call fcn.1400041d0
xor edx, edx
mov rcx, rsi
call fcn.1401c00b8
mov qword [rbp + 0x70], rax
test rax, rax
je 0x14003d17d
mov rcx, rax
call fcn.1401c5abc
test eax, eax
je 0x14003d17d
xor edx, edx
mov rcx, qword [rbp + 0x70]
call fcn.1401c57e8
mov dword [rbp + 0x184], 1
mov r8, rsi
mov edx, 0x404
lea rcx, [rsp + 0x60]
call fcn.1401c6060
test eax, eax
jne 0x14003d1aa
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
mov rax, qword [rax + 0x318]
call qword [case.0x1400136d6.0]
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.1401c5d54
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.1401c57e8
mov edx, 5
lea rcx, [rsp + 0x60]
call fcn.1401c5d54
mov dword [rbx + 0x50], 0
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor edx, edx
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14003d25a
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14003d247
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor edx, edx
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14003d200
lea rdx, [rbp + 0x1b8]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
mov rax, qword [rax + 0x318]
call qword [case.0x1400136d6.0]
lea rcx, [rsp + 0x60]
call fcn.1401bf7a0
nop
lea rax, vtable.CBaseDlgWait.0
mov qword [rsp + 0x60], rax
mov rdx, qword [rbp + 0x178]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003d2d8
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
lea rcx, [rbp + 0x90]
call fcn.1401c6f3c
lea rcx, [rsp + 0x60]
call fcn.1401c5dfc
mov r8d, dword [rbp + 0x1b8]
test r8d, r8d
jne 0x14003d44c
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x14003d482
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rbp + 0x1c0], rax
lea rcx, [rsi + 0x130]
lea rdx, [rbp + 0x1c0]
call fcn.1401c0258
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x14003d477
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rbp + 0x1c8], rax
mov r8, qword [rbp + 0x1c0]
mov edx, 0xdba
lea rcx, [rbp + 0x1c8]
call fcn.14003e030
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rbx, qword [rbp + 0x1c8]
mov r8, rbx
lea rdx, str.PortList
mov rcx, r9
call qword [case.0x1400136d6.0]
mov rcx, qword [0x1402bbf60]
mov rax, qword [rcx]
mov r8, qword [rsi + 0x218]
mov rdx, rbx
mov rax, qword [rax + 0x150]
call qword [case.0x1400136d6.0]
mov rcx, qword [0x1402bbf60]
mov rax, qword [rcx]
mov r8, qword [rsi + 0x220]
mov rdx, rbx
mov rax, qword [rax + 0x158]
call qword [case.0x1400136d6.0]
mov rcx, rsi
call fcn.1401c6b90
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003d422
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
nop
mov rdx, qword [rbp + 0x1c0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14003d464
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
jmp 0x14003d464
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov rdx, qword [rsi + 0x40]
mov rax, qword [rax + 0x28]
call qword [case.0x1400136d6.0]
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
nop
mov ecx, 0x80004005
call fcn.140001470
int3