Function at 0x180031560
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov qword [rax - 0x38], r14
xor esi, esi
cmp byte [0x180041b25], sil
movabs r13, 0x5b2eee620e71fb7f
mov qword [rax - 0x40], r15
movabs r12, 0x50b56cba5c1da279
movabs rax, 0x3a6cfb66117cf169
movabs r15, 0x1b57f26c067dc672
movabs rdi, 0x549a2d1f135dad7a
movabs r14, 0x42d5b2e91c1a3507
jne 0x1800316b4
mov qword [rsp + 0x60], rax
mov r10d, esi
movabs rax, 0x24d022ce3359f139
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rax
mov r11, rdi
nop dword [rax]
mov rax, qword [rsp + r10*8 + 0x60]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x60], rdx
inc r10
cmp r10, 3
jb 0x1800315f0
mov rax, qword gs:[0x30]
mov r11d, esi
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r9, qword [rbx]
cmp r9, rbx
je 0x1800316ad
movzx eax, word [r9 + 0x48]
test ax, ax
je 0x1800316a2
mov r10, qword [r9 + 0x50]
test r10, r10
je 0x1800316a2
test r11d, r11d
js 0x1800316a2
mov r8d, eax
mov edx, esi
shr r8d, 1
je 0x180031695
nop word [rax + rax]
mov ecx, edx
movsx eax, byte [rsp + rcx + 0x60]
cmp word [r10 + rcx*2], ax
jne 0x1800316a2
inc edx
cmp edx, r8d
jb 0x180031680
mov eax, edx
cmp byte [rsp + rax + 0x60], sil
je 0x180031e14
mov r9, qword [r9]
inc r11d
cmp r9, rbx
jne 0x180031654
mov qword [0x180039f38], rsi
cmp byte [0x180041b26], sil
jne 0x1800317b4
movabs rax, 0x297efb66117cf169
mov qword [rbp - 0x78], r14
mov qword [rsp + 0x78], rax
mov r10, rsi
movabs rax, 0x23c703c92f78f725
mov r11, rdi
mov qword [rbp - 0x80], rax
nop dword [rax + rax]
mov rax, qword [rsp + r10*8 + 0x78]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x78], rdx
inc r10
cmp r10, 3
jb 0x1800316f0
mov rax, qword gs:[0x30]
mov r11d, esi
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r9, qword [rbx]
cmp r9, rbx
je 0x1800317ad
movzx eax, word [r9 + 0x48]
test ax, ax
je 0x1800317a2
mov r10, qword [r9 + 0x50]
test r10, r10
je 0x1800317a2
test r11d, r11d
js 0x1800317a2
mov r8d, eax
mov edx, esi
shr r8d, 1
je 0x180031795
nop word [rax + rax]
mov ecx, edx
movsx eax, byte [rsp + rcx + 0x78]
cmp word [r10 + rcx*2], ax
jne 0x1800317a2
inc edx
cmp edx, r8d
jb 0x180031780
mov eax, edx
cmp byte [rsp + rax + 0x78], sil
je 0x180031f67
mov r9, qword [r9]
inc r11d
cmp r9, rbx
jne 0x180031754
mov qword [0x180039f40], rsi
cmp byte [0x180041b27], sil
jne 0x1800318d4
movabs rax, 0x335af8683154c47a
mov r10, rsi
mov qword [rbp + 0x20], rax
mov r11, rdi
movabs rax, 0x3fdc18d93971f119
mov qword [rbp + 0x28], rax
movabs rax, 0x2ebac09d1e191247
mov qword [rbp + 0x30], rax
movabs rax, 0x6f78aed6a09b76d3
mov qword [rbp + 0x38], rax
movabs rax, 0x2d5b2e9707657ef8
mov qword [rbp + 0x40], rax
nop dword [rax]
mov rax, qword [rbp + r10*8 + 0x20]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 + 0x20], rdx
inc r10
cmp r10, 5
jb 0x180031810
mov rax, qword gs:[0x30]
mov r11d, esi
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r9, qword [rbx]
cmp r9, rbx
je 0x1800318cd
movzx eax, word [r9 + 0x48]
test ax, ax
je 0x1800318c2
mov r10, qword [r9 + 0x50]
test r10, r10
je 0x1800318c2
test r11d, r11d
js 0x1800318c2
mov r8d, eax
mov edx, esi
shr r8d, 1
je 0x1800318b5
nop word [rax + rax]
mov ecx, edx
movsx eax, byte [rbp + rcx + 0x20]
cmp word [r10 + rcx*2], ax
jne 0x1800318c2
inc edx
cmp edx, r8d
jb 0x1800318a0
mov eax, edx
cmp byte [rbp + rax + 0x20], sil
je 0x1800320d5
mov r9, qword [r9]
inc r11d
cmp r9, rbx
jne 0x180031874
mov qword [0x180039f50], rsi
movabs r12, 0x5b2e97076512942d
cmp byte [0x180041b29], sil
jne 0x1800319f4
movabs rax, 0x1841e562317bed40
mov r10, rsi
mov qword [rbp - 0x40], rax
mov r11, rdi
movabs rax, 0x22da18d93973fa25
mov qword [rbp - 0x38], rax
movabs rax, 0x26fb86df1505306b
mov qword [rbp - 0x30], rax
movabs rax, 0xb56cba5c1d928c9
mov qword [rbp - 0x28], rax
nop dword [rax]
mov rax, qword [rbp + r10*8 - 0x40]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x40], rdx
inc r10
cmp r10, 4
jb 0x180031930
mov rax, qword gs:[0x30]
mov r11d, esi
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r9, qword [rbx]
cmp r9, rbx
je 0x1800319ed
movzx eax, word [r9 + 0x48]
test ax, ax
je 0x1800319e2
mov r10, qword [r9 + 0x50]
test r10, r10
je 0x1800319e2
test r11d, r11d
js 0x1800319e2
mov r8d, eax
mov edx, esi
shr r8d, 1
je 0x1800319d5
nop word [rax + rax]
mov ecx, edx
movsx eax, byte [rbp + rcx - 0x40]
cmp word [r10 + rcx*2], ax
jne 0x1800319e2
inc edx
cmp edx, r8d
jb 0x1800319c0
mov eax, edx
cmp byte [rbp + rax - 0x40], sil
je 0x180032179
mov r9, qword [r9]
inc r11d
cmp r9, rbx
jne 0x180031994
mov qword [0x180039f60], rsi
cmp byte [0x180041b2a], sil
jne 0x180031b04
movabs rax, 0x294bf1740b73e679
mov r10, rsi
mov qword [rbp - 0x20], rax
mov r11, rdi
movabs rax, 0x3edc1eea182efb1e
mov qword [rbp - 0x18], rax
movabs rax, 0x74b0c1883204345d
mov qword [rbp - 0x10], rax
movabs rax, 0xb56cbc9adbd6a91
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp + r10*8 - 0x20]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x20], rdx
inc r10
cmp r10, 4
jb 0x180031a40
mov rax, qword gs:[0x30]
mov r11d, esi
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r9, qword [rbx]
cmp r9, rbx
je 0x180031afd
movzx eax, word [r9 + 0x48]
test ax, ax
je 0x180031af2
mov r10, qword [r9 + 0x50]
test r10, r10
je 0x180031af2
test r11d, r11d
js 0x180031af2
mov r8d, eax
mov edx, esi
shr r8d, 1
je 0x180031ae5
nop word [rax + rax]
mov ecx, edx
movsx eax, byte [rbp + rcx - 0x20]
cmp word [r10 + rcx*2], ax
jne 0x180031af2
inc edx
cmp edx, r8d
jb 0x180031ad0
mov eax, edx
cmp byte [rbp + rax - 0x20], sil
je 0x180032213
mov r9, qword [r9]
inc r11d
cmp r9, rbx
jne 0x180031aa4
mov qword [0x180039f58], rsi
cmp byte [0x180041b28], sil
jne 0x180031cf4
movabs rax, 0x2eb9d6c744402245
movabs r14, 0x1a6dfb66117cf169
mov qword [rbp + 0x10], rax
movabs r15, 0x31db1edf2865d10e
movabs rax, 0xb56cba5c1d944a5
mov qword [rbp], r14
mov qword [rbp + 0x18], rax
mov r10, rsi
mov qword [rbp + 8], r15
mov r11, rdi
nop
mov rax, qword [rbp + r10*8]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8], rdx
inc r10
cmp r10, 4
jb 0x180031b50
mov rax, qword gs:[0x30]
mov r11d, esi
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r9, qword [rbx]
cmp r9, rbx
je 0x180031c0d
movzx eax, word [r9 + 0x48]
test ax, ax
je 0x180031c02
mov r10, qword [r9 + 0x50]
test r10, r10
je 0x180031c02
test r11d, r11d
js 0x180031c02
mov r8d, eax
mov edx, esi
shr r8d, 1
je 0x180031bf5
nop word [rax + rax]
mov ecx, edx
movsx eax, byte [rbp + rcx]
cmp word [r10 + rcx*2], ax
jne 0x180031c02
inc edx
cmp edx, r8d
jb 0x180031be0
mov eax, edx
cmp byte [rbp + rax], sil
je 0x1800322a5
mov r9, qword [r9]
inc r11d
cmp r9, rbx
jne 0x180031bb4
mov qword [0x180039f48], rsi
movabs rax, 0x42d5de8514582245
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x60], rax
mov r10, rsi
mov qword [rbp - 0x68], r15
mov r11, rdi
mov rax, qword [rbp + r10*8 - 0x70]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x70], rdx
inc r10
cmp r10, 3
jb 0x180031c30
mov rax, qword gs:[0x30]
mov r11d, esi
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r9, qword [rbx]
cmp r9, rbx
je 0x180031ced
movzx eax, word [r9 + 0x48]
test ax, ax
je 0x180031ce2
mov r10, qword [r9 + 0x50]
test r10, r10
je 0x180031ce2
test r11d, r11d
js 0x180031ce2
mov r8d, eax
mov edx, esi
shr r8d, 1
je 0x180031cd5
nop word [rax + rax]
mov ecx, edx
movsx eax, byte [rbp + rcx - 0x70]
cmp word [r10 + rcx*2], ax
jne 0x180031ce2
inc edx
cmp edx, r8d
jb 0x180031cc0
mov eax, edx
cmp byte [rbp + rax - 0x70], sil
je 0x180032337
mov r9, qword [r9]
inc r11d
cmp r9, rbx
jne 0x180031c94
mov qword [0x180039f48], rsi
cmp byte [0x180041b24], sil
mov r15, qword [rsp + 0x158]
mov r14, qword [rsp + 0x160]
jne 0x180031e04
movabs rax, 0x3a6cfb66117cf169
mov r10, rsi
mov qword [rbp - 0x58], rax
movabs rax, 0x35c305ce3d53f139
mov qword [rbp - 0x50], rax
movabs rax, 0x42d5de851458651f
mov qword [rbp - 0x48], rax
nop
mov rax, qword [rbp + r10*8 - 0x58]
mov r9d, r10d
neg r9d
mov r8, rdi
and r9d, 0xf
rol r8, 3
not r8
rol rdi, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rbp + r10*8 - 0x58], rdx
inc r10
cmp r10, 3
jb 0x180031d40
mov rax, qword gs:[0x30]
mov r11d, esi
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
add rbx, 0x20
mov r9, qword [rbx]
cmp r9, rbx
je 0x180031dfd
movzx eax, word [r9 + 0x48]
test ax, ax
je 0x180031df2
mov r10, qword [r9 + 0x50]
test r10, r10
je 0x180031df2
test r11d, r11d
js 0x180031df2
mov r8d, eax
mov edx, esi
shr r8d, 1
je 0x180031de5
nop word [rax + rax]
mov ecx, edx
movsx eax, byte [rbp + rcx - 0x58]
cmp word [r10 + rcx*2], ax
jne 0x180031df2
inc edx
cmp edx, r8d
jb 0x180031dd0
mov eax, edx
cmp byte [rbp + rax - 0x58], sil
je 0x1800323d6
mov r9, qword [r9]
inc r11d
cmp r9, rbx
jne 0x180031da4
mov qword [0x180039f30], rsi
add rsp, 0x168
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [r9 + 0x20]
mov qword [0x180039f38], rax
test rax, rax
je 0x1800316b4
cmp byte [reloc.WS2_32.dll_accept], sil
mov byte [0x180041b25], 1
je 0x1800316b4
lea rcx, [0x18003aea0]
call fcn.180021400
test al, al
jne 0x1800316b4
mov qword [rbp + 0xa0], r13
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0xa0]
movabs rcx, 0x5b2e97076512942d
xor rax, rcx
xor r9d, r9d
mov rcx, qword [0x180039f38]
xor r8d, r8d
mov qword [rbp + 0xa0], rax
call fcn.18000eb00
mov rbx, rax
test rax, rax
jne 0x180031f1b
cmp byte [0x180039f0f], sil
je 0x180031f13
mov qword [rsp + 0x40], r15
mov r10, rsi
mov qword [rsp + 0x48], r12
mov r11, rdi
mov rax, qword [rsp + r10*8 + 0x40]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x40], rdx
inc r10
cmp r10, 2
jb 0x180031eb0
mov rcx, qword [0x180039f38]
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
call fcn.18000eb00
mov rbx, rax
test rax, rax
jne 0x180031f1b
mov eax, dword [0x180039f08]
jmp 0x180031f40
mov eax, dword [0x180039f08]
test eax, eax
jne 0x180031f40
cmp dword [0x18007e220], 0xffffffff
je 0x180031f4c
mov rcx, qword [0x180039f38]
call fcn.18001c570
mov dword [0x180039f08], eax
cmp eax, dword [0x18007e220]
ja 0x1800316b4
xor r9d, r9d
lea rcx, [0x18003aea0]
mov rdx, rbx
lea r8d, [r9 + 3]
call fcn.18002dd90
jmp 0x1800316b4
mov rax, qword [r9 + 0x20]
mov qword [0x180039f40], rax
test rax, rax
je 0x1800317b4
cmp byte [reloc.WS2_32.dll_accept], sil
mov byte [0x180041b26], 1
je 0x1800320be
lea rcx, [0x18003af10]
call fcn.180021400
test al, al
jne 0x1800320be
mov qword [rbp + 0xa8], r13
lea rdx, [rbp + 0xa8]
mov rax, qword [rbp + 0xa8]
movabs rcx, 0x5b2e97076512942d
xor rax, rcx
xor r9d, r9d
mov rcx, qword [0x180039f40]
xor r8d, r8d
mov qword [rbp + 0xa8], rax
call fcn.18000eb00
mov rbx, rax
test rax, rax
jne 0x18003207b
cmp byte [0x180039f0f], sil
je 0x180032073
mov qword [rsp + 0x50], r15
mov r10, rsi
mov qword [rsp + 0x58], r12
mov r11, rdi
nop word [rax + rax]
mov rax, qword [rsp + r10*8 + 0x50]
mov r9d, r10d
neg r9d
mov r8, r11
and r9d, 0xf
rol r8, 3
not r8
rol r11, 1
mov rdx, r8
mov ecx, r9d
neg ecx
and ecx, 0x3f
shl rdx, cl
mov ecx, r9d
shr r8, cl
or rdx, r8
xor rdx, rax
mov qword [rsp + r10*8 + 0x50], rdx
inc r10
cmp r10, 2
jb 0x180032010
mov rcx, qword [0x180039f40]
lea rdx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
call fcn.18000eb00
mov rbx, rax
test rax, rax
jne 0x18003207b
mov eax, dword [0x180039f08]
jmp 0x1800320a0
mov eax, dword [0x180039f08]
test eax, eax
jne 0x1800320a0
cmp dword [0x18007e220], 0xffffffff
je 0x1800320a8
mov rcx, qword [0x180039f40]
call fcn.18001c570
mov dword [0x180039f08], eax
cmp eax, dword [0x18007e220]
ja 0x1800320be
xor r9d, r9d
lea rcx, [0x18003af10]
mov rdx, rbx
lea r8d, [r9 + 3]
call fcn.18002df10
cmp byte [0x180039edf], sil
je 0x1800317b4
call fcn.180032fd0
jmp 0x1800317b4
mov rax, qword [r9 + 0x20]
mov qword [0x180039f50], rax
test rax, rax
je 0x1800318d4
cmp byte [reloc.WS2_32.dll_accept], sil
mov byte [0x180041b27], 1
je 0x1800318d4
lea rcx, [0x18003ae30]
call fcn.180021400
movabs r12, 0x5b2e97076512942d
test al, al
jne 0x1800318de
mov qword [rbp + 0xb0], r13
lea rdx, [rbp + 0xb0]
mov rax, qword [rbp + 0xb0]
xor r9d, r9d
mov rcx, qword [0x180039f50]
xor rax, r12
xor r8d, r8d
mov qword [rbp + 0xb0], rax
call fcn.18000eb00
mov edx, dword [0x18007e220]
cmp dword [0x180039f08], edx
ja 0x1800318de
xor r9d, r9d
lea rcx, [0x18003ae30]
mov rdx, rax
lea r8d, [r9 + 3]
call fcn.18002e250
jmp 0x1800318de
mov rax, qword [r9 + 0x20]
mov qword [0x180039f60], rax
test rax, rax
je 0x1800319f4
cmp byte [reloc.WS2_32.dll_accept], sil
mov byte [0x180041b29], 1
je 0x1800319f4
lea rcx, [0x18003adc0]
call fcn.180021400
test al, al
jne 0x1800319f4
mov qword [rbp + 0xb8], r13
lea rdx, [rbp + 0xb8]
mov rax, qword [rbp + 0xb8]
xor r9d, r9d
mov rcx, qword [0x180039f60]
xor rax, r12
xor r8d, r8d
mov qword [rbp + 0xb8], rax
call fcn.18000eb00
mov edx, dword [0x18007e220]
cmp dword [0x180039f08], edx
ja 0x1800319f4
xor r9d, r9d
lea rcx, [0x18003adc0]
mov rdx, rax
lea r8d, [r9 + 3]
call fcn.18002e120
jmp 0x1800319f4
mov rax, qword [r9 + 0x20]
mov qword [0x180039f58], rax
test rax, rax
je 0x180031b04
cmp byte [reloc.WS2_32.dll_accept], sil
mov byte [0x180041b29], 1
je 0x180031b04
lea rcx, [0x18003ad50]
call fcn.180021400
test al, al
jne 0x180031b04
mov qword [rsp + 0x20], r13
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x20]
xor r9d, r9d
mov rcx, qword [0x180039f58]
xor rax, r12
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.18000eb00
mov edx, dword [0x18007e220]
cmp dword [0x180039f08], edx
ja 0x180031b04
xor r9d, r9d
lea rcx, [0x18003ad50]
mov rdx, rax
lea r8d, [r9 + 3]
call fcn.18002e380
jmp 0x180031b04
mov rax, qword [r9 + 0x20]
mov qword [0x180039f48], rax
test rax, rax
je 0x180031c14
cmp byte [reloc.WS2_32.dll_accept], sil
mov byte [0x180041b28], 1
je 0x180031c14
lea rcx, [0x18003ace0]
call fcn.180021400
test al, al
jne 0x180031c14
mov qword [rsp + 0x28], r13
lea rdx, [rsp + 0x28]
mov rax, qword [rsp + 0x28]
xor r9d, r9d
mov rcx, qword [0x180039f48]
xor rax, r12
xor r8d, r8d
mov qword [rsp + 0x28], rax
call fcn.18000eb00
mov ecx, dword [0x18007e220]
cmp dword [0x180039f08], ecx
ja 0x180031c14
xor r9d, r9d
lea rcx, [0x18003ace0]
mov rdx, rax
lea r8d, [r9 + 3]
call fcn.18002dec0
jmp 0x180031c14
mov rax, qword [r9 + 0x20]
mov qword [0x180039f48], rax
test rax, rax
je 0x180031cf4
cmp byte [0x180039f0f], sil
mov byte [0x180041b28], 1
je 0x180031cf4
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x180031cf4
lea rcx, [0x18003ace0]
call fcn.180021400
test al, al
jne 0x180031cf4
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
xor r9d, r9d
mov rcx, qword [0x180039f48]
xor rax, r12
xor r8d, r8d
mov qword [rsp + 0x30], rax
call fcn.18000eb00
mov edx, dword [0x18007e220]
cmp dword [0x180039f08], edx
ja 0x180031cf4
xor r9d, r9d
lea rcx, [0x18003ace0]
mov rdx, rax
lea r8d, [r9 + 3]
call fcn.18002dec0
jmp 0x180031cf4
mov rax, qword [r9 + 0x20]
mov qword [0x180039f30], rax
test rax, rax
je 0x180031e04
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x180031e04
lea rcx, [0x18003ac70]
call fcn.180021400
test al, al
jne 0x180031e04
mov qword [rsp + 0x38], r13
lea rdx, [rsp + 0x38]
mov rax, qword [rsp + 0x38]
xor r9d, r9d
mov rcx, qword [0x180039f30]
xor rax, r12
mov byte [0x180041b24], 1
xor r8d, r8d
mov qword [rsp + 0x38], rax
call fcn.18000eb00
test rax, rax
je 0x180031e04
mov ecx, dword [0x18007e220]
cmp dword [0x180039f08], ecx
ja 0x180031e04
mov qword [0x180039f68], rax
add rsp, 0x168
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret