Function at 0x140187cd0
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x1405d3230]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov r15, r8
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0x220], rcx
mov qword [rsp + 0x228], r8
xor r14d, r14d
mov eax, dword [0x1405deb38]
cmp eax, 3
jne 0x140187da3
mov dword [0x1405deb38], 4
mov byte [0x1405ded43], 1
lea edx, [rax + 0x21]
lea rcx, [rsp + 0x1a0]
call fcn.1401337a0
lea rcx, [rsp + 0x1a0]
call fcn.14014c8d0
call fcn.140187480
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140186c30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rax
mov rdx, qword [0x1405dec98]
cmp rdx, qword [0x1405deca0]
je 0x140187d93
mov qword [rdx], rax
add qword [0x1405dec98], 8
jmp 0x140187d9d
lea r8, [rsp + 0x58]
call fcn.1401c44e0
mov eax, dword [0x1405deb38]
cmp eax, 4
jne 0x140187dc6
mov qword [rsp + 0x40], 0x64
lea rcx, [rsp + 0x40]
call fcn.1401b4620
mov eax, dword [0x1405deb38]
cmp eax, 4
je 0x140187db1
cmp eax, 1
jne 0x14018850e
cmp byte [r15], al
je 0x140187e40
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
movzx r9d, al
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1401a5030
lea rcx, [rsp + 0x30]
call fcn.1401ab760
movzx ebx, byte [r15]
movzx eax, byte [rsp + 0x30]
mov byte [r15], al
mov byte [rsp + 0x30], bl
mov rax, qword [r15 + 8]
mov rcx, qword [rsp + 0x38]
mov qword [r15 + 8], rcx
mov qword [rsp + 0x38], rax
mov rcx, r15
call fcn.1401ab760
nop
lea rcx, [rsp + 0x30]
call fcn.1401ab760
movzx edx, bl
lea rcx, [rsp + 0x38]
call fcn.1401ab030
nop
mov r8b, 1
lea rcx, [rsp + 0x258]
call fcn.14016f100
nop
mov edx, 0x25
lea rcx, [rsp + 0x200]
call fcn.1401337a0
mov rbx, rax
mov byte [rsp + 0xd0], 0
xor eax, eax
mov qword [rsp + 0xd8], rax
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.1401ab030
mov byte [rsp + 0xd0], 3
mov ecx, 0x20
call fcn.14045a514
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], r14
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0xe8]
call fcn.1401c2010
mov qword [rsp + 0xf8], r14
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov r9b, 2
mov r8b, 1
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x140]
call fcn.1401a5030
mov qword [rsp + 0x150], r14
mov edx, 0x26
lea rcx, [rsp + 0x1e0]
call fcn.1401337a0
mov rbx, rax
mov byte [rsp + 0xa0], 0
xor eax, eax
mov qword [rsp + 0xa8], rax
xor edx, edx
lea rcx, [rsp + 0xa8]
call fcn.1401ab030
mov byte [rsp + 0xa0], 3
mov ecx, 0x20
call fcn.14045a514
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], r14
mov rdx, r12
lea rcx, [rsp + 0xb8]
call fcn.1401c2010
mov qword [rsp + 0xc8], r14
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x118], rax
mov r9b, 2
mov r8b, 1
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x158]
call fcn.1401a5030
mov qword [rsp + 0x168], r14
mov edx, 0x80
lea rcx, [rsp + 0x1c0]
call fcn.1401337a0
mov rbx, rax
mov byte [rsp + 0x70], 0
xor eax, eax
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1401ab030
mov byte [rsp + 0x70], 3
mov ecx, 0x20
call fcn.14045a514
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], r14
mov rdx, r15
lea rcx, [rsp + 0x88]
call fcn.1401a4cb0
mov qword [rsp + 0x98], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x128], rax
mov r9b, 2
mov r8b, 1
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x170]
call fcn.1401a5030
mov qword [rsp + 0x180], r14
lea rax, [rsp + 0x140]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x188]
mov qword [rsp + 0x138], rax
mov r9b, 2
mov r8b, 1
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x230]
call fcn.1401a5030
nop
lea r9, [0x1401887d0]
mov edx, 0x18
lea r8d, [rdx - 0x15]
lea rcx, [rsp + 0x140]
call fcn.14045a550
nop
lea r9, [0x1401887d0]
mov edx, 0x18
lea r8d, [rdx - 0x16]
lea rcx, [rsp + 0x70]
call fcn.14045a550
nop
lea rcx, [rsp + 0x1c0]
call fcn.14014c8d0
nop
lea r9, [0x1401887d0]
mov edx, 0x18
lea r8d, [rdx - 0x16]
lea rcx, [rsp + 0xa0]
call fcn.14045a550
nop
lea rcx, [rsp + 0x1e0]
call fcn.14014c8d0
nop
lea r9, [0x1401887d0]
mov edx, 0x18
lea r8d, [rdx - 0x16]
lea rcx, [rsp + 0xd0]
call fcn.14045a550
nop
lea rcx, [rsp + 0x200]
call fcn.14014c8d0
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x230]
call fcn.1401a4a30
nop
mov word [rsp + 0x240], 0
lea rcx, [rsp + 0x248]
call fcn.1401a5530
nop
mov word [rsp + 0x240], 0
lea rdx, [rsp + 0x258]
call fcn.1401a3f50
mov rbx, rax
mov word [rax], 0
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x190]
call fcn.1401a4cb0
mov rsi, rax
mov rcx, rax
call fcn.1401ab760
movzx edx, byte [rbx + 8]
movzx ecx, byte [rsi]
mov byte [rbx + 8], cl
mov byte [rsi], dl
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rsi + 8]
mov qword [rbx + 0x10], rdx
mov qword [rsi + 8], rcx
lea rcx, [rbx + 8]
call fcn.1401ab760
nop
mov rcx, rsi
call fcn.1401ab760
movzx edx, byte [rsi]
lea rcx, [rsi + 8]
call fcn.1401ab030
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rcx, qword [0x1405decc0]
test rcx, rcx
je 0x14018828a
mov rax, qword [0x1405decb8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
lock inc dword [rcx + 0xc]
lea r8, [rsp + 0x278]
lea rdx, [rsp + 0x48]
call fcn.1401b3c80
nop dword [rax]
lea rdx, [rsp + 0x258]
call fcn.1401a3f50
cmp byte [rax], 0
jne 0x14018835a
mov qword [rsp + 0x40], 0x64
lea rcx, [rsp + 0x40]
call fcn.1401b4620
inc r14d
cmp r14d, 0x32
jl 0x1401882a0
lea rcx, [rsp + 0x248]
call fcn.1401ab760
movzx edx, byte [rsp + 0x248]
lea rcx, [rsp + 0x250]
call fcn.1401ab030
nop
lea rcx, [rsp + 0x278]
call fcn.14014c8d0
nop
lea rcx, [rsp + 0x230]
call fcn.1401ab760
movzx edx, byte [rsp + 0x230]
lea rcx, [rsp + 0x238]
call fcn.1401ab030
nop
lea rcx, [rsp + 0x258]
call fcn.14014c8d0
nop
mov rcx, r12
call fcn.14014c8d0
nop
mov rcx, r15
call fcn.1401ab760
lea rcx, [r15 + 8]
movzx edx, byte [r15]
call fcn.1401ab030
nop
xor al, al
jmp 0x14018852f
lea rdx, [rsp + 0x258]
call fcn.1401a3f50
cmp byte [rax + 1], 0
je 0x1401883f9
lea rcx, [rsp + 0x248]
call fcn.1401ab760
movzx edx, byte [rsp + 0x248]
lea rcx, [rsp + 0x250]
call fcn.1401ab030
nop
lea rcx, [rsp + 0x278]
call fcn.14014c8d0
nop
lea rcx, [rsp + 0x230]
call fcn.1401ab760
movzx edx, byte [rsp + 0x230]
lea rcx, [rsp + 0x238]
call fcn.1401ab030
nop
lea rcx, [rsp + 0x258]
call fcn.14014c8d0
nop
mov rcx, r12
call fcn.14014c8d0
nop
mov rcx, r15
call fcn.1401ab760
lea rcx, [r15 + 8]
movzx edx, byte [r15]
call fcn.1401ab030
nop
xor al, al
jmp 0x14018852f
lea rdx, [rsp + 0x258]
call fcn.1401a3f50
lea rdx, [rax + 8]
lea rcx, [rsp + 0x60]
call fcn.1401a4cb0
mov rdi, rax
mov rcx, rax
call fcn.1401ab760
movzx r8d, byte [r13]
movzx edx, byte [rdi]
mov byte [r13], dl
mov byte [rdi], r8b
mov rdx, qword [r13 + 8]
mov r8, qword [rdi + 8]
mov qword [r13 + 8], r8
mov qword [rdi + 8], rdx
mov rcx, r13
call fcn.1401ab760
nop
mov rcx, rdi
call fcn.1401ab760
movzx edx, byte [rdi]
lea rcx, [rdi + 8]
call fcn.1401ab030
nop
lea rcx, [rsp + 0x248]
call fcn.1401ab760
movzx edx, byte [rsp + 0x248]
lea rcx, [rsp + 0x250]
call fcn.1401ab030
nop
lea rcx, [rsp + 0x278]
call fcn.14014c8d0
nop
lea rcx, [rsp + 0x230]
call fcn.1401ab760
movzx edx, byte [rsp + 0x230]
lea rcx, [rsp + 0x238]
call fcn.1401ab030
nop
lea rcx, [rsp + 0x258]
call fcn.14014c8d0
nop
mov rcx, r12
call fcn.14014c8d0
nop
mov rcx, r15
call fcn.1401ab760
lea rcx, [r15 + 8]
movzx edx, byte [r15]
call fcn.1401ab030
nop
mov al, 1
jmp 0x14018852f
mov rcx, r12
call fcn.14014c8d0
nop
mov rcx, r15
call fcn.1401ab760
lea rcx, [r15 + 8]
movzx edx, byte [r15]
call fcn.1401ab030
nop
xor al, al
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.14045a250
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret