Function at 0x140023a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rcx
xor esi, esi
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r15, qword [rcx + 0x30]
test r15, r15
je 0x140023dd8
mov edx, 0xe9
lea rcx, [rbp - 0x49]
call fcn.140011160
mov rbx, rax
mov rdi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
je 0x140023a90
mov ecx, esi
jmp 0x140023aa2
mov rax, qword [rbx + 8]
lea rcx, [0x14024ecc0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x61]
call fcn.14008e300
nop
mov rdi, 0xffffffffffffffff
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140023ae0
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140023ae0
mov rcx, qword [rbp - 0x49]
call fcn.14021b7f0
nop
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x79]
call fcn.140093e70
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x79]
call fcn.140041f70
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x140023b19
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140023b19
mov rcx, qword [rbp - 0x79]
call fcn.14021b7f0
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140023b6b
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023b66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023e08
call fcn.140214330
movdqa xmm0, xmmword [0x1403415a0]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140023b99
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140023b99
mov rcx, qword [rbp - 0x61]
call fcn.14021b7f0
test r14, r14
je 0x140023dd8
mov dword [rbp + 0x20], 0x416c74
mov byte [rbp + 0x1f], 0x52
mov dword [rbp + 0x10], 0x636f6c
mov byte [rbp + 0xf], 0x6c
mov word [rbp + 0x1a], 0x48
mov word [rbp + 0x17], 0x7461
mov byte [rbp + 0x19], reloc.WS2_32.dll_WSAAsyncSelect
mov dword [rsp + 0x30], 0x706165
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], rsi
lea rax, [rbp + 0x1f]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140023be6
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x31]
call fcn.140006ba0
nop
lea rax, [rbp + 0xf]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x140023c05
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140023c4e
lea rax, [rcx + rsi]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x31]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x31]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.14023ffe0
mov byte [rbx + rsi], 0
jmp 0x140023c66
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0xf]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.140006f80
lea rax, [rbp + 0x17]
mov rsi, rdi
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140023c70
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140023cb9
lea rax, [rcx + rsi]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x31]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x31]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.14023ffe0
mov byte [rbx + rsi], 0
jmp 0x140023cd1
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x17]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.140006f80
lea rax, [rsp + 0x30]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140023cd6
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140023d20
lea rax, [rdi + rcx]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x31]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x31]
add rbx, rcx
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14023ffe0
mov byte [rbx + rdi], 0
jmp 0x140023d39
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.140006f80
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rdx, qword [rbp - 0x31]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140023da1
mov r8, r12
mov edx, 8
mov rcx, r15
call rax
mov rbx, rax
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140023d9c
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023d97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023e02
call fcn.140214330
mov rax, rbx
jmp 0x140023dda
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140023dd8
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023dd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023e02
call fcn.140214330
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140221490
nop
call fcn.140221490
nop
int3