Function at 0x140073890
Capabilities:
Get memory capacity

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x138
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xa0], xmm6
mov qword [rbp + 0x88], 0xfffffffffffffffe
mov r12, rcx
mov eax, dword [0x1400fe130]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x288], 0
je 0x1400739b1
mov ebx, r8d
mov r14d, edx
mov qword [rbp + 0x68], 0
call fcn.14005b5f0
mov qword [rbp - 0x20], rax
xor r15d, r15d
cmp dword [0x1400fc9f8], 0
mov qword [rbp + 0x78], r12
je 0x140073aad
cmp byte [0x1400fc9c1], 0
jne 0x140073aad
cmp qword [r12 + 0x348], 0
setne r15b
jne 0x140073aad
test bl, bl
jne 0x140073aad
mov eax, dword [0x1400ffc64]
mov dword [rbp + 0x60], eax
test eax, eax
jne 0x1400739bb
lea rax, [rbp + 0x60]
mov qword [rbp - 0x18], rax
lea rax, [0x140078b00]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x140043450]
mov qword [rbp + 0x18], rax
mov rsi, qword [0x1400ff8f8]
test rsi, rsi
je 0x1400739b9
mov rbx, qword [0x1400ff8f0]
dec rsi
xor r15d, r15d
lea rdi, [rbp + 0x10]
nop word cs:[rax + rax]
mov rdx, qword [rbx + r15*8]
mov rcx, rdi
call fcn.140066d30
test eax, eax
jne 0x1400739ac
lea rax, [r15 + 1]
cmp rsi, r15
mov r15, rax
jne 0x140073990
mov eax, dword [rbp + 0x60]
jmp 0x1400739bb
xor r12d, r12d
jmp 0x140074cd4
xor eax, eax
mov r15b, 1
cmp eax, 2
jl 0x140073aad
mov edx, dword [0x1400fc9f8]
lea ecx, [rax - 1]
cmp eax, edx
cmovae ecx, edx
mov dword [r12 + 0x340], ecx
mov edx, 4
call fcn.140096da4
mov qword [r12 + 0x348], rax
test rax, rax
je 0x140074dab
cmp qword [r12 + 0x350], 0
jne 0x140073a23
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateEventW
mov qword [r12 + 0x350], rax
test rax, rax
je 0x140074dc4
cmp qword [r12 + 0x358], 0
jne 0x140073a4e
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateEventW
mov qword [r12 + 0x358], rax
test rax, rax
je 0x140074dc4
cmp dword [r12 + 0x340], 0
je 0x140073aad
lea rdi, [0x140078bf0]
lea rsi, [fcn.140076180]
xor ebx, ebx
nop dword [rax]
movsxd rbx, ebx
mov rax, qword [rbp + 0x78]
mov r12, qword [rax + 0x348]
mov qword [rsp + 0x20], rsi
mov rcx, qword [rbp + 0x78]
mov rdx, rdi
mov r8d, 0x4000
mov r9, qword [rbp + 0x78]
call fcn.14006bce0
mov dword [r12 + rbx*4], eax
mov r12, qword [rbp + 0x78]
inc ebx
cmp ebx, dword [r12 + 0x340]
jb 0x140073a70
mov esi, 1
xor eax, eax
lock cmpxchg qword [r12 + 0x40], rsi
jne 0x140073c42
xor eax, eax
lock cmpxchg qword [r12], rsi
jne 0x140073c9c
call fcn.14006bb10
mov rsi, qword [r12 + 0xb0]
test rsi, rsi
je 0x140073b3f
mov rdi, qword [r12 + 0xa8]
xor ebx, ebx
jmp 0x140073b15
mov rdx, qword [rax + 0x28]
mov rcx, qword [rax + 0x18]
mov r8, qword [rax + 0x20]
add r8, 0x3f
shr r8, 3
and r8, 0xfffffffffffffff8
call fcn.1400a6b20
inc rbx
cmp rsi, rbx
je 0x140073b3f
mov rax, qword [rdi + rbx*8]
cmp byte [rax + 0xb0], 0
je 0x140073af0
mov rcx, qword [rax + 0x18]
mov r8, qword [rax + 0x20]
add r8, 0x3f
shr r8, 3
and r8, 0xfffffffffffffff8
xor edx, edx
call fcn.1400a71c0
jmp 0x140073b0d
call fcn.14005b5f0
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp - 0x20]
call fcn.14004c690
add qword [0x1400ffa40], rax
mov rbx, qword [rbp + 0x68]
test r15b, r15b
je 0x140073cfb
mov qword [r12 + 0x300], 0
mov qword [rbp + 0x60], r12
test r14b, r14b
jne 0x140073bb0
mov qword [rbp - 0x18], r12
lea rax, [0x140077af0]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14006dbf0]
mov qword [rbp + 0x18], rax
lea rdx, [0x14006da90]
lea rcx, [rbp + 0x10]
call fcn.14006b7e0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x140077b90]
mov qword [rbp + 0x18], rax
lea r8, [0x140043450]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.140082470
mov qword [rbp + 0x10], rsi
lea rax, [0x140077be0]
mov qword [rbp + 0x18], rax
lea r8, [0x140043450]
mov rcx, qword [r12 + 0x90]
lea rdx, [rbp + 0x10]
call fcn.140082470
mov r14, qword [r12 + 0x300]
test r14, r14
je 0x140074025
mov rdi, qword [r12 + 0x308]
mov ecx, dword [r12 + 0x340]
inc ecx
mov rax, r14
shr rax, 0x20
je 0x140073e09
mov rax, r14
xor edx, edx
div rcx
mov r15, rax
jmp 0x140073e13
movzx ecx, byte [r12 + 0x48]
mov eax, 1
shl eax, cl
movsxd rdi, eax
jmp 0x140073c6f
xor eax, eax
lock cmpxchg qword [r12 + 0x40], rsi
je 0x140073ac1
mov rax, qword [r12 + 0x40]
test rax, rax
je 0x140073c60
xor ebx, ebx
jmp 0x140073c92
call sub.KERNEL32.dll_SwitchToThread
add rbx, rdi
mov rax, qword [r12 + 0x40]
test rax, rax
je 0x140073c60
cmp rbx, 0xf
ja 0x140073c80
pause
jmp 0x140073c85
movzx ecx, byte [r12 + 8]
mov eax, 1
shl eax, cl
movsxd rsi, eax
mov edi, 1
jmp 0x140073cce
xor eax, eax
lock cmpxchg qword [r12], rdi
je 0x140073acf
mov rax, qword [r12]
test rax, rax
je 0x140073cc0
xor ebx, ebx
jmp 0x140073cf1
call sub.KERNEL32.dll_SwitchToThread
add rbx, rsi
mov rax, qword [r12]
test rax, rax
je 0x140073cc0
cmp rbx, 0xf
ja 0x140073ce0
pause
jmp 0x140073ce5
cmp byte [0x1400ffa80], 1
jne 0x140073d77
mov qword [rbp + 0x60], r12
test r14b, r14b
jne 0x140073d3f
mov qword [rbp - 0x18], r12
lea rax, [0x1400798c0]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14006dbf0]
mov qword [rbp + 0x18], rax
lea rdx, [0x14006da90]
lea rcx, [rbp + 0x10]
call fcn.14006b7e0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x140079ee0]
mov qword [rbp + 0x18], rax
lea r8, [0x140043450]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.140082470
mov qword [rbp + 0x10], rsi
lea rax, [0x140079f30]
jmp 0x140073de8
mov qword [rbp + 0x60], r12
test r14b, r14b
jne 0x140073db2
mov qword [rbp - 0x18], r12
lea rax, [0x140079f70]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14006dbf0]
mov qword [rbp + 0x18], rax
lea rdx, [0x14006da90]
lea rcx, [rbp + 0x10]
call fcn.14006b7e0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x14007a420]
mov qword [rbp + 0x18], rax
lea r8, [0x140043450]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.140082470
mov qword [rbp + 0x10], rsi
lea rax, [0x14007a460]
mov qword [rbp + 0x18], rax
lea r8, [0x140043450]
mov rcx, qword [r12 + 0x90]
lea rdx, [rbp + 0x10]
call fcn.140082470
jmp 0x140074025
mov eax, r14d
xor edx, edx
div ecx
mov r15d, eax
mov rsi, rdi
cmp r14, rcx
jb 0x140073fa0
mov qword [rbp + 0x70], rdi
cmp byte [0x1400ffa80], 1
jne 0x140073ee5
mov rcx, r12
add r12, 0x240
mov esi, 1
xor eax, eax
lock cmpxchg qword [rcx + 0x240], rsi
jne 0x140074cf2
mov rax, qword [rbp + 0x78]
cmp dword [rax + 0x340], 0
je 0x140073f8d
mov qword [rbp + 0x58], rbx
xor r13d, r13d
xorps xmm6, xmm6
mov rdi, qword [rbp + 0x70]
mov rbx, qword [rbp + 0x78]
jmp 0x140073ec4
lea rsi, [rdi + r15*8]
lea rcx, [rax + 1]
mov qword [rbx + 0x280], rcx
mov rcx, qword [rbx + 0x288]
lea rax, [rax + rax*4]
mov qword [rcx + rax*8], rdi
mov qword [rcx + rax*8 + 8], rsi
movups xmmword [rcx + rax*8 + 0x10], xmm6
mov qword [rcx + rax*8 + 0x20], 0
inc r13d
mov rdi, rsi
cmp r13d, dword [rbx + 0x340]
jae 0x140073f83
mov rax, qword [rbx + 0x280]
cmp rax, qword [rbx + 0x290]
jne 0x140073e80
mov rcx, r12
call fcn.140079780
mov rax, qword [rbx + 0x280]
jmp 0x140073e80
mov rcx, r12
add r12, 0x1c0
mov esi, 1
xor eax, eax
lock cmpxchg qword [rcx + 0x1c0], rsi
jne 0x140074d4b
mov rax, qword [rbp + 0x78]
cmp dword [rax + 0x340], 0
je 0x140073f8d
mov qword [rbp + 0x58], rbx
xor r13d, r13d
mov rdi, qword [rbp + 0x70]
mov rbx, qword [rbp + 0x78]
jmp 0x140073f62
lea rsi, [rdi + r15*8]
lea rcx, [rax + 1]
mov qword [rbx + 0x200], rcx
mov rcx, qword [rbx + 0x208]
shl rax, 4
mov qword [rcx + rax], rdi
mov qword [rcx + rax + 8], rsi
inc r13d
mov rdi, rsi
cmp r13d, dword [rbx + 0x340]
jae 0x140073f83
mov rax, qword [rbx + 0x200]
cmp rax, qword [rbx + 0x210]
jne 0x140073f30
mov rcx, r12
call fcn.1400796e0
mov rax, qword [rbx + 0x200]
jmp 0x140073f30
mov rbx, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x70]
jmp 0x140073f94
mov rdi, qword [rbp + 0x70]
mov rsi, rdi
mov qword [r12], 0
mov r12, qword [rbp + 0x78]
lock inc dword [r12 + 0x360]
mov rcx, qword [r12 + 0x350]
test rcx, rcx
je 0x140073fbb
call sub.KERNEL32.dll_SetEvent
lea rax, [rdi + r14*8]
cmp byte [0x1400ffa80], 1
jne 0x140073fed
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], 0
lea rdx, [rbp + 0x10]
mov rcx, r12
call fcn.140077ee0
jmp 0x140074001
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x10]
mov rcx, r12
call fcn.1400785b0
lock dec dword [r12 + 0x360]
cmp byte [0x1400ffa80], 1
jne 0x14007401d
mov rcx, r12
call fcn.140078c70
jmp 0x140074025
mov rcx, r12
call fcn.140078e30
mov rsi, qword [0x1400ffa08]
test rsi, rsi
je 0x140074075
lea rdi, [0x140077dd0]
jmp 0x14007404c
mov rsi, qword [rsi + 0xb8]
test rsi, rsi
je 0x14007406c
mov rax, qword [rsi + 0xa0]
test rax, rax
je 0x140074040
mov rax, qword [rax + 8]
mov rcx, qword [rax]
mov rdx, r12
mov r8, rdi
call fcn.140067530
jmp 0x140074040
mov rdi, qword [0x1400ffa08]
jmp 0x140074077
xor edi, edi
mov eax, dword [0x1400ffa10]
dec eax
cmp byte [0x1400ff9f8], 0
mov dword [0x1400ffa10], eax
jne 0x1400740b8
test rdi, rdi
je 0x1400740b8
test eax, eax
jne 0x1400740e0
mov eax, dword [0x1400fe130]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x288]
call fcn.14006bbd0
jmp 0x1400740e0
test eax, eax
jne 0x1400740d4
jmp 0x1400740cf
mov rcx, rdi
call fcn.14006bbd0
mov rdi, qword [rdi + 0xb8]
test rdi, rdi
jne 0x1400740c0
lea rcx, [0x1400ff918]
call fcn.1400a7db0
mov qword [r12 + 0x40], 0
mov qword [r12], 0
call fcn.14005b5f0
mov qword [rbp + 0x68], rax
lea rdi, [rbp + 0x68]
mov rcx, rdi
mov rdx, rbx
call fcn.14004c690
add qword [0x1400ffa48], rax
mov rcx, rdi
mov rdx, qword [rbp - 0x20]
call fcn.14004c690
cmp rax, qword [0x1400ffa60]
jle 0x14007412c
mov qword [0x1400ffa60], rax
add qword [0x1400ffa58], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp - 0x30], rax
mov eax, dword [0x1400fe130]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x298], 1
mov rax, qword [r12 + 0xb0]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x14007492d
mov rax, qword [r12 + 0xa8]
mov qword [rbp - 0x40], rax
xor eax, eax
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp + 8], rax
xor r15d, r15d
jmp 0x1400741a1
mov r15, qword [rbp - 0x38]
inc r15
cmp r15, qword [rbp - 0x48]
je 0x140074939
mov rax, qword [rbp - 0x40]
mov r12, qword [rax + r15*8]
cmp byte [r12 + 0xb0], 0
je 0x1400743f0
cmp qword [r12 + 0x98], 0
je 0x140074194
xor r13d, r13d
xor esi, esi
jmp 0x1400741e4
add rsi, r14
add r13, r14
cmp r13, qword [r12 + 0x98]
jae 0x1400743b0
mov rax, qword [r12 + 0xa8]
mov rdx, qword [r12 + 0xb8]
mov r14d, dword [rdx + r13*4]
cmp byte [rax + r13], 0x10
je 0x1400741d0
mov rax, qword [r12 + 0x18]
mov rdi, r13
shr rdi, 6
mov r8, qword [rax + rdi*8]
mov eax, 1
mov ecx, r13d
shl rax, cl
bt r8, r13
jae 0x14007422d
test rsi, rsi
jne 0x140074374
xor esi, esi
jmp 0x1400741d3
cmp qword [r12 + 0x40], 0
mov rbx, rax
not rbx
je 0x1400742ef
mov rcx, r13
shl rcx, 0xc
add rcx, qword [r12]
mov rdx, qword [r12 + 0x38]
mov r8, qword [rdx + rdi*8]
mov r9, r8
and r9, rbx
mov qword [rdx + rdi*8], r9
test r8, rax
je 0x1400742ef
cmp qword [r12 + 0x40], 0
je 0x140074399
mov r8, qword [r12 + 0x38]
xor edx, edx
test qword [r8 + rdi*8], rax
setne dl
cmp qword [r12 + 0x50], 0
je 0x14007429c
mov r8, qword [r12 + 0x48]
test qword [r8 + rdi*8], rax
lea r8d, [rdx + 0x20]
cmove r8d, edx
mov edx, r8d
mov r8, qword [r12 + 0x58]
mov r9d, edx
or r9d, 2
test qword [r8 + rdi*8], rax
cmove r9d, edx
cmp qword [r12 + 0x80], 0
je 0x1400742cf
mov rdx, qword [r12 + 0x78]
mov r8d, r9d
or r8d, 0x10
test qword [rdx + rdi*8], rax
cmovne r9d, r8d
mov rdx, r14
shl rdx, 0xc
mov r10, qword [r12 + 0x68]
mov r8d, r9d
or r8d, 8
test qword [r10 + rdi*8], rax
cmove r8d, r9d
call fcn.1400685c0
cmp qword [r12 + 0x50], 0
je 0x140074300
mov rax, qword [r12 + 0x48]
and qword [rax + rdi*8], rbx
mov rax, qword [r12 + 0x58]
and qword [rax + rdi*8], rbx
mov rax, qword [r12 + 0x68]
and qword [rax + rdi*8], rbx
cmp qword [r12 + 0x80], 0
je 0x140074326
mov rax, qword [r12 + 0x78]
and qword [rax + rdi*8], rbx
mov rcx, qword [r12 + 0xa8]
add rcx, r13
mov dl, reloc.WS2_32.dll_recv
mov r8, r14
call fcn.1400a71c0
cmp r13, qword [r12 + 0x100]
jae 0x14007434d
mov qword [r12 + 0x100], r13
add qword [rbp - 0x28], r14
mov rax, qword [r12 + 0xa0]
add rax, r14
mov qword [r12 + 0xa0], rax
add rsi, r14
mov qword [r12 + 0x108], rax
jmp 0x1400741d3
mov rax, r13
sub rax, rsi
mov dword [rdx + rax*4], esi
cmp rsi, 1
je 0x140074229
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4 - 4], esi
jmp 0x140074229
xor edx, edx
cmp qword [r12 + 0x50], 0
jne 0x140074288
jmp 0x14007429c
test rsi, rsi
je 0x140074194
mov rax, r13
sub rax, rsi
mov rcx, qword [r12 + 0xb8]
mov dword [rcx + rax*4], esi
cmp rsi, 1
je 0x140074194
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4 - 4], esi
jmp 0x140074194
mov rax, qword [r12 + 0x98]
mov dword [r12 + 0xc0], eax
mov dword [r12 + 0xc4], eax
mov dword [r12 + 0xc8], eax
mov dword [r12 + 0xcc], eax
mov dword [r12 + 0xd0], eax
mov dword [r12 + 0xd4], eax
mov dword [r12 + 0xd8], eax
mov dword [r12 + 0xdc], eax
mov dword [r12 + 0xe0], eax
mov dword [r12 + 0xe4], eax
mov dword [r12 + 0xe8], eax
mov dword [r12 + 0xec], eax
mov dword [r12 + 0xf0], eax
mov dword [r12 + 0xf4], eax
test rax, rax
je 0x140074194
mov qword [rbp - 0x38], r15
xor r13d, r13d
jmp 0x1400744ad
mov rax, qword [r12 + 0xb8]
mov ecx, dword [r12 + r11*4 + 0xc0]
mov dword [rax + r13*4], ecx
mov dword [r12 + r11*4 + 0xc0], r13d
inc r13
cmp r13, qword [r12 + 0x98]
jae 0x140074190
mov rax, qword [r12 + 0xa8]
movzx eax, byte [rax + r13]
cmp rax, 0xd
ja 0x14007449c
mov qword [rbp + 0x70], rax
mov rsi, qword [r12 + 0x18]
mov rax, qword [r12 + 0x28]
mov r15, r13
shl r15, 5
mov r9, qword [rax + r15]
mov rdi, qword [rsi + r15]
or rdi, r9
mov r8, rdi
not r8
mov qword [rbp - 0x18], r8
mov rdx, qword [rax + r15 + 8]
mov rbx, qword [rsi + r15 + 8]
or rbx, rdx
mov r10, rbx
not r10
mov qword [rbp - 0x10], r10
mov rcx, qword [rax + r15 + 0x10]
mov r14, qword [rsi + r15 + 0x10]
or r14, rcx
mov r11, r14
not r11
mov qword [rbp - 8], r11
mov rax, qword [rax + r15 + 0x18]
mov r15, qword [rsi + r15 + 0x18]
or r15, rax
mov rsi, r15
not rsi
mov qword [rbp], rsi
cmp rdi, 0xffffffffffffffff
jne 0x1400745d0
cmp rbx, 0xffffffffffffffff
jne 0x1400745d0
cmp r14, 0xffffffffffffffff
jne 0x1400745d0
cmp r15, 0xffffffffffffffff
jne 0x1400745d0
mov r11, qword [rbp + 0x70]
mov r8d, r11d
shl r8d, 5
lea r10, [0x1400ded48]
xor r9, qword [r8 + r10]
cmp r9, 0xffffffffffffffff
jne 0x140074480
mov r8d, r11d
shl r8d, 5
xor rdx, qword [r8 + r10 + 8]
cmp rdx, 0xffffffffffffffff
jne 0x140074480
mov edx, r11d
shl edx, 5
xor rcx, qword [rdx + r10 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x140074480
mov ecx, r11d
shl ecx, 5
xor rax, qword [rcx + r10 + 0x18]
cmp rax, 0xffffffffffffffff
jne 0x140074480
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4], 0xffffffff
jmp 0x14007449c
mov qword [rbp + 0x58], r13
mov r13, rax
mov rax, qword [rbp + 0x58]
lea rax, [rax*4]
mov qword [rbp + 0x50], rax
xor r9, rdi
xor rdx, rbx
or rdx, r9
xor rcx, r14
or rcx, rdx
xor r13, r15
or r13, rcx
mov r13, qword [rbp + 0x58]
sete byte [rbp + 0x87]
mov rax, qword [r12 + 0x38]
test rax, rax
je 0x140074770
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8], r8
jne 0x140074644
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 8], r10
jne 0x140074644
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 0x10], r11
jne 0x140074644
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 0x18], rsi
je 0x140074770
lea rax, [0x1400dcc98]
mov rcx, qword [rbp + 0x70]
movzx eax, word [rax + rcx*2]
mov r14, r13
shl r14, 0xc
add r14, qword [r12]
movsx rdi, ax
mov rsi, r14
sub rsi, rdi
add rsi, 0x1001
cmp r14, rsi
jae 0x140074770
mov r9, r13
shl r9, 8
lea ecx, [rax + 0xf]
test ax, ax
cmovns ecx, eax
movsx eax, cx
shr eax, 4
movsx rbx, ax
xor r15d, r15d
mov qword [rbp - 0x50], r9
jmp 0x1400746cf
mov r9, qword [r12 + 0x68]
mov r8d, ecx
or r8d, 8
test qword [r9 + rax*8], rdx
cmove r8d, ecx
mov rcx, r14
mov rdx, rdi
call fcn.1400685c0
mov r9, qword [rbp - 0x50]
nop
add r14, rdi
add r15, rbx
cmp r14, rsi
jae 0x140074770
lea rax, [r15 + r9]
mov rcx, qword [r12 + 0x18]
shr rax, 6
mov r8, qword [rcx + rax*8]
mov edx, 1
mov ecx, r15d
shl rdx, cl
bt r8, r15
jb 0x1400746c0
cmp qword [r12 + 0x40], 0
je 0x1400746c0
mov rcx, qword [r12 + 0x38]
test qword [rcx + rax*8], rdx
je 0x1400746c0
cmp qword [r12 + 0x50], 0
je 0x140074726
mov rcx, qword [r12 + 0x48]
xor r8d, r8d
test qword [rcx + rax*8], rdx
setne r8b
shl r8d, 5
or r8d, 1
jmp 0x14007472c
mov r8d, 1
mov r9, qword [r12 + 0x58]
mov ecx, r8d
or ecx, 2
test qword [r9 + rax*8], rdx
cmove ecx, r8d
cmp qword [r12 + 0x80], 0
je 0x14007469b
mov r8, qword [r12 + 0x78]
mov r9d, ecx
or r9d, 0x10
test qword [r8 + rax*8], rdx
cmovne ecx, r9d
jmp 0x14007469b
cmp byte [rbp + 0x87], 0
je 0x1400748f9
mov rax, qword [r12 + 0x28]
mov rdx, qword [rbp + 0x50]
mov qword [rax + rdx*8], 0xffffffffffffffff
mov rax, qword [r12 + 0x58]
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x68]
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x38]
test rax, rax
je 0x1400747ba
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x48]
test rax, rax
je 0x1400747cc
mov qword [rax + rdx*8], 0
mov rax, rdx
or rax, 1
mov rcx, qword [r12 + 0x28]
mov qword [rcx + rax*8], 0xffffffffffffffff
mov rcx, qword [r12 + 0x58]
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x68]
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x38]
test rcx, rcx
je 0x14007480c
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x48]
test rcx, rcx
je 0x14007481e
mov qword [rcx + rax*8], 0
mov rax, rdx
or rax, 2
mov rcx, qword [r12 + 0x28]
mov qword [rcx + rax*8], 0xffffffffffffffff
mov rcx, qword [r12 + 0x58]
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x68]
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x38]
test rcx, rcx
je 0x14007485e
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x48]
test rcx, rcx
je 0x140074870
mov qword [rcx + rax*8], 0
or rdx, 3
mov rax, qword [r12 + 0x28]
mov qword [rax + rdx*8], 0xffffffffffffffff
mov rax, qword [r12 + 0x58]
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x68]
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x38]
test rax, rax
je 0x1400748ad
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x48]
test rax, rax
je 0x1400748bf
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0xa8]
mov byte [rax + r13], reloc.WS2_32.dll_recv
mov rax, qword [r12 + 0xb8]
mov ecx, dword [r12 + 0x100]
mov dword [rax + r13*4], ecx
mov qword [r12 + 0x100], r13
inc qword [r12 + 0xa0]
inc qword [rbp + 8]
jmp 0x14007449c
mov rcx, r12
mov rdx, r13
lea r8, [rbp - 0x18]
call fcn.140077c80
mov rax, qword [r12 + 0xb8]
movzx ecx, byte [rbp + 0x70]
mov edx, dword [r12 + rcx*4 + 0xc0]
mov dword [rax + r13*4], edx
mov dword [r12 + rcx*4 + 0xc0], r13d
jmp 0x14007449c
xor eax, eax
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rbp - 0x28], rax
mov r15, qword [rbp + 0x78]
mov r12, qword [rbp - 0x28]
sub dword [r15 + 0x144], r12d
mov rax, qword [rbp + 8]
sub dword [r15 + 0x140], eax
mov eax, dword [0x1400fe130]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x298], 0
cmp byte [r15 + 0xa0], 0
je 0x140074a2e
mov byte [r15 + 0xa0], 0
mov r14, qword [r15 + 0xa8]
mov rbx, qword [r15 + 0xb0]
test rbx, rbx
je 0x140074aac
xor esi, esi
nop dword [rax]
mov rax, qword [r14 + rsi*8]
mov rcx, qword [rax + 0x98]
cmp rcx, qword [rax + 0xa0]
je 0x1400749bf
inc rsi
cmp rbx, rsi
jne 0x1400749a0
mov rsi, rbx
lea rax, [rsi + 1]
cmp rax, rbx
jb 0x1400749ec
test rsi, rsi
jne 0x140074abc
jmp 0x140074ad4
inc rax
cmp rax, rbx
jae 0x140074ab0
mov rcx, qword [r15 + 0xa8]
mov rdx, qword [rcx + rax*8]
mov r8, qword [rdx + 0x98]
cmp r8, qword [rdx + 0xa0]
je 0x1400749e0
mov r8, qword [rcx + rsi*8]
mov qword [rcx + rsi*8], rdx
mov qword [rcx + rax*8], r8
mov rcx, qword [r15 + 0xa8]
mov rcx, qword [rcx + rsi*8]
mov qword [rcx + 0x10], rsi
inc rsi
mov rbx, qword [r15 + 0xb0]
jmp 0x1400749e0
mov esi, dword [r15 + 0x148]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0x10], 0x40
lea rcx, [rbp + 0x10]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
test eax, eax
je 0x140074b29
shl rsi, 0xc
mov rax, qword [rbp + 0x18]
shr rax, 2
movabs rcx, 0x28f5c28f5c28f5c3
mul rcx
shr rdx, 2
mov eax, dword [rbp + 0x14]
cmp eax, 0x5f
jb 0x140074a8e
cmp rdx, rsi
jb 0x14007497b
cmp eax, 0x59
jbe 0x140074b29
add rdx, rdx
lea rax, [rdx + rdx*4]
cmp rax, rsi
jb 0x14007497b
jmp 0x140074b29
xor ebx, ebx
jmp 0x140074ad4
mov r14, qword [r15 + 0xa8]
test rsi, rsi
je 0x140074ad4
mov rax, qword [r14]
mov rax, qword [rax]
mov qword [r15 + 0xb8], rax
mov rax, qword [r14 + rsi*8 - 8]
mov rax, qword [rax + 8]
jmp 0x140074ae3
mov qword [r15 + 0xb8], 0
xor esi, esi
xor eax, eax
mov qword [r15 + 0xc0], rax
mov qword [r15 + 0xb0], rsi
cmp rbx, rsi
je 0x140074b30
nop word cs:[rax + rax]
mov rdi, qword [r14 + rsi*8]
mov eax, dword [rdi + 0x98]
sub dword [r15 + 0x148], eax
mov rcx, rdi
call fcn.1400763e0
mov rcx, rdi
call fcn.140097584
inc rsi
cmp rbx, rsi
jne 0x140074b00
mov rsi, qword [r15 + 0xb0]
add r12, qword [rbp + 8]
xorps xmm0, xmm0
movups xmmword [r15 + 0x128], xmm0
movups xmmword [r15 + 0x118], xmm0
movups xmmword [r15 + 0x108], xmm0
movups xmmword [r15 + 0xf8], xmm0
movups xmmword [r15 + 0xe8], xmm0
movups xmmword [r15 + 0xd8], xmm0
movups xmmword [r15 + 0xc8], xmm0
xor eax, eax
jmp 0x140074b94
xor r8d, r8d
mov qword [r15 + rax*8 + 0x150], r8
inc rax
cmp rax, 0xe
je 0x140074bd9
test rsi, rsi
je 0x140074b80
mov rcx, qword [r15 + 0xa8]
xor edx, edx
jmp 0x140074bb8
inc rdx
cmp rsi, rdx
je 0x140074b80
mov r8, qword [rcx + rdx*8]
cmp byte [r8 + 0xb0], 0
jne 0x140074bb0
mov r9d, dword [r8 + rax*4 + 0xc0]
cmp qword [r8 + 0x98], r9
jbe 0x140074bb0
jmp 0x140074b83
call fcn.14005b5f0
mov qword [rbp + 0x68], rax
lea rdi, [rbp + 0x68]
mov rcx, rdi
mov rdx, qword [rbp - 0x30]
call fcn.14004c690
add qword [0x1400ffa50], rax
mov rcx, rdi
mov rdx, qword [rbp - 0x20]
call fcn.14004c690
cmp rax, qword [0x1400ffa68]
jle 0x140074c15
mov qword [0x1400ffa68], rax
inc qword [0x1400ffa70]
mov eax, dword [r15 + 0x140]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400fc9fc]
mulss xmm0, xmm1
movss xmm2, dword [r15 + 0x138]
movss xmm3, dword [r15 + 0x13c]
movaps xmm4, xmm0
subss xmm4, xmm2
cvtss2sd xmm4, xmm4
movsd xmm5, qword [str.UUUUUU]
mulsd xmm4, xmm5
cvtss2sd xmm2, xmm2
addsd xmm2, xmm4
cvtsd2ss xmm2, xmm2
movaps xmm4, xmm2
cmpless xmm4, xmm0
andps xmm0, xmm4
andnps xmm4, xmm2
orps xmm4, xmm0
movss dword [r15 + 0x138], xmm4
mov eax, dword [r15 + 0x144]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm1
movaps xmm1, xmm0
subss xmm1, xmm3
cvtss2sd xmm1, xmm1
mulsd xmm1, xmm5
xorps xmm2, xmm2
cvtss2sd xmm2, xmm3
addsd xmm2, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
movaps xmm2, xmm1
cmpless xmm2, xmm0
andps xmm0, xmm2
andnps xmm2, xmm1
orps xmm2, xmm0
movss dword [r15 + 0x13c], xmm2
mov rax, r12
movaps xmm6, xmmword [rbp + 0xa0]
add rsp, 0x138
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp + 0x78]
movzx ecx, byte [rax + 0x248]
mov eax, 1
shl eax, cl
movsxd r13, eax
jmp 0x140074d1e
xor eax, eax
lock cmpxchg qword [r12], rsi
je 0x140073e50
mov rax, qword [r12]
test rax, rax
je 0x140074d10
xor edi, edi
jmp 0x140074d41
call sub.KERNEL32.dll_SwitchToThread
add rdi, r13
mov rax, qword [r12]
test rax, rax
je 0x140074d10
cmp rdi, 0xf
ja 0x140074d30
pause
jmp 0x140074d35
mov rax, qword [rbp + 0x78]
movzx ecx, byte [rax + 0x1c8]
mov eax, 1
shl eax, cl
movsxd r13, eax
jmp 0x140074d7e
xor eax, eax
lock cmpxchg qword [r12], rsi
je 0x140073f05
mov rax, qword [r12]
test rax, rax
je 0x140074d70
xor edi, edi
jmp 0x140074da1
call sub.KERNEL32.dll_SwitchToThread
add rdi, r13
mov rax, qword [r12]
test rax, rax
je 0x140074d70
cmp rdi, 0xf
ja 0x140074d90
pause
jmp 0x140074d95
lea r8, str.coreinternalgcimplconservativegc.d
mov edx, 0x27
mov r9d, 0xd49
xor ecx, ecx
call fcn.140045f10
mov qword [rsp + 0x20], 0x64
lea rdx, str.Error:_CreateEvent_failed.
lea r9, str.core_syncevent.d
mov ecx, 0x1a
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.14007ac50
lea rdx, [0x1400f7dd0]
lea rcx, [rbp + 0x98]
call fcn.1400469a0
ud2