Function at 0x14012f750
Capabilities:
Receive data
Receive data on socket
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x40]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x254], 0
jle 0x14012f814
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x20], 0
je 0x14012f7d6
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0xf0]
add rax, qword [rcx + 0x20]
mov ecx, 8
imul rcx, rcx, 0
mov rax, qword [rax + rcx]
mov qword [rsp + 0x98], rax
jmp 0x14012f7e2
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, str.AsyncSocket__p__is_PAUSED
mov r8d, 4
mov edx, 0x40
mov rcx, qword [rsp + 0x98]
call fcn.1401589b0
nop
jmp 0x14013093e
cmp dword [rsp + 0xf8], 0
je 0x1401300ea
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x2a8], 0
je 0x14012f937
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x12dc], 0
jne 0x14012f937
mov r9d, 2
mov rax, qword [rsp + 0xf0]
mov r8d, dword [rax + 0x270]
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x268]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x54], eax
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x268]
mov rcx, qword [rsp + 0xf0]
call fcn.14012eef0
test eax, eax
jne 0x14012f925
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x2a8]
call fcn.14031b110
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x2a8], 0
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x208], 0
je 0x14012f925
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x208], 0
je 0x14012f925
mov rax, qword [rsp + 0xf0]
mov r8, qword [rax + 0x240]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x208]
nop
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x12dc], 1
mov dword [rsp + 0x64], 0x1c
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x2a8], 0
je 0x14012ff39
mov edx, reloc.WS2_32.dll_ntohs
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x2b8]
call fcn.1401bb2a0
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x78]
cmp eax, 1
jne 0x14012f9ed
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x2c8]
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x2c8]
mov rcx, qword [rcx]
mov rax, qword [rax + 0x10]
sub rax, rcx
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x2c8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rdx + rcx + 0x2d8]
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x54], eax
jmp 0x14012fa70
mov rax, qword [rsp + 0xf0]
add rax, 0xb0
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x2c8]
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x2c8]
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
mov rdx, qword [rsp + 0xf0]
mov rdx, qword [rdx + 0x2c8]
mov rdx, qword [rdx]
mov r8, qword [rsp + 0xf0]
lea rdx, [r8 + rdx + 0x2d8]
lea r8, [rsp + 0x64]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ecx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jle 0x14012fee0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x2c8]
movsxd rcx, dword [rsp + 0x54]
add rcx, qword [rax]
mov rax, rcx
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx + 0x2c8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x12d8], 0
jne 0x14012fbe4
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x2a8]
call fcn.14031b010
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x14012faf8
cmp dword [rsp + 0xa0], 1
je 0x14012fb26
jmp 0x14012fb97
call fcn.1401b9c60
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14012fb21
mov r8d, 0x1000
lea rdx, [0x14058a640]
mov ecx, dword [rsp + 0x40]
call fcn.1401b9a60
nop
jmp 0x14012faf8
jmp 0x14012fbe4
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x12d8], 1
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x2a4], 1
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x208], 0
je 0x14012fb87
mov rax, qword [rsp + 0xf0]
mov r8, qword [rax + 0x240]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x208]
nop
mov rcx, qword [rsp + 0xf0]
call fcn.14012f4d0
nop
jmp 0x14012fbe4
mov edx, dword [rsp + 0x40]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x2a8]
call fcn.14031b7c0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
jne 0x14012fbd6
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x2a0], 1
mov dword [rsp + 0x54], 0xffffffff
jmp 0x14012fbe4
mov rcx, qword [rsp + 0xf0]
call fcn.14012f4d0
nop
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x12d8], 1
jne 0x14012fee0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x2c8]
cmp qword [rax], 0
jbe 0x14012fee0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x260]
mov eax, dword [rax + 0x270]
sub eax, ecx
mov rcx, qword [rsp + 0xf0]
movsxd rcx, dword [rcx + 0x260]
mov rdx, qword [rsp + 0xf0]
add rcx, qword [rdx + 0x268]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x2a8]
call fcn.14031c790
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jle 0x14012fe9a
cmp dword [rsp + 0x50], 0
jle 0x14012fe95
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x260]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x260], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x260]
mov eax, dword [rax + 0x270]
sub eax, ecx
test eax, eax
jne 0x14012fe95
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x270]
add eax, 0x1000
mov rcx, qword [rsp + 0xf0]
cmp eax, dword [rcx + 0x28c]
jge 0x14012fd07
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x270]
add eax, 0x1000
mov dword [rsp + 0xa4], eax
jmp 0x14012fd57
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x28c], 0
jne 0x14012fd34
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x270]
add eax, 0x1000
mov dword [rsp + 0xa8], eax
jmp 0x14012fd49
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x28c]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0xa4]
mov dword [rax + 0x270], ecx
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x268]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 0x270]
mov dword [rsp + 0x20], 0x50f
lea r9, [0x1405568d0]
mov r8d, 1
mov rdx, rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x268]
call fcn.1403bab60
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x268], rcx
cmp qword [rsp + 0xb0], 0
jne 0x14012fe2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x50f
lea rdx, [0x140556920]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x50f
lea rdx, [0x140556970]
lea rcx, [0x1405569b8]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x268], rcx
je 0x14012fe95
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x230], 0
je 0x14012fe95
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rax + 0x268]
sub rax, rcx
mov r8, rax
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x240]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x230]
nop
jmp 0x14012fc12
cmp dword [rsp + 0x50], 0
jge 0x14012fee0
mov edx, dword [rsp + 0x50]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x2a8]
call fcn.14031b7c0
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x2d0]
cmp qword [rax], 0
jbe 0x14012fee0
mov rcx, qword [rsp + 0xf0]
call fcn.14012f4d0
nop
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x2c8]
cmp qword [rax], 0
jne 0x14012ff34
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x2b8]
call fcn.1401bb320
cdqe
mov rcx, rax
call fcn.14012a150
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x2c8]
mov qword [rax], 0
jmp 0x1401300ea
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x78]
cmp eax, 1
jne 0x14012ffa7
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x260]
mov eax, dword [rax + 0x270]
sub eax, ecx
mov rcx, qword [rsp + 0xf0]
movsxd rcx, dword [rcx + 0x260]
mov rdx, qword [rsp + 0xf0]
add rcx, qword [rdx + 0x268]
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x54], eax
jmp 0x14013001c
mov rax, qword [rsp + 0xf0]
add rax, 0xb0
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf0]
mov edx, dword [rdx + 0x260]
mov ecx, dword [rcx + 0x270]
sub ecx, edx
mov rdx, qword [rsp + 0xf0]
movsxd rdx, dword [rdx + 0x260]
mov r8, qword [rsp + 0xf0]
add rdx, qword [r8 + 0x268]
lea r8, [rsp + 0x64]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ecx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x78]
cmp eax, 1
je 0x1401300c3
mov rax, qword [rsp + 0xf0]
add rax, 0xb0
mov rcx, rax
call fcn.14014c820
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x20], 0
je 0x140130082
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0xf0]
add rax, qword [rcx + 0x20]
mov ecx, 8
imul rcx, rcx, 0
mov rax, qword [rax + rcx]
mov qword [rsp + 0xb8], rax
jmp 0x14013008e
mov qword [rsp + 0xb8], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, str.AsyncSocket__p__recv_returned__d
mov r8d, 4
mov edx, 0x40
mov rcx, qword [rsp + 0xb8]
call fcn.1401589b0
nop
cmp dword [rsp + 0x54], 0
jle 0x1401300ea
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x260]
add eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x260], eax
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x68], 0xffffffffffffffff
je 0x1401302cb
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x254], 0
jg 0x1401302cb
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x260]
cmp dword [rax + 0x25c], ecx
je 0x1401302cb
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x260], 0
je 0x1401302cb
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x200], 0
je 0x1401302c6
mov rax, qword [rsp + 0xf0]
add rax, 0x254
mov rcx, qword [rsp + 0xf0]
add rcx, 0x240
mov rdx, qword [rsp + 0xf0]
add rdx, 0x220
mov r8, qword [rsp + 0xf0]
mov r9, qword [rsp + 0xf0]
mov r9d, dword [r9 + 0x25c]
mov r8d, dword [r8 + 0x260]
sub r8d, r9d
mov r9, qword [rsp + 0xf0]
movsxd r9, dword [r9 + 0x25c]
mov r10, qword [rsp + 0xf0]
add r9, qword [r10 + 0x268]
mov qword [rsp + 0xc0], r9
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov r9d, r8d
lea r8, [rsp + 0x84]
mov rax, qword [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x200]
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x268], 0
je 0x1401302c6
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x25c]
mov eax, dword [rax + 0x260]
sub eax, ecx
cmp dword [rsp + 0x84], eax
jg 0x1401302c6
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x25c]
mov eax, dword [rax + 0x260]
sub eax, ecx
cmp dword [rsp + 0x84], eax
jle 0x140130297
mov r8d, 0x55c
lea rdx, [0x140556a10]
lea rcx, str.iPointer____Reader__EndPointer___Reader__BeginPointer_
call fcn.1403d4430
xor eax, eax
cmp dword [rsp + 0x84], 0
jne 0x1401302a3
jmp 0x1401302cb
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x25c]
add eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x25c], eax
jmp 0x1401300ea
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x260]
cmp dword [rax + 0x25c], ecx
jne 0x14013030d
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x260], 0
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x25c], 0
cmp dword [rsp + 0x54], 0
jg 0x1401305fc
cmp dword [rsp + 0xf8], 0
je 0x1401305fc
cmp dword [rsp + 0x54], 0xffffffff
jne 0x14013033f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x14013033f
jmp 0x14013093e
mov rcx, qword [rsp + 0xf0]
call fcn.14012f350
mov edx, 2
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x68], 0xffffffffffffffff
mov rcx, qword [rsp + 0xf0]
call fcn.14012f350
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x2a8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x2a8], 0
je 0x14013040c
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x2a8]
call fcn.14031b110
mov rax, qword [rsp + 0xf0]
add rax, 0x288
mov rcx, rax
call fcn.14012a1a0
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x2a8], 0
mov rax, qword [rsp + 0xf0]
add rax, 0x288
mov rcx, rax
call fcn.14012a180
nop
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x12f0], 0
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x12e8], 0
cmp qword [rsp + 0x48], 0
je 0x1401304d6
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x2a4], 0
jne 0x140130488
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x208], 0
je 0x140130488
mov rax, qword [rsp + 0xf0]
mov r8, qword [rax + 0x240]
xor edx, edx
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x208]
nop
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x2a4], 0
je 0x1401304d1
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x210], 0
je 0x1401304d1
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x240]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x210]
nop
jmp 0x14013056a
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x258], 0
jg 0x140130521
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x208], 0
je 0x140130521
mov rax, qword [rsp + 0xf0]
mov r8, qword [rax + 0x240]
xor edx, edx
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x208]
nop
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x258], 0
jle 0x14013056a
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x210], 0
je 0x14013056a
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x240]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x210]
nop
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x2a4], 0
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x258], 0
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x268], 0
je 0x1401305f7
lea rax, [0x14058f640]
mov rcx, qword [rsp + 0xf0]
cmp qword [rcx + 0x268], rax
je 0x1401305d2
mov edx, 1
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x268]
call fcn.1403ba8b0
nop
mov rax, qword [rsp + 0xf0]
mov qword [rax + 0x268], 0
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x270], 0
jmp 0x14013093e
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x25c], 0
je 0x140130715
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 0x25c]
mov rcx, qword [rsp + 0xf0]
add rax, qword [rcx + 0x268]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x25c]
mov eax, dword [rax + 0x260]
sub eax, ecx
cdqe
mov rcx, qword [rsp + 0xf0]
movsxd rcx, dword [rcx + 0x270]
mov r9, rax
mov r8, qword [rsp + 0x78]
mov rdx, rcx
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x268]
call fcn.140129fe0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x25c]
mov eax, dword [rax + 0x260]
sub eax, ecx
mov rcx, qword [rsp + 0xf0]
mov dword [rcx + 0x260], eax
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x25c], 0
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x230], 0
je 0x140130715
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x268]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov r8, rax
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x240]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x230]
nop
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x260]
mov eax, dword [rax + 0x270]
sub eax, ecx
cmp eax, 0x400
jge 0x14013093e
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x28c], 0
je 0x140130771
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x28c]
cmp dword [rax + 0x270], ecx
jge 0x14013093e
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x270]
add eax, 0x1000
mov rcx, qword [rsp + 0xf0]
cmp eax, dword [rcx + 0x28c]
jge 0x1401307b0
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x270]
add eax, 0x1000
mov dword [rsp + 0xc8], eax
jmp 0x140130800
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x28c], 0
jne 0x1401307dd
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x270]
add eax, 0x1000
mov dword [rsp + 0xcc], eax
jmp 0x1401307f2
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x28c]
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0xc8], eax
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0xc8]
mov dword [rax + 0x270], ecx
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x268]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
movsxd rax, dword [rax + 0x270]
mov dword [rsp + 0x20], 0x5d5
lea r9, [0x140556b10]
mov r8d, 1
mov rdx, rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 0x268]
call fcn.1403bab60
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 0x268], rcx
cmp qword [rsp + 0xd0], 0
jne 0x1401308d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x5d5
lea rdx, [0x140556b60]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x5d5
lea rdx, [0x140556bb0]
lea rcx, [0x140556bf8]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x268], rcx
je 0x14013093e
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x230], 0
je 0x14013093e
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rax + 0x268]
sub rax, rcx
mov r8, rax
mov rax, qword [rsp + 0xf0]
mov rdx, qword [rax + 0x240]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xf0]
call qword [rax + 0x230]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.14037c300
add rsp, 0xe0
pop rdi
ret