Function at 0x18004b840
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x418], rbx
mov rax, qword [0x1800a8088]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r15, r8
mov r13d, edx
mov r14, rcx
movdqa xmm0, xmmword [0x1800a01b0]
movdqa xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], 0
movdqa xmm1, xmm0
movdqa xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
movdqa xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov word [rbp + 0xb0], 0
xor edi, edi
mov qword [rbp + 0xc8], rdi
mov qword [rbp + 0xd0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp + 0xb8], dil
mov dword [rbp + 0xd8], edi
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xf8], rdi
mov qword [rbp + reloc.OLEAUT32.dll_VarUI2FromUI1], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp + 0xe8], dil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], rdi
mov qword [rbp + 0x120], rdi
lea ecx, [rdi + 0x30]
call fcn.180061b98
mov qword [rsp + 0x30], rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x128], rdi
xorps xmm2, xmm2
movsd qword [rbp + 0x130], xmm2
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x140], rdi
mov ebx, 1
mov dword [rbp + 0x148], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + reloc.OLEAUT32.dll_VarI8FromCy], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
movdqa xmmword [rbp + 0x170], xmm0
movdqa xmmword [rbp + 0x180], xmm1
mov qword [rbp + 0x190], 0xffffffffffffffff
mov dword [rbp + 0x198], edi
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movdqa xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], rdi
movups xmmword [rbp + 0x208], xmm1
mov dword [rbp + 0x218], edi
movdqa xmm0, xmmword [0x1800a01b0]
movdqa xmmword [rbp + 0x230], xmm0
mov byte [rbp + 0x220], dil
movdqa xmm1, xmm0
movdqa xmmword [rbp + 0x250], xmm0
mov byte [rbp + 0x240], dil
movdqa xmmword [rbp + 0x270], xmm0
mov byte [rbp + 0x260], dil
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x288], 0xffffffffffffffff
mov qword [rbp + 0x290], rdi
mov qword [rbp + 0x298], rdi
mov qword [rbp + 0x2a0], rdi
movsd qword [rbp + 0x2a8], xmm2
mov word [rbp + 0x2b0], di
mov byte [rbp + 0x2b2], dil
mov esi, r13d
imul eax, r13d, 0x4c0
mov dword [rsp + 0x30], eax
mov edi, dword [rsp + 0x30]
cmp r13d, eax
ja 0x18004bd02
lea rcx, [0x1800a8c10]
mov r12, qword [rsp + 0x48]
nop dword [rax]
cmp esi, 0x724
ja 0x18004bcde
je 0x18004bca9
cmp esi, 4
je 0x18004bc77
cmp esi, 0x11d
je 0x18004bee0
cmp esi, 0x264
je 0x18004bb3e
cmp esi, 0x4c4
jne 0x18004bee0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x68], rax
mov eax, dword [0x1800a8c80]
mov dword [rsp + 0x70], eax
mov eax, dword [0x1800a8c84]
mov dword [rsp + 0x74], eax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x58], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp - 0x48], xmm1
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x58]
lea r8, [0x18004e0c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r12, rax
test rax, rax
je 0x18004bd04
lea rcx, [0x1800a8c10]
jmp 0x18004bee0
lea rdx, [0x1800a8c18]
mov ecx, 0xc5
call fcn.18002c580
test al, al
je 0x18004bd04
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.180066028
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x40], 0
xor r8d, r8d
lea rdx, [0x180096248]
lea rcx, [rbp - 0x40]
call fcn.180055dc0
nop
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x20], 0
xor r8d, r8d
lea rdx, [0x180096248]
lea rcx, [rbp - 0x20]
call fcn.180055dc0
nop
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp], 0
xor r8d, r8d
lea rdx, [0x180096248]
lea rcx, [rbp]
call fcn.180055dc0
nop
mov word [rbp + 0x20], 1
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp + 0x28], 0
xor r8d, r8d
lea rdx, [0x180096248]
lea rcx, [rbp + 0x28]
call fcn.180055dc0
nop
mov dword [rsp + 0x38], 0x1bb
lea rax, [0x1800a8c58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x38]
mov edx, 0xce
lea rcx, [rbp + 0x50]
call fcn.180051180
nop
lea rcx, [rbp - 0x40]
call fcn.18004c0c0
mov eax, dword [0x1800a8c80]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, SafeArrayLock
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x50]
call fcn.180025ac0
lea rcx, [0x1800a8c10]
jmp 0x18004bee0
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x59]
call fcn.18003bdb0
mov edx, 0xc2
lea rcx, [0x1800a8c10]
call fcn.18001a7f0
lea rcx, [0x1800a8c10]
jmp 0x18004bee0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x180019d70]
mov qword [rsp + 0x50], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
lea rcx, [rsp + 0x50]
call fcn.18002bb40
lea rcx, [0x1800a8c10]
jmp 0x18004bee0
cmp esi, 0x984
je 0x18004bec6
cmp esi, 0xaa55
je 0x18004be6d
cmp esi, 0x1538d
jne 0x18004bee0
mov ebx, edi
lea rcx, [rbp + 0x220]
call fcn.1800058f0
lea rcx, [rbp + 0x178]
call fcn.180055ac0
mov rcx, qword [rbp + 0x160]
test rcx, rcx
je 0x18004bd76
mov rdx, qword [rbp + 0x170]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bd5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bf51
call fcn.1800618f4
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], 0
mov rcx, qword [rbp + 0x118]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x18004bdc4
nop word [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x118]
call fcn.1800585a0
mov rcx, rdi
mov rdi, qword [rdi]
mov edx, 0x30
call fcn.1800618f4
cmp byte [rdi + 0x19], 0
je 0x18004bd90
mov rcx, qword [rbp + 0x118]
mov edx, 0x30
call fcn.1800618f4
nop
lea rcx, [rsp + 0x78]
call fcn.180056080
nop
mov rdx, qword [rbp + reloc.OLEAUT32.dll_VarUI2FromUI1]
cmp rdx, 0x10
jb 0x18004be1b
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004be16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bf4b
call fcn.1800618f4
mov qword [rbp + 0xf8], 0
mov qword [rbp + reloc.OLEAUT32.dll_VarUI2FromUI1], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp + 0xe8], 0
lea rcx, [rbp + 0x50]
call fcn.18004c0c0
mov eax, ebx
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1800618d0
mov rbx, qword [rsp + 0x418]
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x18004be91
mov rax, qword [r15]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
mov edx, 0x11d
call fcn.18004b840
test eax, eax
jne 0x18004bef8
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x18004beb5
mov rax, qword [r15]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
mov edx, 0x11d
call fcn.18004b840
test eax, eax
jne 0x18004bef8
mov rcx, r14
call qword [r15]
mov edi, eax
lea rcx, [0x1800a8c10]
jmp 0x18004bee0
mov eax, 0xeb
nop dword [rax + rax]
cmp eax, 0xeb
je 0x18004beff
inc eax
cmp eax, 0xec
jb 0x18004bed0
imul eax, r13d, 0x98
add esi, eax
cmp esi, dword [rsp + 0x30]
ja 0x18004bd02
jmp 0x18004ba90
mov ebx, eax
jmp 0x18004bd04
lea r9, [rsp + 0x78]
mov r8, rcx
mov edx, reloc.OLEAUT32.dll_DispInvoke
lea rcx, [rbp + 0x110]
call fcn.18002bb40
mov dword [rsp + 0x20], 0xf1
lea r9, [rbp + 0x110]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18004ca30
mov edx, 0x74
lea rcx, [rbp + 0x110]
call fcn.1800305e0
xor ebx, ebx
jmp 0x18004bd04
call fcn.18006cf68
nop
call fcn.18006cf68
int3