Function at 0x140023ff0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov eax, dword [rsp + 0xe8]
shr eax, 0x10
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe8]
and eax, 0xffff
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xe8]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x1400244b7
mov dword [rsp + 0x3c], 0
jmp 0x14002404e
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [0x14003eef0]
cmp dword [rsp + 0x3c], eax
jge 0x1400244b2
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov edx, dword [rsp + 0xe8]
cmp dword [rcx + rax], edx
jne 0x1400244ad
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
cmp qword [rcx + rax + 0x10], 0
jne 0x14002427d
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
cmp qword [rcx + rax + 8], 0
je 0x1400240e6
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rcx, qword [rcx + rax + 8]
call qword [0x140071d98]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
cmp qword [rcx + rax + 0x10], 0
je 0x140024132
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rcx, qword [rcx + rax + 0x10]
call qword [0x140071d98]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140071dc8]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14002422d
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x3c]
imul rcx, rcx, 0x28
lea rdx, [0x14006e740]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8, qword [rdx + rcx + 0x18]
xor edx, edx
xor ecx, ecx
call qword [0x140071e48]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140024222
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rdx, qword [rsp + 0x48]
mov qword [rcx + rax + 0x10], rdx
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rdx, qword [rsp + 0xe0]
mov qword [rcx + rax + 0x20], rdx
mov rcx, qword [rsp + 0x48]
call qword [0x140071f70]
cmp eax, 0xffffffff
je 0x140024217
mov eax, 1
jmp 0x140024add
mov rcx, qword [rsp + 0x48]
call qword [0x140071d98]
mov rcx, qword [rsp + 0x40]
call qword [0x140071d98]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 0x20], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 0x10], 0
jmp 0x1400244ad
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
xor edx, edx
mov rcx, qword [rcx + rax + 0x10]
call qword [0x140071de8]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400242b3
cmp dword [rsp + 0x34], 0x102
je 0x140024493
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
cmp qword [rcx + rax + 8], 0
je 0x1400242ff
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rcx, qword [rcx + rax + 8]
call qword [0x140071d98]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
cmp qword [rcx + rax + 0x10], 0
je 0x14002434b
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rcx, qword [rcx + rax + 0x10]
call qword [0x140071d98]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140071dc8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140024446
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x3c]
imul rcx, rcx, 0x28
lea rdx, [0x14006e740]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, rax
mov r8, qword [rdx + rcx + 0x18]
xor edx, edx
xor ecx, ecx
call qword [0x140071e48]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14002443b
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax + 0x10], rdx
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov rdx, qword [rsp + 0xe0]
mov qword [rcx + rax + 0x20], rdx
mov rcx, qword [rsp + 0x58]
call qword [0x140071f70]
cmp eax, 0xffffffff
je 0x140024430
mov eax, 1
jmp 0x140024add
mov rcx, qword [rsp + 0x58]
call qword [0x140071d98]
mov rcx, qword [rsp + 0x50]
call qword [0x140071d98]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 0x20], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x14006e740]
mov qword [rcx + rax + 0x10], 0
jmp 0x1400244ad
cmp dword [rsp + 0x34], 0x102
jne 0x14002449f
jmp 0x1400244ad
cmp dword [rsp + 0x34], 0xffffffff
jne 0x1400244ad
xor eax, eax
jmp 0x140024add
jmp 0x140024044
jmp 0x140024adb
mov qword [rsp + 0x68], 0
mov ecx, dword [rsp + 0x30]
call fcn.140007dd0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14002458e
mov eax, 1
mov word [rsp + 0x70], ax
mov eax, 5
mov word [rsp + 0x72], ax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x70]
mov r8d, 0x80
mov edx, 0xffff
mov rcx, qword [rsp + 0xe0]
call qword [0x140072630]
test eax, eax
jne 0x140024587
mov ecx, dword [rsp + 0x30]
call fcn.140008b50
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140024532
jmp 0x14002458e
mov ecx, dword [rsp + 0x30]
call fcn.1400096b0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14002454c
jmp 0x14002458e
mov dword [rsp + 0x74], 2
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x74]
mov rcx, qword [rsp + 0xe0]
call fcn.140024d40
mov rcx, qword [rsp + 0xe0]
call qword [0x140072640]
mov eax, 1
jmp 0x140024add
xor eax, eax
jmp 0x140024add
movzx edx, word [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.140009140
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14002462e
mov eax, 1
mov word [rsp + 0x78], ax
mov eax, 5
mov word [rsp + 0x7a], ax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x78]
mov r8d, 0x80
mov edx, 0xffff
mov rcx, qword [rsp + 0xe0]
call qword [0x140072630]
test eax, eax
jne 0x140024627
mov dword [rsp + 0x7c], 3
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0xe0]
call fcn.140024d40
mov rcx, qword [rsp + 0xe0]
call qword [0x140072640]
mov eax, 1
jmp 0x140024add
xor eax, eax
jmp 0x140024add
mov dword [rsp + 0x80], 0
jmp 0x14002464b
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0x1d
jge 0x140024adb
movsxd rax, dword [rsp + 0x80]
imul rax, rax, 0xc98
lea rcx, reloc.OLEAUT32.dll_VariantClear
mov edx, dword [rsp + 0x30]
cmp dword [rcx + rax], edx
jne 0x140024ad6
movsxd rax, dword [rsp + 0x80]
imul rax, rax, 0xc98
lea rcx, reloc.OLEAUT32.dll_VariantClear
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
cmp dword [rsp + 0x30], 0xd
jne 0x1400246db
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
call fcn.140024af0
cmp eax, 1
jne 0x1400246d4
mov eax, 1
jmp 0x140024add
xor eax, eax
jmp 0x140024add
mov rax, qword [rsp + 0x88]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0
jmp 0x14002470c
mov eax, dword [rsp + 0x98]
inc eax
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x64
jge 0x140024ad6
movsxd rax, dword [rsp + 0x98]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x90]
mov edx, dword [rsp + 0x38]
cmp dword [rcx + rax], edx
jne 0x140024ad1
movsxd rax, dword [rsp + 0x98]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
jne 0x1400248e1
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
je 0x1400247a1
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [0x140071d98]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
je 0x1400247d2
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [0x140071d98]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140071dc8]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x1400248ac
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x14002489e
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x18], rcx
mov rcx, qword [rsp + 0xb0]
call qword [0x140071f70]
cmp eax, 0xffffffff
je 0x140024890
mov eax, 1
jmp 0x140024add
mov rcx, qword [rsp + 0xb0]
call qword [0x140071d98]
mov rcx, qword [rsp + 0xa8]
call qword [0x140071d98]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], 0
jmp 0x140024ad1
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [0x140071de8]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14002490e
cmp dword [rsp + 0x34], 0x102
je 0x140024a7c
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
je 0x14002493f
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [0x140071d98]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
je 0x140024970
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [0x140071d98]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140071dc8]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x140024a4a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x68]
xor edx, edx
xor ecx, ecx
call qword [0x140071e48]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x140024a3c
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x18], rcx
mov rcx, qword [rsp + 0xc0]
call qword [0x140071f70]
cmp eax, 0xffffffff
je 0x140024a2e
mov eax, 1
jmp 0x140024add
mov rcx, qword [rsp + 0xc0]
call qword [0x140071d98]
mov rcx, qword [rsp + 0xb8]
call qword [0x140071d98]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], 0
jmp 0x140024ad1
cmp dword [rsp + 0x34], 0x102
jne 0x140024ac6
mov dword [rsp + 0xc8], 4
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xe0]
call fcn.140024d40
mov rcx, qword [rsp + 0xe0]
call qword [0x140072640]
mov eax, 1
jmp 0x140024add
cmp dword [rsp + 0x34], 0xffffffff
jne 0x140024ad1
xor eax, eax
jmp 0x140024add
jmp 0x1400246fc
jmp 0x14002463b
xor eax, eax
add rsp, 0xd8
ret