Function at 0x1400500e0
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 [0x1400df040]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x178], 0
je 0x1400501f1
mov ebx, edx
mov qword [rbp + 0x68], 0
call fcn.140025260
mov qword [rbp - 0x20], rax
xor r14d, r14d
cmp dword [0x1400dcc78], 0
je 0x1400502e4
cmp byte [0x1400dcc41], 0
jne 0x1400502e4
cmp qword [r12 + 0x348], 0
setne r14b
jne 0x1400502e4
test bl, bl
jne 0x1400502e4
mov eax, dword [0x1400e0b2c]
mov dword [rbp + 0x60], eax
test eax, eax
jne 0x1400501fb
lea rax, [rbp + 0x60]
mov qword [rbp - 0x18], rax
lea rax, [0x140055310]
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 [0x1400e0750]
test rsi, rsi
je 0x1400501f9
mov rbx, qword [0x1400e0748]
dec rsi
xor r14d, r14d
lea rdi, [rbp + 0x10]
nop dword [rax]
mov rdx, qword [rbx + r14*8]
mov rcx, rdi
call fcn.140043620
test eax, eax
jne 0x1400501ec
lea rax, [r14 + 1]
cmp rsi, r14
mov r14, rax
jne 0x1400501d0
mov eax, dword [rbp + 0x60]
jmp 0x1400501fb
xor r12d, r12d
jmp 0x140051504
xor eax, eax
mov r14b, 1
cmp eax, 2
jl 0x1400502e4
mov edx, dword [0x1400dcc78]
lea ecx, [rax - 1]
cmp eax, edx
cmovae ecx, edx
mov dword [r12 + 0x340], ecx
mov edx, 4
call fcn.14007fb74
mov qword [r12 + 0x348], rax
test rax, rax
je 0x1400515db
cmp qword [r12 + 0x350], 0
jne 0x140050263
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 0x1400515f4
cmp qword [r12 + 0x358], 0
jne 0x14005028e
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 0x1400515f4
cmp dword [r12 + 0x340], 0
je 0x1400502e4
lea rdi, [0x140055400]
lea rsi, [fcn.1400529a0]
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.1400485d0
mov dword [r15 + rbx*4], eax
inc ebx
cmp ebx, dword [r12 + 0x340]
jb 0x1400502b0
mov esi, 1
xor eax, eax
lock cmpxchg qword [r12 + 0x40], rsi
jne 0x140050481
xor eax, eax
lock cmpxchg qword [r12], rsi
jne 0x1400504dc
call fcn.140048400
mov rsi, qword [r12 + 0xb0]
test rsi, rsi
je 0x14005037f
mov rdi, qword [r12 + 0xa8]
xor ebx, ebx
jmp 0x140050355
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.14008f8f0
inc rbx
cmp rsi, rbx
je 0x14005037f
mov rax, qword [rdi + rbx*8]
cmp byte [rax + 0xb0], 0
je 0x140050330
mov rcx, qword [rax + 0x18]
mov r8, qword [rax + 0x20]
add r8, 0x3f
shr r8, 3
and r8, 0xfffffffffffffff8
xor edx, edx
call fcn.14008ff90
jmp 0x14005034d
call fcn.140025260
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp - 0x20]
call fcn.1400252b0
add qword [0x1400e0898], rax
mov rbx, qword [rbp + 0x68]
test r14b, r14b
mov qword [rbp + 0x70], r12
je 0x14005053b
mov qword [r12 + 0x300], 0
mov qword [rbp + 0x60], r12
mov qword [rbp - 0x18], r12
lea rax, [0x140054300]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14004a600]
mov qword [rbp + 0x18], rax
lea rdx, [0x14004a4a0]
lea rcx, [rbp + 0x10]
call fcn.1400480d0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x1400543a0]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.14006a620
mov qword [rbp + 0x10], rsi
lea rax, [0x1400543f0]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x90]
lea rdx, [rbp + 0x10]
call fcn.14006a620
mov r14, qword [r12 + 0x300]
test r14, r14
je 0x140050855
mov rdi, qword [r12 + 0x308]
mov ecx, dword [r12 + 0x340]
inc ecx
mov rax, r14
shr rax, 0x20
je 0x14005063f
mov rax, r14
xor edx, edx
div rcx
mov r15, rax
jmp 0x140050649
movzx ecx, byte [r12 + 0x48]
mov eax, 1
shl eax, cl
movsxd rdi, eax
jmp 0x1400504af
xor eax, eax
lock cmpxchg qword [r12 + 0x40], rsi
je 0x1400502f8
mov rax, qword [r12 + 0x40]
test rax, rax
je 0x1400504a0
xor ebx, ebx
jmp 0x1400504d2
call sub.KERNEL32.dll_SwitchToThread
add rbx, rdi
mov rax, qword [r12 + 0x40]
test rax, rax
je 0x1400504a0
cmp rbx, 0xf
ja 0x1400504c0
pause
jmp 0x1400504c5
movzx ecx, byte [r12 + 8]
mov eax, 1
shl eax, cl
movsxd rsi, eax
mov edi, 1
jmp 0x14005050e
xor eax, eax
lock cmpxchg qword [r12], rdi
je 0x140050306
mov rax, qword [r12]
test rax, rax
je 0x140050500
xor ebx, ebx
jmp 0x140050531
call sub.KERNEL32.dll_SwitchToThread
add rbx, rsi
mov rax, qword [r12]
test rax, rax
je 0x140050500
cmp rbx, 0xf
ja 0x140050520
pause
jmp 0x140050525
cmp byte [0x1400e08d8], 1
jne 0x1400505b2
mov qword [rbp + 0x60], r12
mov qword [rbp - 0x18], r12
lea rax, [0x1400560d0]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14004a600]
mov qword [rbp + 0x18], rax
lea rdx, [0x14004a4a0]
lea rcx, [rbp + 0x10]
call fcn.1400480d0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x1400566f0]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.14006a620
mov qword [rbp + 0x10], rsi
lea rax, [0x140056740]
jmp 0x14005061e
mov qword [rbp + 0x60], r12
mov qword [rbp - 0x18], r12
lea rax, [0x140056780]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x10], rax
lea rax, [0x14004a600]
mov qword [rbp + 0x18], rax
lea rdx, [0x14004a4a0]
lea rcx, [rbp + 0x10]
call fcn.1400480d0
lea rsi, [rbp + 0x60]
mov qword [rbp + 0x10], rsi
lea rax, [0x140056c30]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x80]
lea rdx, [rbp + 0x10]
call fcn.14006a620
mov qword [rbp + 0x10], rsi
lea rax, [0x140056c70]
mov qword [rbp + 0x18], rax
lea r8, [0x140024c50]
mov rcx, qword [r12 + 0x90]
lea rdx, [rbp + 0x10]
call fcn.14006a620
jmp 0x140050855
mov eax, r14d
xor edx, edx
div ecx
mov r15d, eax
mov rsi, rdi
cmp r14, rcx
jb 0x1400507d0
mov qword [rbp + 0x78], rdi
cmp byte [0x1400e08d8], 1
jne 0x140050715
mov rcx, r12
add r12, 0x240
mov esi, 1
xor eax, eax
lock cmpxchg qword [rcx + 0x240], rsi
jne 0x140051522
mov rax, qword [rbp + 0x70]
cmp dword [rax + 0x340], 0
je 0x1400507bd
mov qword [rbp + 0x58], rbx
xor r13d, r13d
xorps xmm6, xmm6
mov rdi, qword [rbp + 0x78]
mov rbx, qword [rbp + 0x70]
jmp 0x1400506f4
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 0x1400507b3
mov rax, qword [rbx + 0x280]
cmp rax, qword [rbx + 0x290]
jne 0x1400506b0
mov rcx, r12
call fcn.140055f90
mov rax, qword [rbx + 0x280]
jmp 0x1400506b0
mov rcx, r12
add r12, 0x1c0
mov esi, 1
xor eax, eax
lock cmpxchg qword [rcx + 0x1c0], rsi
jne 0x14005157b
mov rax, qword [rbp + 0x70]
cmp dword [rax + 0x340], 0
je 0x1400507bd
mov qword [rbp + 0x58], rbx
xor r13d, r13d
mov rdi, qword [rbp + 0x78]
mov rbx, qword [rbp + 0x70]
jmp 0x140050792
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 0x1400507b3
mov rax, qword [rbx + 0x200]
cmp rax, qword [rbx + 0x210]
jne 0x140050760
mov rcx, r12
call fcn.140055ef0
mov rax, qword [rbx + 0x200]
jmp 0x140050760
mov rbx, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x78]
jmp 0x1400507c4
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 0x1400507eb
call sub.KERNEL32.dll_SetEvent
lea rax, [rdi + r14*8]
cmp byte [0x1400e08d8], 1
jne 0x14005081d
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.1400546f0
jmp 0x140050831
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x10]
mov rcx, r12
call fcn.140054dc0
lock dec dword [r12 + 0x360]
cmp byte [0x1400e08d8], 1
jne 0x14005084d
mov rcx, r12
call fcn.140055480
jmp 0x140050855
mov rcx, r12
call fcn.140055640
mov rsi, qword [0x1400e0860]
test rsi, rsi
je 0x1400508a5
lea rdi, [0x1400545e0]
jmp 0x14005087c
mov rsi, qword [rsi + 0xb8]
test rsi, rsi
je 0x14005089c
mov rax, qword [rsi + 0xa0]
test rax, rax
je 0x140050870
mov rax, qword [rax + 8]
mov rcx, qword [rax]
mov rdx, r12
mov r8, rdi
call fcn.140043e20
jmp 0x140050870
mov rdi, qword [0x1400e0860]
jmp 0x1400508a7
xor edi, edi
mov eax, dword [0x1400e0868]
dec eax
cmp byte [0x1400e0850], 0
mov dword [0x1400e0868], eax
jne 0x1400508e8
test rdi, rdi
je 0x1400508e8
test eax, eax
jne 0x140050910
mov eax, dword [0x1400df040]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x178]
call fcn.1400484c0
jmp 0x140050910
test eax, eax
jne 0x140050904
jmp 0x1400508ff
mov rcx, rdi
call fcn.1400484c0
mov rdi, qword [rdi + 0xb8]
test rdi, rdi
jne 0x1400508f0
lea rcx, [0x1400e0770]
call fcn.140090a80
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 [0x1400e08a0], rax
mov rcx, rdi
mov rdx, qword [rbp - 0x20]
call fcn.1400252b0
cmp rax, qword [0x1400e08b8]
jle 0x14005095c
mov qword [0x1400e08b8], rax
add qword [0x1400e08b0], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp - 0x30], rax
mov eax, dword [0x1400df040]
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 0x14005115d
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 0x1400509d1
mov r15, qword [rbp - 0x38]
inc r15
cmp r15, qword [rbp - 0x48]
je 0x140051169
mov rax, qword [rbp - 0x40]
mov r12, qword [rax + r15*8]
cmp byte [r12 + 0xb0], 0
je 0x140050c20
cmp qword [r12 + 0x98], 0
je 0x1400509c4
xor r13d, r13d
xor esi, esi
jmp 0x140050a14
add rsi, r14
add r13, r14
cmp r13, qword [r12 + 0x98]
jae 0x140050be0
mov rax, qword [r12 + 0xa8]
mov rdx, qword [r12 + 0xb8]
mov r14d, dword [rdx + r13*4]
cmp byte [rax + r13], 0x10
je 0x140050a00
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 0x140050a5d
test rsi, rsi
jne 0x140050ba4
xor esi, esi
jmp 0x140050a03
cmp qword [r12 + 0x40], 0
mov rbx, rax
not rbx
je 0x140050b1f
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 0x140050b1f
cmp qword [r12 + 0x40], 0
je 0x140050bc9
mov r8, qword [r12 + 0x38]
xor edx, edx
test qword [r8 + rdi*8], rax
setne dl
cmp qword [r12 + 0x50], 0
je 0x140050acc
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 0x140050aff
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.140044eb0
cmp qword [r12 + 0x50], 0
je 0x140050b30
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 0x140050b56
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.14008ff90
cmp r13, qword [r12 + 0x100]
jae 0x140050b7d
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 0x140050a03
mov rax, r13
sub rax, rsi
mov dword [rdx + rax*4], esi
cmp rsi, 1
je 0x140050a59
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4 - 4], esi
jmp 0x140050a59
xor edx, edx
cmp qword [r12 + 0x50], 0
jne 0x140050ab8
jmp 0x140050acc
test rsi, rsi
je 0x1400509c4
mov rax, r13
sub rax, rsi
mov rcx, qword [r12 + 0xb8]
mov dword [rcx + rax*4], esi
cmp rsi, 1
je 0x1400509c4
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4 - 4], esi
jmp 0x1400509c4
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 0x1400509c4
mov qword [rbp - 0x38], r15
xor r13d, r13d
jmp 0x140050cdd
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 0x1400509c0
mov rax, qword [r12 + 0xa8]
movzx eax, byte [rax + r13]
cmp rax, 0xd
ja 0x140050ccc
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 0x140050e00
cmp rbx, 0xffffffffffffffff
jne 0x140050e00
cmp r14, 0xffffffffffffffff
jne 0x140050e00
cmp r15, 0xffffffffffffffff
jne 0x140050e00
mov r11, qword [rbp + 0x78]
mov r8d, r11d
shl r8d, 5
lea r10, [0x1400bf8d8]
xor r9, qword [r8 + r10]
cmp r9, 0xffffffffffffffff
jne 0x140050cb0
mov r8d, r11d
shl r8d, 5
xor rdx, qword [r8 + r10 + 8]
cmp rdx, 0xffffffffffffffff
jne 0x140050cb0
mov edx, r11d
shl edx, 5
xor rcx, qword [rdx + r10 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x140050cb0
mov ecx, r11d
shl ecx, 5
xor rax, qword [rcx + r10 + 0x18]
cmp rax, 0xffffffffffffffff
jne 0x140050cb0
mov rax, qword [r12 + 0xb8]
mov dword [rax + r13*4], 0xffffffff
jmp 0x140050ccc
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 0x140050fa0
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8], r8
jne 0x140050e74
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 8], r10
jne 0x140050e74
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 0x10], r11
jne 0x140050e74
mov rcx, qword [rbp + 0x50]
test qword [rax + rcx*8 + 0x18], rsi
je 0x140050fa0
lea rax, [0x1400bd838]
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 0x140050fa0
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 0x140050eff
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.140044eb0
mov r9, qword [rbp - 0x50]
nop
add r14, rdi
add r15, rbx
cmp r14, rsi
jae 0x140050fa0
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 0x140050ef0
cmp qword [r12 + 0x40], 0
je 0x140050ef0
mov rcx, qword [r12 + 0x38]
test qword [rcx + rax*8], rdx
je 0x140050ef0
cmp qword [r12 + 0x50], 0
je 0x140050f56
mov rcx, qword [r12 + 0x48]
xor r8d, r8d
test qword [rcx + rax*8], rdx
setne r8b
shl r8d, 5
or r8d, 1
jmp 0x140050f5c
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 0x140050ecb
mov r8, qword [r12 + 0x78]
mov r9d, ecx
or r9d, 0x10
test qword [r8 + rax*8], rdx
cmovne ecx, r9d
jmp 0x140050ecb
cmp byte [rbp + 0x87], 0
je 0x140051129
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 0x140050fea
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x48]
test rax, rax
je 0x140050ffc
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 0x14005103c
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x48]
test rcx, rcx
je 0x14005104e
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 0x14005108e
mov qword [rcx + rax*8], 0
mov rcx, qword [r12 + 0x48]
test rcx, rcx
je 0x1400510a0
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 0x1400510dd
mov qword [rax + rdx*8], 0
mov rax, qword [r12 + 0x48]
test rax, rax
je 0x1400510ef
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 0x140050ccc
mov rcx, r12
mov rdx, r13
lea r8, [rbp - 0x18]
call fcn.140054490
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 0x140050ccc
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 [0x1400df040]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x188], 0
cmp byte [r15 + 0xa0], 0
je 0x14005125e
mov byte [r15 + 0xa0], 0
mov r14, qword [r15 + 0xa8]
mov rbx, qword [r15 + 0xb0]
test rbx, rbx
je 0x1400512dc
xor esi, esi
nop dword [rax]
mov rax, qword [r14 + rsi*8]
mov rcx, qword [rax + 0x98]
cmp rcx, qword [rax + 0xa0]
je 0x1400511ef
inc rsi
cmp rbx, rsi
jne 0x1400511d0
mov rsi, rbx
lea rax, [rsi + 1]
cmp rax, rbx
jb 0x14005121c
test rsi, rsi
jne 0x1400512ec
jmp 0x140051304
inc rax
cmp rax, rbx
jae 0x1400512e0
mov rcx, qword [r15 + 0xa8]
mov rdx, qword [rcx + rax*8]
mov r8, qword [rdx + 0x98]
cmp r8, qword [rdx + 0xa0]
je 0x140051210
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 0x140051210
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 0x140051359
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 0x1400512be
cmp rdx, rsi
jb 0x1400511ab
cmp eax, 0x59
jbe 0x140051359
add rdx, rdx
lea rax, [rdx + rdx*4]
cmp rax, rsi
jb 0x1400511ab
jmp 0x140051359
xor ebx, ebx
jmp 0x140051304
mov r14, qword [r15 + 0xa8]
test rsi, rsi
je 0x140051304
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 0x140051313
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 0x140051360
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.140052c00
mov rcx, rdi
call fcn.140080354
inc rsi
cmp rbx, rsi
jne 0x140051330
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 0x1400513c4
xor r8d, r8d
mov qword [r15 + rax*8 + 0x150], r8
inc rax
cmp rax, 0xe
je 0x140051409
test rsi, rsi
je 0x1400513b0
mov rcx, qword [r15 + 0xa8]
xor edx, edx
jmp 0x1400513e8
inc rdx
cmp rsi, rdx
je 0x1400513b0
mov r8, qword [rcx + rdx*8]
cmp byte [r8 + 0xb0], 0
jne 0x1400513e0
mov r9d, dword [r8 + rax*4 + 0xc0]
cmp qword [r8 + 0x98], r9
jbe 0x1400513e0
jmp 0x1400513b3
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 [0x1400e08a8], rax
mov rcx, rdi
mov rdx, qword [rbp - 0x20]
call fcn.1400252b0
cmp rax, qword [0x1400e08c0]
jle 0x140051445
mov qword [0x1400e08c0], rax
inc qword [0x1400e08c8]
mov eax, dword [r15 + 0x140]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400dcc7c]
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 0x14005154e
xor eax, eax
lock cmpxchg qword [r12], rsi
je 0x140050686
mov rax, qword [r12]
test rax, rax
je 0x140051540
xor edi, edi
jmp 0x140051571
call sub.KERNEL32.dll_SwitchToThread
add rdi, r13
mov rax, qword [r12]
test rax, rax
je 0x140051540
cmp rdi, 0xf
ja 0x140051560
pause
jmp 0x140051565
mov rax, qword [rbp + 0x70]
movzx ecx, byte [rax + 0x1c8]
mov eax, 1
shl eax, cl
movsxd r13, eax
jmp 0x1400515ae
xor eax, eax
lock cmpxchg qword [r12], rsi
je 0x140050735
mov rax, qword [r12]
test rax, rax
je 0x1400515a0
xor edi, edi
jmp 0x1400515d1
call sub.KERNEL32.dll_SwitchToThread
add rdi, r13
mov rax, qword [r12]
test rax, rax
je 0x1400515a0
cmp rdi, 0xf
ja 0x1400515c0
pause
jmp 0x1400515c5
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.140048b30
lea rdx, [0x1400d8330]
lea rcx, [rbp + 0x98]
call fcn.140028030
ud2