Function at 0x14001d8d0
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 0x14001dd97
mov dword [rsp + 0x3c], 0
jmp 0x14001d92e
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [0x1400381d0]
cmp dword [rsp + 0x3c], eax
jge 0x14001dd92
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov edx, dword [rsp + 0xe8]
cmp dword [rcx + rax], edx
jne 0x14001dd8d
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
cmp qword [rcx + rax + 0x10], 0
jne 0x14001db5d
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
cmp qword [rcx + rax + 8], 0
je 0x14001d9c6
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rcx, qword [rcx + rax + 8]
call qword [0x140063ce0]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
cmp qword [rcx + rax + 0x10], 0
je 0x14001da12
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rcx, qword [rcx + rax + 0x10]
call qword [0x140063ce0]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140063d10]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14001db0d
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x3c]
imul rcx, rcx, 0x28
lea rdx, [0x1400620a0]
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 [0x140063d90]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14001db02
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rdx, qword [rsp + 0x48]
mov qword [rcx + rax + 0x10], rdx
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rdx, qword [rsp + 0xe0]
mov qword [rcx + rax + 0x20], rdx
mov rcx, qword [rsp + 0x48]
call qword [0x140063eb8]
cmp eax, 0xffffffff
je 0x14001daf7
mov eax, 1
jmp 0x14001e3bd
mov rcx, qword [rsp + 0x48]
call qword [0x140063ce0]
mov rcx, qword [rsp + 0x40]
call qword [0x140063ce0]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 0x20], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 0x10], 0
jmp 0x14001dd8d
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
xor edx, edx
mov rcx, qword [rcx + rax + 0x10]
call qword [0x140063d30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14001db93
cmp dword [rsp + 0x34], 0x102
je 0x14001dd73
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
cmp qword [rcx + rax + 8], 0
je 0x14001dbdf
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rcx, qword [rcx + rax + 8]
call qword [0x140063ce0]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
cmp qword [rcx + rax + 0x10], 0
je 0x14001dc2b
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rcx, qword [rcx + rax + 0x10]
call qword [0x140063ce0]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140063d10]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001dd26
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x3c]
imul rcx, rcx, 0x28
lea rdx, [0x1400620a0]
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 [0x140063d90]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14001dd1b
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax + 0x10], rdx
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov rdx, qword [rsp + 0xe0]
mov qword [rcx + rax + 0x20], rdx
mov rcx, qword [rsp + 0x58]
call qword [0x140063eb8]
cmp eax, 0xffffffff
je 0x14001dd10
mov eax, 1
jmp 0x14001e3bd
mov rcx, qword [rsp + 0x58]
call qword [0x140063ce0]
mov rcx, qword [rsp + 0x50]
call qword [0x140063ce0]
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 0x20], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x28
lea rcx, [0x1400620a0]
mov qword [rcx + rax + 0x10], 0
jmp 0x14001dd8d
cmp dword [rsp + 0x34], 0x102
jne 0x14001dd7f
jmp 0x14001dd8d
cmp dword [rsp + 0x34], 0xffffffff
jne 0x14001dd8d
xor eax, eax
jmp 0x14001e3bd
jmp 0x14001d924
jmp 0x14001e3bb
mov qword [rsp + 0x68], 0
mov ecx, dword [rsp + 0x30]
call fcn.140003d50
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14001de6e
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 [0x140064548]
test eax, eax
jne 0x14001de67
mov ecx, dword [rsp + 0x30]
call fcn.140004a80
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14001de12
jmp 0x14001de6e
mov ecx, dword [rsp + 0x30]
call fcn.1400055e0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14001de2c
jmp 0x14001de6e
mov dword [rsp + 0x74], 2
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x74]
mov rcx, qword [rsp + 0xe0]
call fcn.14001e620
mov rcx, qword [rsp + 0xe0]
call qword [0x140064558]
mov eax, 1
jmp 0x14001e3bd
xor eax, eax
jmp 0x14001e3bd
movzx edx, word [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.140005070
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14001df0e
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 [0x140064548]
test eax, eax
jne 0x14001df07
mov dword [rsp + 0x7c], 3
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0xe0]
call fcn.14001e620
mov rcx, qword [rsp + 0xe0]
call qword [0x140064558]
mov eax, 1
jmp 0x14001e3bd
xor eax, eax
jmp 0x14001e3bd
mov dword [rsp + 0x80], 0
jmp 0x14001df2b
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0x1c
jge 0x14001e3bb
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 0x14001e3b6
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 0x14001dfbb
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
call fcn.14001e3d0
cmp eax, 1
jne 0x14001dfb4
mov eax, 1
jmp 0x14001e3bd
xor eax, eax
jmp 0x14001e3bd
mov rax, qword [rsp + 0x88]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0
jmp 0x14001dfec
mov eax, dword [rsp + 0x98]
inc eax
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x64
jge 0x14001e3b6
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 0x14001e3b1
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 0x14001e1c1
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
je 0x14001e081
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [0x140063ce0]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
je 0x14001e0b2
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [0x140063ce0]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140063d10]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14001e18c
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 0x14001e17e
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 [0x140063eb8]
cmp eax, 0xffffffff
je 0x14001e170
mov eax, 1
jmp 0x14001e3bd
mov rcx, qword [rsp + 0xb0]
call qword [0x140063ce0]
mov rcx, qword [rsp + 0xa8]
call qword [0x140063ce0]
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 0x14001e3b1
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [0x140063d30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14001e1ee
cmp dword [rsp + 0x34], 0x102
je 0x14001e35c
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
je 0x14001e21f
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call qword [0x140063ce0]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
je 0x14001e250
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [0x140063ce0]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x140063d10]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14001e32a
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 [0x140063d90]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x14001e31c
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 [0x140063eb8]
cmp eax, 0xffffffff
je 0x14001e30e
mov eax, 1
jmp 0x14001e3bd
mov rcx, qword [rsp + 0xc0]
call qword [0x140063ce0]
mov rcx, qword [rsp + 0xb8]
call qword [0x140063ce0]
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 0x14001e3b1
cmp dword [rsp + 0x34], 0x102
jne 0x14001e3a6
mov dword [rsp + 0xc8], 4
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xe0]
call fcn.14001e620
mov rcx, qword [rsp + 0xe0]
call qword [0x140064558]
mov eax, 1
jmp 0x14001e3bd
cmp dword [rsp + 0x34], 0xffffffff
jne 0x14001e3b1
xor eax, eax
jmp 0x14001e3bd
jmp 0x14001dfdc
jmp 0x14001df1b
xor eax, eax
add rsp, 0xd8
ret