Function at 0x1400276d0
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 0x14002777c
cmp qword [r15 + 0xa8], rbp
je 0x14002777c
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 0x14002775c
cmp dword [rsp + 0x108], 0x103
jne 0x14002775c
or edx, 0xffffffff
mov rcx, qword [r15 + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [r15 + 0xa8]
test rcx, rcx
je 0x140027775
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15 + 0xa8], rbp
mov dword [r15 + 0xb8], ebp
cmp dword [r15 + 0xb8], ebp
jne 0x1400277aa
mov rcx, r15
call fcn.14014f8b0
cmp qword [r15 + 0x18], rbp
jle 0x14002779b
mov rcx, r15
call fcn.1401fd240
cmp qword [r15 + 0x50], rbp
jle 0x1400277aa
lea rcx, [r15 + 0x38]
call fcn.1402042dc
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 + 0x1ad0]
test r12, r12
je 0x140027f51
nop
nop
nop
mov dword [rsp + 0x48], ebp
mov rax, r12
test r12, r12
je 0x140027f4b
mov r12, qword [r12]
mov qword [rsp + 0x88], r12
mov r12, qword [rax + 0x10]
test r12, r12
je 0x140027edc
cmp dword [r12 + 0x50], 0
je 0x140027edc
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 0x14002783e
cmp rax, qword [rdi - 0x18]
jne 0x14002783e
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x14002787a
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140027f06
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.14022ba40
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.1402044b4
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 0x1400278c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, 0x58
call fcn.1401f0b44
mov qword [rsp + 0xf8], rax
test rax, rax
je 0x1400278e7
mov rcx, rax
call fcn.140164b10
mov r13, rax
jmp 0x1400278ea
mov r13, rbp
mov r14d, dword [r12 + 0x1d0]
bt r14d, 0x1d
jb 0x14002791e
mov eax, dword [r12 + 0x1d4]
test al, 0x10
jne 0x14002791e
test al, 1
je 0x140027915
bt dword [r12 + 0x1cc], 0xb
jb 0x14002791e
mov dword [rsp + 0xf8], ebp
jmp 0x140027929
mov dword [rsp + 0xf8], 1
bt r14d, 0xc
jb 0x140027940
bt r14d, 0x1a
jb 0x140027940
mov dword [rsp + 0x100], ebp
jmp 0x14002794b
mov dword [rsp + 0x100], 1
shr r14d, 6
and r14d, 1
mov eax, dword [r12 + 0x1cc]
shr eax, 0x12
and eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [r12 + 0x1d8]
shr eax, 0xb
and eax, 1
mov dword [rsp + 0x40], eax
test r13, r13
je 0x140027ea6
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 0x1400279a9
cmp rax, qword [rdi - 0x18]
jne 0x1400279a9
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x1400279e5
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140027f00
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.14022ba40
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 0x140027abf
cmp dword [rsi + 0x10], 0
jl 0x140027aab
mov rcx, qword [rdi]
cmp rcx, qword [rsi]
jne 0x140027aab
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x140027a44
cmp rax, qword [rdi]
jne 0x140027a44
mov rbx, rdi
lock add dword [rdi + 0x10], 1
jmp 0x140027a81
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x140027eee
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.14022ba40
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140027a9c
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 0x140027abf
mov r8d, dword [rax - 0x10]
mov rdx, rax
mov rcx, r13
call fcn.14000b770
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 0x140027adb
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 0x140027b04
cmp rax, qword [rdi - 0x18]
jne 0x140027b04
lea rsi, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140027b40
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x140027efa
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.14022ba40
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 0x140027c1b
cmp dword [rsi + 0x10], 0
jl 0x140027c06
mov rcx, qword [rdi]
cmp rcx, qword [rsi]
jne 0x140027c06
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi + 0x10], 0
jl 0x140027b9f
cmp rax, qword [rdi]
jne 0x140027b9f
mov rbx, rdi
lock add dword [rdi + 0x10], 1
jmp 0x140027bdc
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi + 8]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x140027ef4
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.14022ba40
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140027bf7
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 0x140027c1b
mov r8d, dword [rax - 0x10]
mov rdx, rax
lea rcx, [r13 + 0x50]
call fcn.14000b770
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 0x140027c37
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.1400275d0
test eax, eax
je 0x140027d80
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 1
lea rdx, [0x140277948]
lea rcx, [rsp + 0x80]
call fcn.14003ebf0
nop
xor edx, edx
lea rdi, [0x140275388]
mov rax, qword [rsp + 0x80]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x140027c9a
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
sete cl
test cl, cl
je 0x140027cc1
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140027cf7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140027cf7
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x80]
call fcn.1402044b4
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 0x140027cf7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x140277930]
lea rcx, [rsp + 0x58]
call fcn.14003ebf0
nop
xor edx, edx
lea rdi, [0x140275388]
mov rax, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x140027d29
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
sete cl
test cl, cl
je 0x140027d50
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140027d80
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140027d80
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x58]
call fcn.1402044b4
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 0x140027d80
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 0x140027de7
cmp dword [rsp + 0x78], 0
jne 0x140027dd6
mov ebp, dword [rsp + 0x100]
test ebp, ebp
jne 0x140027df8
mov r12d, dword [rsp + 0xf8]
test r12d, r12d
jne 0x140027e00
test r14d, r14d
jne 0x140027e00
cmp dword [rsp + 0x40], r14d
jne 0x140027e00
cmp dword [rsp + 0x48], r14d
jne 0x140027e91
lea edx, [rbp + 1]
mov rcx, r13
call fcn.1400280f0
xor ebp, ebp
jmp 0x140027edc
mov ebp, dword [rsp + 0x100]
mov r12d, dword [rsp + 0xf8]
jmp 0x140027e00
mov ebp, dword [rsp + 0x100]
mov r12d, dword [rsp + 0xf8]
jmp 0x140027e00
mov r12d, dword [rsp + 0xf8]
mov dword [rsp + 0x4c], 1
lea rdx, [0x140277960]
lea rcx, [rsp + 0x68]
call fcn.14003ebf0
nop
xor edx, edx
lea rdi, [0x140275388]
mov rax, qword [rsp + 0x68]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x140027e3a
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
sete cl
test cl, cl
je 0x140027e61
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140027e91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140027e91
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x68]
call fcn.1402044b4
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 0x140027e91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbx + 0x798]
mov rdx, r13
call fcn.1401fd498
mov eax, dword [rsp + 0x40]
jmp 0x140027eb5
mov ebp, dword [rsp + 0x100]
mov r12d, dword [rsp + 0xf8]
test ebp, ebp
je 0x140027ec3
mov dword [rbx + 0x7f0], 1
test r12d, r12d
jne 0x140027ecc
test eax, eax
je 0x140027eda
mov dword [rbx + 0x7fc], 1
xor ebp, ebp
jmp 0x140027edc
xor ebp, ebp
mov r12, qword [rsp + 0x88]
test r12, r12
je 0x140027f0c
jmp 0x1400277e0
call fcn.1400e7510
nop
call fcn.1400e7510
nop
call fcn.1400e7510
int3
call fcn.1400e7510
int3
call fcn.1400e7510
int3
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140027f32
lea rdx, [0x140277948]
mov rcx, r15
call fcn.1401fd498
lea rdx, [0x140277930]
mov rcx, r15
call fcn.1401fd498
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x140027f51
lea rdx, [0x140277960]
mov rcx, r15
call fcn.1401fd498
jmp 0x140027f51
call fcn.1401fd6b8
int3
cmp qword [r15 + 0x88], 0
jle 0x140027ff5
cmp qword [r15 + 0xb0], 0
jne 0x140027f80
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, [0x14014fa30]
call fcn.140200e00
mov rbx, rax
test rax, rax
je 0x140027ff5
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