Function at 0x140024bc0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rbx, rcx
lea r15, [rcx + 0x728]
xor ebp, ebp
mov dword [rsp + 0x108], ebp
cmp dword [r15 + 0xb8], ebp
je 0x140024c6c
cmp qword [r15 + 0xa8], rbp
je 0x140024c6c
mov rcx, qword [r15 + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rdx, [rsp + 0x108]
mov rcx, qword [r15 + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x140024c4c
cmp dword [rsp + 0x108], 0x103
jne 0x140024c4c
or edx, 0xffffffff
mov rcx, qword [r15 + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [r15 + 0xa8]
test rcx, rcx
je 0x140024c65
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15 + 0xa8], rbp
mov dword [r15 + 0xb8], ebp
cmp dword [r15 + 0xb8], ebp
jne 0x140024c9a
mov rcx, r15
call fcn.140138f20
cmp qword [r15 + 0x18], rbp
jle 0x140024c8b
mov rcx, r15
call fcn.1401e7348
cmp qword [r15 + 0x50], rbp
jle 0x140024c9a
lea rcx, [r15 + 0x38]
call fcn.1401ee430
mov qword [rbx + 0x7e8], rbx
mov dword [rsp + 0x44], ebp
mov dword [rsp + 0x4c], ebp
mov dword [rbx + 0x7f0], ebp
mov rax, qword [rbx + 0xc0]
mov r12, qword [rax + 0x1a20]
test r12, r12
je 0x140025441
nop
nop
nop
mov dword [rsp + 0x48], ebp
mov rax, r12
test r12, r12
je 0x14002543b
mov r12, qword [r12]
mov qword [rsp + 0x88], r12
mov r12, qword [rax + 0x10]
test r12, r12
je 0x1400253cc
cmp dword [r12 + 0x48], 0
je 0x1400253cc
mov rdi, qword [r12 + 0x28]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140024d2e
cmp rax, qword [rdi - 0x18]
jne 0x140024d2e
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140024d6a
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x1400253f6
mov ecx, dword [rdi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rdi - 0x10]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.140216220
lea rax, [rsi + 0x18]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0xf8], rax
lea rcx, [rbx + 0x760]
lea rdx, [rsp + 0x60]
call fcn.1401ee608
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024db3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, 0x58
call fcn.1401dac8c
mov qword [rsp + 0xf8], rax
test rax, rax
je 0x140024dd7
mov rcx, rax
call fcn.14014e5a0
mov r13, rax
jmp 0x140024dda
mov r13, rbp
mov r14d, dword [r12 + 0x180]
bt r14d, 0x1d
jb 0x140024e0e
mov eax, dword [r12 + 0x184]
test al, 0x10
jne 0x140024e0e
test al, 1
je 0x140024e05
bt dword [r12 + 0x17c], 0xb
jb 0x140024e0e
mov dword [rsp + 0xf8], ebp
jmp 0x140024e19
mov dword [rsp + 0xf8], 1
bt r14d, 0xc
jb 0x140024e30
bt r14d, 0x1a
jb 0x140024e30
mov dword [rsp + 0x100], ebp
jmp 0x140024e3b
mov dword [rsp + 0x100], 1
shr r14d, 6
and r14d, 1
mov eax, dword [r12 + 0x17c]
shr eax, 0x12
and eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [r12 + 0x188]
shr eax, 0xb
and eax, 1
mov dword [rsp + 0x40], eax
test r13, r13
je 0x140025396
mov rdi, qword [r12 + 0x38]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140024e99
cmp rax, qword [rdi - 0x18]
jne 0x140024e99
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140024ed5
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x1400253f0
mov ecx, dword [rdi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rdi - 0x10]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.140216220
lea rax, [rsi + 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x90], rcx
lea rdi, [rax - 0x18]
mov rsi, qword [r13]
sub rsi, 0x18
cmp rdi, rsi
je 0x140024faf
cmp dword [rsi + 0x10], 0
jl 0x140024f9b
mov rcx, qword [rdi]
cmp rcx, qword [rsi]
jne 0x140024f9b
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x140024f34
cmp rax, qword [rdi]
jne 0x140024f34
mov rbx, rdi
lock add dword [rdi + 0x10], 1
jmp 0x140024f71
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x1400253de
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 8]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
lea r8, [rdi + 0x18]
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.140216220
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024f8c
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [r13], rax
mov rax, qword [rsp + 0x50]
jmp 0x140024faf
mov r8d, dword [rax - 0x10]
mov rdx, rax
mov rcx, r13
call fcn.140007720
mov rax, qword [rsp + 0x50]
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140024fcb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [r12 + 0x28]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140024ff4
cmp rax, qword [rdi - 0x18]
jne 0x140024ff4
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140025030
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x1400253ea
mov ecx, dword [rdi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rdi - 0x10]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.140216220
lea rax, [rsi + 0x18]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x90], rcx
lea rdi, [rax - 0x18]
mov rsi, qword [r13 + 0x50]
sub rsi, 0x18
cmp rdi, rsi
je 0x14002510b
cmp dword [rsi + 0x10], 0
jl 0x1400250f6
mov rcx, qword [rdi]
cmp rcx, qword [rsi]
jne 0x1400250f6
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x14002508f
cmp rax, qword [rdi]
jne 0x14002508f
mov rbx, rdi
lock add dword [rdi + 0x10], 1
jmp 0x1400250cc
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x1400253e4
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 8]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
lea r8, [rdi + 0x18]
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.140216220
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400250e7
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [r13 + 0x50], rax
mov rax, qword [rsp + 0x70]
jmp 0x14002510b
mov r8d, dword [rax - 0x10]
mov rdx, rax
lea rcx, [r13 + 0x50]
call fcn.140007720
mov rax, qword [rsp + 0x70]
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140025127
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r12
mov rbx, qword [rsp + 0xf0]
mov rcx, rbx
call fcn.140024ac0
test eax, eax
je 0x140025270
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 1
lea rdx, [0x14025eb88]
lea rcx, [rsp + 0x80]
call fcn.14003c0d0
nop
xor edx, edx
lea rdi, [0x140260b08]
mov rax, qword [rsp + 0x80]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x14002518a
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
sete cl
test cl, cl
je 0x1400251b1
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400251e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400251e7
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x80]
call fcn.1401ee608
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400251e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x14025eb70]
lea rcx, [rsp + 0x58]
call fcn.14003c0d0
nop
xor edx, edx
lea rdi, [0x140260b08]
mov rax, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x140025219
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
sete cl
test cl, cl
je 0x140025240
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140025270
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140025270
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x58]
call fcn.1401ee608
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140025270
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx + 0xc0]
bt dword [rax + 0x10], 0x11
jb 0x1400252d7
cmp dword [rsp + 0x78], 0
jne 0x1400252c6
mov ebp, dword [rsp + 0x100]
test ebp, ebp
jne 0x1400252e8
mov r12d, dword [rsp + 0xf8]
test r12d, r12d
jne 0x1400252f0
test r14d, r14d
jne 0x1400252f0
cmp dword [rsp + 0x40], r14d
jne 0x1400252f0
cmp dword [rsp + 0x48], r14d
jne 0x140025381
lea edx, [rbp + 1]
mov rcx, r13
call fcn.1400255e0
xor ebp, ebp
jmp 0x1400253cc
mov ebp, dword [rsp + 0x100]
mov r12d, dword [rsp + 0xf8]
jmp 0x1400252f0
mov ebp, dword [rsp + 0x100]
mov r12d, dword [rsp + 0xf8]
jmp 0x1400252f0
mov r12d, dword [rsp + 0xf8]
mov dword [rsp + 0x4c], 1
lea rdx, [0x14025eba0]
lea rcx, [rsp + 0x68]
call fcn.14003c0d0
nop
xor edx, edx
lea rdi, [0x140260b08]
mov rax, qword [rsp + 0x68]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x14002532a
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
sete cl
test cl, cl
je 0x140025351
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140025381
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140025381
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x68]
call fcn.1401ee608
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140025381
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbx + 0x798]
mov rdx, r13
call fcn.1401e75c0
mov eax, dword [rsp + 0x40]
jmp 0x1400253a5
mov ebp, dword [rsp + 0x100]
mov r12d, dword [rsp + 0xf8]
test ebp, ebp
je 0x1400253b3
mov dword [rbx + 0x7f0], 1
test r12d, r12d
jne 0x1400253bc
test eax, eax
je 0x1400253ca
mov dword [rbx + 0x7f4], 1
xor ebp, ebp
jmp 0x1400253cc
xor ebp, ebp
mov r12, qword [rsp + 0x88]
test r12, r12
je 0x1400253fc
jmp 0x140024cd0
call fcn.1400f0ca0
nop
call fcn.1400f0ca0
nop
call fcn.1400f0ca0
int3
call fcn.1400f0ca0
int3
call fcn.1400f0ca0
int3
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140025422
lea rdx, [0x14025eb88]
mov rcx, r15
call fcn.1401e75c0
lea rdx, [0x14025eb70]
mov rcx, r15
call fcn.1401e75c0
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x140025441
lea rdx, [0x14025eba0]
mov rcx, r15
call fcn.1401e75c0
jmp 0x140025441
call fcn.1401e7838
int3
cmp qword [r15 + 0x88], 0
jle 0x1400254e5
cmp qword [r15 + 0xb0], 0
jne 0x140025470
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r15 + 0xb0], rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
lea rcx, [0x1401390a0]
call fcn.1401eacc4
mov rbx, rax
test rax, rax
je 0x1400254e5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
lea r9, [r15 + 0xa8]
mov r8, rdi
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [r15 + 0xb8], 1
mov eax, 1
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret