Function at 0x140117f60
Capabilities:
Resume thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9b8]
sub rsp, 0xab8
mov rax, qword [0x1402e4100]
xor rax, rsp
mov qword [rbp + 0x9a0], rax
mov qword [rbp - 0x38], r9
mov rdi, r8
mov qword [rbp - 0x40], r8
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov rsi, qword [rbp + 0xa20]
mov qword [rsp + 0x48], rsi
xor r14d, r14d
xor edx, edx
mov r8d, 0x2cc
lea rcx, [rbp + 0x60]
call fcn.140266b40
xor edx, edx
mov r8d, 0x670
lea rcx, [rbp + 0x330]
call fcn.140266b40
cmp qword [r15 + 0x40], r14
jne 0x140117fe7
mov eax, 0xc0000225
jmp 0x140118815
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.140119c60
test eax, eax
js 0x140118815
mov rcx, qword [r15 + 0x40]
test rcx, rcx
je 0x14011800c
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi]
call fcn.140150ac0
test al, al
jne 0x14011802c
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140118815
mov qword [rbp + 0x50], r14
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
mov edx, r14d
cmp byte [rcx + 0x15], dl
sete dl
lea rcx, [rbp + 0x50]
call fcn.1400df0c0
nop
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rbp + 0x50]
cmp byte [rcx + 0x15], 0
jne 0x14011846c
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1403b4624], eax
jg 0x1401188ef
mov rdx, qword [rsi]
mov dword [rbp + 0x360], 0x100001
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x330]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x58]
mov edi, eax
test eax, eax
js 0x140118491
lea r12, [rbx + 0xa8]
movabs rax, 0xffffffff00000004
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 0x78
mov rax, qword [r12]
lea rdi, sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x28]
lea r8, [0x1402996c0]
mov edx, 0x261
mov rcx, r12
call qword [rax + Ordinal_50]
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1f5
mov rcx, r12
call qword [rax + Ordinal_50]
mov esi, r14d
lea r13, [0x1403b4630]
mov ebx, 0xffffffff
movabs r15, 0x400000003
nop
lea ecx, [rsi*8]
mov qword [rbp + 0x28], r15
shl rcx, 0x20
add rcx, rbx
mov qword [rbp + 0x30], rcx
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, r13
lea r8, [rbp + 0x28]
mov edx, 0x123
mov rcx, r12
call qword [rax + Ordinal_50]
inc esi
add r13, 0x10
cmp esi, 0xf
jl 0x140118130
mov rbx, qword [rbp + 0x50]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov r15, qword [rsp + 0x50]
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rcx, qword [r15 + rax*8 + 0x78]
test rcx, rcx
je 0x1401181a2
mov rax, qword [rcx]
mov qword [rbp + 0x40], rax
jmp 0x1401181a6
mov qword [rbp + 0x40], r14
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 0xffffffffffff0001
mov qword [rsp + 0x78], 0xff
movabs rsi, 0xffffffff00000003
mov qword [rbp - 0x80], rsi
mov r13d, 0xffffffff
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
lea rcx, [rbp - 0x60]
call fcn.1400dbf30
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x68], 8
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400e6ac0
nop
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rax, qword [r15 + rax*8 + 0x58]
test rax, rax
je 0x140118241
mov rax, qword [rax]
mov qword [rbp + 0x40], rax
jmp 0x140118245
mov qword [rbp + 0x40], r14
mov dword [rbp - 0x30], r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xffffffffffff0001
mov qword [rbp - 0x18], 0xff
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], r13
mov qword [rbp], r14
mov qword [rbp + 8], r14
lea rcx, [rbp + 0x10]
call fcn.1400dbf30
mov dword [rbp - 0x30], 2
mov qword [rbp - 0x28], 8
mov rax, qword [rbp + 0x40]
mov qword [rbp], rax
mov r9d, 1
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [rbp + Ordinal_41]
nop
lea rcx, [rbp + 0x10]
call fcn.1400d12b0
nop
lea rcx, [rsp + 0x30]
call fcn.140072660
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140118328
mov rax, qword [rsp + 0x38]
cmp rsi, rax
je 0x1401182eb
mov rbx, rax
nop
lea rcx, [rsi + 0x40]
call fcn.1400d12b0
add rsi, 0x58
cmp rsi, rbx
jne 0x1401182d0
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rbp + 0x50]
mov rdx, qword [rsp + 0x40]
sub rdx, rsi
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x58
mov rcx, rsi
call fcn.1400a9240
mov qword [rsp + 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea r9, [0x1400df030]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rsp + 0x60]
call fcn.1401de8ac
mov dword [rsp + 0x20], r14d
mov r9d, 4
lea r8d, [r9 - 3]
mov rdx, rbx
mov rcx, r15
call fcn.140119eb0
mov esi, r14d
lea rbx, [0x1403b4630]
movabs r15, 0x400000003
lea ecx, [rsi*8]
mov qword [rbp + 0x28], r15
shl rcx, 0x20
add rcx, r13
mov qword [rbp + 0x30], rcx
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x28]
mov r8, rbx
mov edx, 0x123
mov rcx, r12
call qword [rax + Ordinal_50]
inc esi
add rbx, 0x10
cmp esi, 0xf
jl 0x140118370
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1c9
mov rcx, r12
call qword [rax + Ordinal_50]
movabs rax, 0xffffffff00000004
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 0x78
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x28]
lea r8, [0x1402996c0]
mov edx, 2
mov rcx, r12
call qword [rax + Ordinal_50]
mov eax, 0x25ff
mov word [rbp + 0x40], ax
mov rax, qword [r12]
mov r8d, 2
lea rdx, [rbp + 0x40]
mov rcx, r12
call qword [rax + Ordinal_26]
mov dword [rbp + 0x40], r14d
mov rax, qword [r12]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, r12
call qword [rax + Ordinal_26]
mov rax, qword [rbp + 0x428]
mov qword [rbp + 0x28], rax
mov rax, qword [r12]
mov r8d, 8
lea rdx, [rbp + 0x28]
mov rcx, r12
call qword [rax + Ordinal_26]
mov rbx, qword [rbp + 0x50]
mov r15, qword [rsp + 0x50]
jmp 0x140118754
mov rdx, qword [rsi]
mov dword [rbp + 0x60], 0x100001
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x50]
mov edi, eax
test eax, eax
jns 0x14011849e
mov rcx, qword [rsi]
call fcn.140150c60
jmp 0x1401187fc
lea r12, [rbx + 0xa8]
mov rax, qword [r12]
lea rdi, sym.Loader.exe_struct_asmjit::Operand_const_asmjit::noOperand
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1f4
mov rcx, r12
call qword [rax + Ordinal_50]
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1f5
mov rcx, r12
call qword [rax + Ordinal_50]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rax, qword [r15 + rax*8 + 0x78]
test rax, rax
je 0x140118513
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x140118518
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 0xffffffffffff0001
mov qword [rsp + 0x78], 0xff
movabs rsi, 0xffffffff00000003
mov qword [rbp - 0x80], rsi
mov r13d, 0xffffffff
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
lea rcx, [rbp - 0x60]
call fcn.1400dbf30
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x68], 8
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400e6ac0
nop
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rdx, qword [r15 + rax*8 + 0x58]
test rdx, rdx
je 0x1401185b3
mov rdx, qword [rdx]
jmp 0x1401185b6
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1400df040
nop
mov r9d, 1
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [rbp + Ordinal_41]
nop
lea rcx, [rbp + 0x10]
call fcn.1400d12b0
nop
lea rcx, [rsp + 0x30]
call fcn.140072660
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x14011865b
mov r12, qword [rsp + 0x38]
cmp rsi, r12
je 0x140118617
nop
lea rcx, [rsi + 0x40]
call fcn.1400d12b0
add rsi, 0x58
cmp rsi, r12
jne 0x140118600
mov rsi, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rsi
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x58
mov rcx, rsi
call fcn.1400a9240
mov qword [rsp + 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea r12, [rbx + 0xa8]
lea r9, [0x1400df030]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rsp + 0x60]
call fcn.1401de8ac
movabs rsi, 0xffffffff00000004
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], 4
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x28]
lea r8, [0x1402995c0]
mov edx, 2
mov rcx, r12
call qword [rax + Ordinal_50]
mov dword [rsp + 0x20], r14d
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.140119eb0
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1c9
mov rcx, r12
call qword [rax + Ordinal_50]
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x1c7
mov rcx, r12
call qword [rax + Ordinal_50]
mov qword [rbp + 0x28], rsi
movsxd rax, dword [rbp + 0x118]
mov qword [rbp + 0x30], rax
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
lea r8, [rbp + 0x28]
mov edx, 0x1f3
mov rcx, r12
call qword [rax + Ordinal_50]
mov rax, qword [r12]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9, rdi
mov r8, rdi
mov edx, 0x21c
mov rcx, r12
call qword [rax + Ordinal_50]
movsxd rsi, dword [r15 + 0x9c]
add rsi, rsi
mov rax, qword [rbx + 0xa8]
lea rcx, [rbx + 0xa8]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rax
mov r9d, dword [rbx + 0x108]
sub r9, qword [rbx + 0xf0]
add r9, qword [rbx + 0x100]
mov rax, qword [r15 + rsi*8 + 0x58]
test rax, rax
jne 0x140118838
mov edi, 0xc00000a0
mov rsi, qword [rsp + 0x48]
mov rsi, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsi + 8], eax
je 0x1401187b7
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
js 0x1401187e9
mov edx, 0x4e20
mov rcx, qword [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movsxd rcx, dword [r15 + 0x9c]
shl rcx, 4
add rcx, 0x78
add rcx, r15
mov r8, qword [rbp - 0x38]
xor edx, edx
call fcn.14011a830
mov edi, eax
mov eax, 1
sub eax, dword [r15 + 0x9c]
mov dword [r15 + 0x9c], eax
test rbx, rbx
je 0x140118813
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rbx
call r8
nop
mov eax, edi
mov rcx, qword [rbp + 0x9a0]
xor rcx, rsp
call fcn.1401de720
add rsp, 0xab8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax]
mov rsi, qword [rbp - 0x40]
add rdx, rsi
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov edi, eax
test eax, eax
js 0x14011879a
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
movsxd rax, dword [r15 + 0x9c]
add rax, rax
cmp byte [rcx + 0x15], 0
mov rcx, qword [r15 + rax*8 + 0x58]
je 0x1401188b5
test rcx, rcx
je 0x140118887
mov r14, qword [rcx]
lea eax, [r14 + rsi]
mov dword [rbp + 0x118], eax
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsi]
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x60]
mov edi, eax
jmp 0x14011879f
test rcx, rcx
je 0x1401188bd
mov r14, qword [rcx]
lea rax, [rsi + r14]
mov qword [rbp + 0x428], rax
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsi]
mov rax, qword [rdx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x330]
mov rdx, qword [rdx + 0x10]
call qword [rax + 0x68]
mov edi, eax
jmp 0x14011879f
lea rcx, [0x1403b4624]
call fcn.1401de7e8
cmp dword [0x1403b4624], 0xffffffff
jne 0x14011807f
movaps xmm0, xmmword [0x140299680]
movaps xmmword [0x1403b4630], xmm0
movaps xmm1, xmmword [0x1402996b0]
movaps xmmword [0x1403b4640], xmm1
movaps xmm0, xmmword [0x140299690]
movaps xmmword [0x1403b4650], xmm0
movaps xmm1, xmmword [0x1402996a0]
movaps xmmword [0x1403b4660], xmm1
movaps xmm0, xmmword [0x1402996e0]
movaps xmmword [0x1403b4670], xmm0
movaps xmm1, xmmword [0x1402996f0]
movaps xmmword [0x1403b4680], xmm1
movaps xmm0, xmmword [0x140299700]
movaps xmmword [0x1403b4690], xmm0
movaps xmm1, xmmword [0x140299710]
movaps xmmword [0x1403b46a0], xmm1
movaps xmm0, xmmword [0x140299720]
movaps xmmword [0x1403b46b0], xmm0
movaps xmm1, xmmword [0x140299730]
movaps xmmword [0x1403b46c0], xmm1
movaps xmm0, xmmword [0x140299740]
movaps xmmword [0x1403b46d0], xmm0
movaps xmm1, xmmword [0x140299750]
movaps xmmword [0x1403b46e0], xmm1
movaps xmm0, xmmword [0x140299760]
movaps xmmword [0x1403b46f0], xmm0
movaps xmm1, xmmword [0x140299770]
movaps xmmword [0x1403b4700], xmm1
movaps xmm0, xmmword [0x1402996d0]
movaps xmmword [0x1403b4710], xmm0
lea rcx, [0x1403b4624]
call fcn.1401de77c
jmp 0x14011807f