Function at 0x1400500f0
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 [0x1400e0040]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x178], 0
je 0x140050201
mov ebx, edx
mov qword [rbp + 0x68], 0
call fcn.140025260
mov qword [rbp - 0x20], rax
xor r14d, r14d
cmp dword [0x1400ddc78], 0
je 0x1400502f4
cmp byte [0x1400ddc41], 0
jne 0x1400502f4
cmp qword [r12 + 0x348], 0
setne r14b
jne 0x1400502f4
test bl, bl
jne 0x1400502f4
mov eax, dword [0x1400e1b2c]
mov dword [rbp + 0x60], eax
test eax, eax
jne 0x14005020b
lea rax, [rbp + 0x60]
mov qword [rbp - 0x18], rax
lea rax, [0x140055320]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x140024c50]
mov qword [rbp + 0x18], rax
mov rsi, qword [0x1400e1750]
test rsi, rsi
je 0x140050209
mov rbx, qword [0x1400e1748]
dec rsi
xor r14d, r14d
lea rdi, [rbp + 0x10]
nop dword [rax]
mov rdx, qword [rbx + r14*8]
mov rcx, rdi
call fcn.140043630
test eax, eax
jne 0x1400501fc
lea rax, [r14 + 1]
cmp rsi, r14
mov r14, rax
jne 0x1400501e0
mov eax, dword [rbp + 0x60]
jmp 0x14005020b
xor r12d, r12d
jmp 0x140051514
xor eax, eax
mov r14b, 1
cmp eax, 2
jl 0x1400502f4
mov edx, dword [0x1400ddc78]
lea ecx, [rax - 1]
cmp eax, edx
cmovae ecx, edx
mov dword [r12 + 0x340], ecx
mov edx, 4
call fcn.14007fca4
mov qword [r12 + 0x348], rax
test rax, rax
je 0x1400515eb
cmp qword [r12 + 0x350], 0
jne 0x140050273
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 0x140051604
cmp qword [r12 + 0x358], 0
jne 0x14005029e
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 0x140051604
cmp dword [r12 + 0x340], 0
je 0x1400502f4
lea rdi, [0x140055410]
lea rsi, [fcn.1400529b0]
xor ebx, ebx
nop dword [rax]
movsxd rbx, ebx
mov r15, qword [r12 + 0x348]
mov qword [rsp + 0x20], rsi
mov rcx, r12
mov rdx, rdi
mov r8d, 0x4000
mov r9, r12
call fcn.1400485e0
mov dword [r15 + rbx*4], eax
inc ebx
cmp ebx, dword [r12 + 0x340]
jb 0x1400502c0
mov esi, 1
xor eax, eax
lock cmpxchg qword [r12 + 0x40], rsi
jne 0x140050491
xor eax, eax
lock cmpxchg qword [r12], rsi
jne 0x1400504ec
call fcn.140048410
mov rsi, qword [r12 + 0xb0]
test rsi, rsi
je 0x14005038f
mov rdi, qword [r12 + 0xa8]
xor ebx, ebx
jmp 0x140050365
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.14008fa20
inc rbx
cmp rsi, rbx
je 0x14005038f
mov rax, qword [rdi + rbx*8]
cmp byte [rax + 0xb0], 0
je 0x140050340
mov rcx, qword [rax + 0x18]
mov r8, qword [rax + 0x20]
add r8, 0x3f
shr r8, 3
and r8, 0xfffffffffffffff8
xor edx, edx
call fcn.1400900c0
jmp 0x14005035d
call fcn.140025260
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp - 0x20]
call fcn.1400252b0
add qword [0x1400e1898], rax
mov rbx, qword [rbp + 0x68]
test r14b, r14b
mov qword [rbp + 0x70], r12
je 0x14005054b
mov qword [r12 + 0x300], 0
mov qword [rbp + 0x60], r12
mov qword [rbp - 0x18], r12
lea rax, [0x140054310]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14004a610]
mov qword [rbp + 0x18], rax
lea rdx, [0x14004a4b0]
lea rcx, [rbp + 0x10]
call fcn.1400480e0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x1400543b0]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.14006a630
mov qword [rbp + 0x10], rsi
lea rax, [0x140054400]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x90]
lea rdx, [rbp + 0x10]
call fcn.14006a630
mov r14, qword [r12 + 0x300]
test r14, r14
je 0x140050865
mov rdi, qword [r12 + 0x308]
mov ecx, dword [r12 + 0x340]
inc ecx
mov rax, r14
shr rax, 0x20
je 0x14005064f
mov rax, r14
xor edx, edx
div rcx
mov r15, rax
jmp 0x140050659
movzx ecx, byte [r12 + 0x48]
mov eax, 1
shl eax, cl
movsxd rdi, eax
jmp 0x1400504bf
xor eax, eax
lock cmpxchg qword [r12 + 0x40], rsi
je 0x140050308
mov rax, qword [r12 + 0x40]
test rax, rax
je 0x1400504b0
xor ebx, ebx
jmp 0x1400504e2
call sub.KERNEL32.dll_SwitchToThread
add rbx, rdi
mov rax, qword [r12 + 0x40]
test rax, rax
je 0x1400504b0
cmp rbx, 0xf
ja 0x1400504d0
pause
jmp 0x1400504d5
movzx ecx, byte [r12 + 8]
mov eax, 1
shl eax, cl
movsxd rsi, eax
mov edi, 1
jmp 0x14005051e
xor eax, eax
lock cmpxchg qword [r12], rdi
je 0x140050316
mov rax, qword [r12]
test rax, rax
je 0x140050510
xor ebx, ebx
jmp 0x140050541
call sub.KERNEL32.dll_SwitchToThread
add rbx, rsi
mov rax, qword [r12]
test rax, rax
je 0x140050510
cmp rbx, 0xf
ja 0x140050530
pause
jmp 0x140050535
cmp byte [0x1400e18d8], 1
jne 0x1400505c2
mov qword [rbp + 0x60], r12
mov qword [rbp - 0x18], r12
lea rax, [0x1400560e0]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14004a610]
mov qword [rbp + 0x18], rax
lea rdx, [0x14004a4b0]
lea rcx, [rbp + 0x10]
call fcn.1400480e0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x140056700]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.14006a630
mov qword [rbp + 0x10], rsi
lea rax, [0x140056750]
jmp 0x14005062e
mov qword [rbp + 0x60], r12
mov qword [rbp - 0x18], r12
lea rax, [0x140056790]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14004a610]
mov qword [rbp + 0x18], rax
lea rdx, [0x14004a4b0]
lea rcx, [rbp + 0x10]
call fcn.1400480e0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x140056c40]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.14006a630
mov qword [rbp + 0x10], rsi
lea rax, [0x140056c80]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x90]
lea rdx, [rbp + 0x10]
call fcn.14006a630
jmp 0x140050865
mov eax, r14d
xor edx, edx
div ecx
mov r15d, eax
mov rsi, rdi
cmp r14, rcx
jb 0x1400507e0
mov qword [rbp + 0x78], rdi
cmp byte [0x1400e18d8], 1
jne 0x140050725
mov rcx, r12
add r12, 0x240
mov esi, 1
xor eax, eax
lock cmpxchg qword [rcx + 0x240], rsi
jne 0x140051532
mov rax, qword [rbp + 0x70]
cmp dword [rax + 0x340], 0
je 0x1400507cd
mov qword [rbp + 0x58], rbx
xor r13d, r13d
xorps xmm6, xmm6
mov rdi, qword [rbp + 0x78]
mov rbx, qword [rbp + 0x70]
jmp 0x140050704
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 0x1400507c3
mov rax, qword [rbx + 0x280]
cmp rax, qword [rbx + 0x290]
jne 0x1400506c0
mov rcx, r12
call fcn.140055fa0
mov rax, qword [rbx + 0x280]
jmp 0x1400506c0
mov rcx, r12
add r12, 0x1c0
mov esi, 1
xor eax, eax
lock cmpxchg qword [rcx + 0x1c0], rsi
jne 0x14005158b
mov rax, qword [rbp + 0x70]
cmp dword [rax + 0x340], 0
je 0x1400507cd
mov qword [rbp + 0x58], rbx
xor r13d, r13d
mov rdi, qword [rbp + 0x78]
mov rbx, qword [rbp + 0x70]
jmp 0x1400507a2
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 0x1400507c3
mov rax, qword [rbx + 0x200]
cmp rax, qword [rbx + 0x210]
jne 0x140050770
mov rcx, r12
call fcn.140055f00
mov rax, qword [rbx + 0x200]
jmp 0x140050770
mov rbx, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x78]
jmp 0x1400507d4
mov rdi, qword [rbp + 0x78]
mov rsi, rdi
mov qword [r12], 0
mov r12, qword [rbp + 0x70]
lock inc dword [r12 + 0x360]
mov rcx, qword [r12 + 0x350]
test rcx, rcx
je 0x1400507fb
call sub.KERNEL32.dll_SetEvent
lea rax, [rdi + r14*8]
cmp byte [0x1400e18d8], 1
jne 0x14005082d
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.140054700
jmp 0x140050841
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x10]
mov rcx, r12
call fcn.140054dd0
lock dec dword [r12 + 0x360]
cmp byte [0x1400e18d8], 1
jne 0x14005085d
mov rcx, r12
call fcn.140055490
jmp 0x140050865
mov rcx, r12
call fcn.140055650
mov rsi, qword [0x1400e1860]
test rsi, rsi
je 0x1400508b5
lea rdi, [0x1400545f0]
jmp 0x14005088c
mov rsi, qword [rsi + 0xb8]
test rsi, rsi
je 0x1400508ac
mov rax, qword [rsi + 0xa0]
test rax, rax
je 0x140050880
mov rax, qword [rax + 8]
mov rcx, qword [rax]
mov rdx, r12
mov r8, rdi
call fcn.140043e30
jmp 0x140050880
mov rdi, qword [0x1400e1860]
jmp 0x1400508b7
xor edi, edi
mov eax, dword [0x1400e1868]
dec eax
cmp byte [0x1400e1850], 0
mov dword [0x1400e1868], eax
jne 0x1400508f8
test rdi, rdi
je 0x1400508f8
test eax, eax
jne 0x140050920
mov eax, dword [0x1400e0040]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x178]
call fcn.1400484d0
jmp 0x140050920
test eax, eax
jne 0x140050914
jmp 0x14005090f
mov rcx, rdi
call fcn.1400484d0
mov rdi, qword [rdi + 0xb8]
test rdi, rdi
jne 0x140050900
lea rcx, [0x1400e1770]
call fcn.140090bb0
mov qword [r12 + 0x40], 0
mov qword [r12], 0
call fcn.140025260
mov qword [rbp + 0x68], rax
lea rdi, [rbp + 0x68]
mov rcx, rdi
mov rdx, rbx
call fcn.1400252b0
add qword [0x1400e18a0], rax
mov rcx, rdi
mov rdx, qword [rbp - 0x20]
call fcn.1400252b0
cmp rax, qword [0x1400e18b8]
jle 0x14005096c
mov qword [0x1400e18b8], rax
add qword [0x1400e18b0], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp - 0x30], rax
mov eax, dword [0x1400e0040]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x188], 1
mov rax, qword [r12 + 0xb0]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x14005116d
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 0x1400509e1
mov r15, qword [rbp - 0x38]
inc r15
cmp r15, qword [rbp - 0x48]
je 0x140051179
mov rax, qword [rbp - 0x40]
mov r12, qword [rax + r15*8]
cmp byte [r12 + 0xb0], 0
je 0x140050c30
cmp qword [r12 + 0x98], 0
je 0x1400509d4
xor r13d, r13d
xor esi, esi
jmp 0x140050a24
add rsi, r14
add r13, r14
cmp r13, qword [r12 + 0x98]
jae 0x140050bf0
mov rax, qword [r12 + 0xa8]
mov rdx, qword [r12 + 0xb8]
mov r14d, dword [rdx + r13*4]
cmp byte [rax + r13], 0x10
je 0x140050a10
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 0x140050a6d
test rsi, rsi
jne 0x140050bb4
xor esi, esi
jmp 0x140050a13
cmp qword [r12 + 0x40], 0
mov rbx, rax
not rbx
je 0x140050b2f
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 0x140050b2f
cmp qword [r12 + 0x40], 0
je 0x140050bd9
mov r8, qword [r12 + 0x38]
xor edx, edx
test qword [r8 + rdi*8], rax
setne dl
cmp qword [r12 + 0x50], 0
je 0x140050adc
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 0x140050b0f
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.140044ec0
cmp qword [r12 + 0x50], 0
je 0x140050b40
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 0x140050b66
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.1400900c0
cmp r13, qword [r12 + 0x100]
jae 0x140050b8d
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 0x140050a13
mov rax, r13
sub rax, rsi
mov dword [rdx + rax*4], esi
cmp rsi, 1
je 0x140050a69
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4 - 4], esi
jmp 0x140050a69
xor edx, edx
cmp qword [r12 + 0x50], 0
jne 0x140050ac8
jmp 0x140050adc
test rsi, rsi
je 0x1400509d4
mov rax, r13
sub rax, rsi
mov rcx, qword [r12 + 0xb8]
mov dword [rcx + rax*4], esi
cmp rsi, 1
je 0x1400509d4
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4 - 4], esi
jmp 0x1400509d4
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 0x1400509d4
mov qword [rbp - 0x38], r15
xor r13d, r13d
jmp 0x140050ced
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 0x1400509d0
mov rax, qword [r12 + 0xa8]
movzx eax, byte [rax + r13]
cmp rax, 0xd
ja 0x140050cdc
mov qword [rbp + 0x78], 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 0x140050e10
cmp rbx, 0xffffffffffffffff
jne 0x140050e10
cmp r14, 0xffffffffffffffff
jne 0x140050e10
cmp r15, 0xffffffffffffffff
jne 0x140050e10
mov r11, qword [rbp + 0x78]
mov r8d, r11d
shl r8d, 5
lea r10, [0x1400c08d8]
xor r9, qword [r8 + r10]
cmp r9, 0xffffffffffffffff
jne 0x140050cc0
mov r8d, r11d
shl r8d, 5
xor rdx, qword [r8 + r10 + 8]
cmp rdx, 0xffffffffffffffff
jne 0x140050cc0
mov edx, r11d
shl edx, 5
xor rcx, qword [rdx + r10 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x140050cc0
mov ecx, r11d
shl ecx, 5
xor rax, qword [rcx + r10 + 0x18]
cmp rax, 0xffffffffffffffff
jne 0x140050cc0
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4], 0xffffffff
jmp 0x140050cdc
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 0x140050fb0
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8], r8
jne 0x140050e84
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 8], r10
jne 0x140050e84
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 0x10], r11
jne 0x140050e84
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 0x18], rsi
je 0x140050fb0
lea rax, [0x1400be838]
mov rcx, qword [rbp + 0x78]
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 0x140050fb0
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 0x140050f0f
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.140044ec0
mov r9, qword [rbp - 0x50]
nop
add r14, rdi
add r15, rbx
cmp r14, rsi
jae 0x140050fb0
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 0x140050f00
cmp qword [r12 + 0x40], 0
je 0x140050f00
mov rcx, qword [r12 + 0x38]
test qword [rcx + rax*8], rdx
je 0x140050f00
cmp qword [r12 + 0x50], 0
je 0x140050f66
mov rcx, qword [r12 + 0x48]
xor r8d, r8d
test qword [rcx + rax*8], rdx
setne r8b
shl r8d, 5
or r8d, 1
jmp 0x140050f6c
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 0x140050edb
mov r8, qword [r12 + 0x78]
mov r9d, ecx
or r9d, 0x10
test qword [r8 + rax*8], rdx
cmovne ecx, r9d
jmp 0x140050edb
cmp byte [rbp + 0x87], 0
je 0x140051139
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 0x140050ffa
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x48]
test rax, rax
je 0x14005100c
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 0x14005104c
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x48]
test rcx, rcx
je 0x14005105e
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 0x14005109e
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x48]
test rcx, rcx
je 0x1400510b0
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 0x1400510ed
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x48]
test rax, rax
je 0x1400510ff
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 0x140050cdc
mov rcx, r12
mov rdx, r13
lea r8, [rbp - 0x18]
call fcn.1400544a0
mov rax, qword [r12 + 0xb8]
movzx ecx, byte [rbp + 0x78]
mov edx, dword [r12 + rcx*4 + 0xc0]
mov dword [rax + r13*4], edx
mov dword [r12 + rcx*4 + 0xc0], r13d
jmp 0x140050cdc
xor eax, eax
mov qword [rbp + 8], rax
xor eax, eax
mov qword [rbp - 0x28], rax
mov r15, qword [rbp + 0x70]
mov r12, qword [rbp - 0x28]
sub dword [r15 + 0x144], r12d
mov rax, qword [rbp + 8]
sub dword [r15 + 0x140], eax
mov eax, dword [0x1400e0040]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x188], 0
cmp byte [r15 + 0xa0], 0
je 0x14005126e
mov byte [r15 + 0xa0], 0
mov r14, qword [r15 + 0xa8]
mov rbx, qword [r15 + 0xb0]
test rbx, rbx
je 0x1400512ec
xor esi, esi
nop dword [rax]
mov rax, qword [r14 + rsi*8]
mov rcx, qword [rax + 0x98]
cmp rcx, qword [rax + 0xa0]
je 0x1400511ff
inc rsi
cmp rbx, rsi
jne 0x1400511e0
mov rsi, rbx
lea rax, [rsi + 1]
cmp rax, rbx
jb 0x14005122c
test rsi, rsi
jne 0x1400512fc
jmp 0x140051314
inc rax
cmp rax, rbx
jae 0x1400512f0
mov rcx, qword [r15 + 0xa8]
mov rdx, qword [rcx + rax*8]
mov r8, qword [rdx + 0x98]
cmp r8, qword [rdx + 0xa0]
je 0x140051220
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 0x140051220
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 0x140051369
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 0x1400512ce
cmp rdx, rsi
jb 0x1400511bb
cmp eax, 0x59
jbe 0x140051369
add rdx, rdx
lea rax, [rdx + rdx*4]
cmp rax, rsi
jb 0x1400511bb
jmp 0x140051369
xor ebx, ebx
jmp 0x140051314
mov r14, qword [r15 + 0xa8]
test rsi, rsi
je 0x140051314
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 0x140051323
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 0x140051370
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.140052c10
mov rcx, rdi
call fcn.140080484
inc rsi
cmp rbx, rsi
jne 0x140051340
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 0x1400513d4
xor r8d, r8d
mov qword [r15 + rax*8 + 0x150], r8
inc rax
cmp rax, 0xe
je 0x140051419
test rsi, rsi
je 0x1400513c0
mov rcx, qword [r15 + 0xa8]
xor edx, edx
jmp 0x1400513f8
inc rdx
cmp rsi, rdx
je 0x1400513c0
mov r8, qword [rcx + rdx*8]
cmp byte [r8 + 0xb0], 0
jne 0x1400513f0
mov r9d, dword [r8 + rax*4 + 0xc0]
cmp qword [r8 + 0x98], r9
jbe 0x1400513f0
jmp 0x1400513c3
call fcn.140025260
mov qword [rbp + 0x68], rax
lea rdi, [rbp + 0x68]
mov rcx, rdi
mov rdx, qword [rbp - 0x30]
call fcn.1400252b0
add qword [0x1400e18a8], rax
mov rcx, rdi
mov rdx, qword [rbp - 0x20]
call fcn.1400252b0
cmp rax, qword [0x1400e18c0]
jle 0x140051455
mov qword [0x1400e18c0], rax
inc qword [0x1400e18c8]
mov eax, dword [r15 + 0x140]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400ddc7c]
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 + 0x70]
movzx ecx, byte [rax + 0x248]
mov eax, 1
shl eax, cl
movsxd r13, eax
jmp 0x14005155e
xor eax, eax
lock cmpxchg qword [r12], rsi
je 0x140050696
mov rax, qword [r12]
test rax, rax
je 0x140051550
xor edi, edi
jmp 0x140051581
call sub.KERNEL32.dll_SwitchToThread
add rdi, r13
mov rax, qword [r12]
test rax, rax
je 0x140051550
cmp rdi, 0xf
ja 0x140051570
pause
jmp 0x140051575
mov rax, qword [rbp + 0x70]
movzx ecx, byte [rax + 0x1c8]
mov eax, 1
shl eax, cl
movsxd r13, eax
jmp 0x1400515be
xor eax, eax
lock cmpxchg qword [r12], rsi
je 0x140050745
mov rax, qword [r12]
test rax, rax
je 0x1400515b0
xor edi, edi
jmp 0x1400515e1
call sub.KERNEL32.dll_SwitchToThread
add rdi, r13
mov rax, qword [r12]
test rax, rax
je 0x1400515b0
cmp rdi, 0xf
ja 0x1400515d0
pause
jmp 0x1400515d5
lea r8, str.coreinternalgcimplconservativegc.d
mov edx, 0x27
mov r9d, 0xd2e
xor ecx, ecx
call fcn.1400275a0
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.140048b40
lea rdx, [0x1400d9330]
lea rcx, [rbp + 0x98]
call fcn.140028040
ud2