Function at 0x140028380
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 [0x1400fc100]
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.1400bc070
xor edx, edx
mov r8d, 0x670
lea rcx, [rbp + 0x330]
call fcn.1400bc070
cmp qword [r15 + 0x40], r14
jne 0x140028407
mov eax, 0xc0000225
jmp 0x140028c33
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.140029c20
test eax, eax
js 0x140028c33
mov rcx, qword [r15 + 0x40]
test rcx, rcx
je 0x14002842c
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi]
call fcn.1400452e0
test al, al
jne 0x14002844c
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140028c33
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.140013ba0
nop
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rbp + 0x50]
cmp byte [rcx + 0x15], 0
jne 0x14002888c
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401000f4], eax
jg 0x140028d0d
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 0x1400288b1
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, [0x1400df330]
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, [0x140100100]
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 0x140028550
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 0x1400285c2
mov rax, qword [rcx]
mov qword [rbp + 0x40], rax
jmp 0x1400285c6
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.140006280
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.140019d40
nop
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rax, qword [r15 + rax*8 + 0x58]
test rax, rax
je 0x140028661
mov rax, qword [rax]
mov qword [rbp + 0x40], rax
jmp 0x140028665
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.140006280
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.1400061b0
nop
lea rcx, [rsp + 0x30]
call fcn.140001760
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140028748
mov rax, qword [rsp + 0x38]
cmp rsi, rax
je 0x14002870b
mov rbx, rax
nop
lea rcx, [rsi + 0x40]
call fcn.1400061b0
add rsi, 0x58
cmp rsi, rbx
jne 0x1400286f0
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.14000d7c0
mov qword [rsp + 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea r9, [0x140013b20]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rsp + 0x60]
call fcn.14008e9c4
mov dword [rsp + 0x20], r14d
mov r8d, 1
mov rdx, rbx
mov rcx, r15
call fcn.140029e70
mov esi, r14d
lea rbx, [0x140100100]
movabs r15, 0x400000003
nop dword [rax]
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 0x140028790
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, [0x1400df330]
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 0x140028b6e
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 0x1400288be
mov rcx, qword [rsi]
call fcn.140045480
jmp 0x140028c1a
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 0x140028933
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x140028938
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.140006280
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.140019d40
nop
movsxd rax, dword [r15 + 0x9c]
add rax, rax
mov rdx, qword [r15 + rax*8 + 0x58]
test rdx, rdx
je 0x1400289d3
mov rdx, qword [rdx]
jmp 0x1400289d6
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140013b30
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.1400061b0
nop
lea rcx, [rsp + 0x30]
call fcn.140001760
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140028a7b
mov r12, qword [rsp + 0x38]
cmp rsi, r12
je 0x140028a37
nop
lea rcx, [rsi + 0x40]
call fcn.1400061b0
add rsi, 0x58
cmp rsi, r12
jne 0x140028a20
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.14000d7c0
mov qword [rsp + 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
lea r12, [rbx + 0xa8]
lea r9, [0x140013b20]
mov edx, 0x58
lea r8d, [rdx - 0x57]
lea rcx, [rsp + 0x60]
call fcn.14008e9c4
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, [0x1400df230]
mov edx, 2
mov rcx, r12
call qword [rax + Ordinal_50]
mov dword [rsp + 0x20], r14d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.140029e70
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 0x140028c56
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 0x140028bd1
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test edi, edi
js 0x140028c07
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 r9, qword [rbp - 0x38]
xor edx, edx
lea r8d, [rdx + 8]
call fcn.1400276f0
mov edi, eax
mov eax, 1
sub eax, dword [r15 + 0x9c]
mov dword [r15 + 0x9c], eax
test rbx, rbx
je 0x140028c31
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.14008e960
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 0x140028bb4
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 0x140028cd3
test rcx, rcx
je 0x140028ca5
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 0x140028bb9
test rcx, rcx
je 0x140028cdb
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 0x140028bb9
lea rcx, [0x1401000f4]
call fcn.14008f554
cmp dword [0x1401000f4], 0xffffffff
jne 0x14002849f
movaps xmm0, xmmword [0x1400df2f0]
movaps xmmword [0x140100100], xmm0
movaps xmm1, xmmword [0x1400df320]
movaps xmmword [0x140100110], xmm1
movaps xmm0, xmmword [0x1400df300]
movaps xmmword [0x140100120], xmm0
movaps xmm1, xmmword [0x1400df310]
movaps xmmword [0x140100130], xmm1
movaps xmm0, xmmword [0x1400df350]
movaps xmmword [0x140100140], xmm0
movaps xmm1, xmmword [0x1400df360]
movaps xmmword [0x140100150], xmm1
movaps xmm0, xmmword [0x1400df370]
movaps xmmword [0x140100160], xmm0
movaps xmm1, xmmword [0x1400df380]
movaps xmmword [0x140100170], xmm1
movaps xmm0, xmmword [0x1400df390]
movaps xmmword [0x140100180], xmm0
movaps xmm1, xmmword [0x1400df3a0]
movaps xmmword [0x140100190], xmm1
movaps xmm0, xmmword [0x1400df3b0]
movaps xmmword [0x1401001a0], xmm0
movaps xmm1, xmmword [0x1400df3c0]
movaps xmmword [0x1401001b0], xmm1
movaps xmm0, xmmword [0x1400df3d0]
movaps xmmword [0x1401001c0], xmm0
movaps xmm1, xmmword [0x1400df3e0]
movaps xmmword [0x1401001d0], xmm1
movaps xmm0, xmmword [0x1400df340]
movaps xmmword [0x1401001e0], xmm0
lea rcx, [0x1401000f4]
call fcn.14008f4e8
jmp 0x14002849f