Function at 0x140242e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x24], 3
mov r8d, 4
mov edx, ntohl
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
mov dword [rsp + 0x2c], eax
mov r8d, 4
mov edx, reloc.WS2_32.dll_recv
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
mov dword [rsp + 0x28], eax
mov r8d, 4
xor edx, edx
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
mov dword [rsp + 0x38], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_shutdown
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
mov dword [rsp + 0x34], eax
mov r8d, 4
mov edx, 8
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
mov dword [rsp + 0x68], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_socket
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
not eax
and eax, 1
shl eax, 8
mov dword [rsp + 0x40], eax
mov r8d, 4
mov edx, Ordinal_30
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
mov dword [rsp + 0x6c], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_setsockopt
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
mov dword [rsp + 0x58], eax
mov r8d, 1
mov edx, Ordinal_26
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x58], 1
jne 0x140242f42
mov dword [rsp + 0x60], 1
jmp 0x140242f4a
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x4c], 0
jne 0x140242f5b
mov dword [rsp + 0x5c], 1
jmp 0x140242f63
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x60]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x140242f7d
mov dword [rsp + 0x64], 0
jmp 0x140242f85
mov dword [rsp + 0x64], 1
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x80]
call fcn.1401f7900
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xa4
jb 0x140242fdc
cmp dword [rsp + 0x48], 0xa6
jbe 0x140242fc9
cmp dword [rsp + 0x48], 0x1ae
jbe 0x140242fdc
cmp dword [rsp + 0x48], 0x1b1
jbe 0x140242fc9
jmp 0x140242fdc
mov eax, dword [rsp + 0x2c]
and eax, 1
test eax, eax
je 0x140242fdc
mov dword [rsp + 0x24], 1
mov rcx, qword [rsp + 0x80]
call fcn.1401f7900
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xb8
ja 0x140243034
cmp dword [rsp + 0x30], 0xb6
jae case.0x140243032.179
mov eax, dword [rsp + 0x30]
sub eax, 0xa4
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xf
ja case.0x140243032.167
mov eax, dword [rsp + 0x30]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x24363c]
add rax, rcx
jmp rax
cmp dword [rsp + 0x30], 0x1b6
ja 0x140243085
cmp dword [rsp + 0x30], 0x1b6
je 0x14024313c
cmp dword [rsp + 0x30], 0xbb
jb case.0x140243032.167
cmp dword [rsp + 0x30], 0xbc
jbe case.0x140243032.179
cmp dword [rsp + 0x30], 0x1ae
jbe case.0x140243032.167
cmp dword [rsp + 0x30], 0x1b1
jbe 0x1402430a6
jmp case.0x140243032.167
cmp dword [rsp + 0x30], 0x1b9
jb case.0x140243032.167
cmp dword [rsp + 0x30], 0x1ba
jbe 0x14024313c
jmp case.0x140243032.167
cmp dword [rsp + 0x4c], 0
jne 0x1402430bc
cmp dword [rsp + 0x58], 1
jne 0x1402430bc
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1402430e8
cmp dword [rsp + 0x28], 0xf
je 0x1402430e0
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x1402430e0
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x28], eax
jne 0x1402430e8
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
je 0x1402430fe
cmp dword [rsp + 0x38], 0xf
jne 0x1402430fe
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x3c], 0xf
jne 0x14024310d
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140243137
mov r8d, 4
mov edx, 8
mov ecx, dword [rsp + 0x88]
call fcn.1402675e0
test eax, eax
je 0x140243137
mov dword [rsp + 0x24], 1
jmp case.0x140243032.167
cmp dword [rsp + 0x2c], 0xf
jne 0x14024314b
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14024316d
cmp dword [rsp + 0x28], 0xf
je 0x140243165
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x14024316d
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140243183
cmp dword [rsp + 0x38], 0xf
jne 0x140243183
mov dword [rsp + 0x24], 1
jmp case.0x140243032.167
cmp dword [rsp + 0x34], 0
je 0x1402431aa
cmp dword [rsp + 0x28], 0xf
jne 0x1402431aa
cmp dword [rsp + 0x3c], 0xf
jne 0x1402431a5
mov dword [rsp + 0x24], 1
jmp case.0x140243032.167
cmp dword [rsp + 0x4c], 0
jne 0x1402431c0
cmp dword [rsp + 0x58], 1
jne 0x1402431c0
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1402431f1
cmp dword [rsp + 0x3c], 0xf
je 0x1402431e9
cmp dword [rsp + 0x38], 0xf
je 0x1402431e9
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x38], eax
je 0x1402431e9
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jne 0x1402431f1
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140243210
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140243210
cmp dword [rsp + 0x28], 0xf
jne 0x140243210
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140243235
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x14024322d
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x28], eax
jne 0x140243235
mov dword [rsp + 0x24], 1
jmp case.0x140243032.167
cmp dword [rsp + 0x34], 0
je 0x14024325c
cmp dword [rsp + 0x28], 0xf
jne 0x14024325c
cmp dword [rsp + 0x2c], 0xf
jne 0x140243257
mov dword [rsp + 0x24], 1
jmp case.0x140243032.167
cmp dword [rsp + 0x2c], 0xf
jne 0x14024326b
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140243281
cmp dword [rsp + 0x38], 0xf
jne 0x140243281
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1402432aa
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1402432aa
cmp dword [rsp + 0x28], 0xf
je 0x1402432a2
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1402432aa
mov dword [rsp + 0x24], 1
jmp case.0x140243032.167
cmp dword [rsp + 0x34], 0
je 0x1402432ce
cmp dword [rsp + 0x28], 0xf
jne 0x1402432ce
cmp dword [rsp + 0x2c], 0xf
jne 0x1402432cc
mov dword [rsp + 0x24], 1
jmp case.0x140243032.167
cmp dword [rsp + 0x34], 0
je 0x1402432f7
cmp dword [rsp + 0x2c], 0xf
je 0x1402432ef
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1402432f7
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1402432f7
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140243314
cmp dword [rsp + 0x2c], 0xf
je 0x14024330c
cmp dword [rsp + 0x38], 0xf
jne 0x140243314
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne case.0x140243032.167
movzx eax, byte [rsp + 0x20]
test eax, eax
je case.0x140243032.167
cmp dword [rsp + 0x28], 0xf
je 0x140243335
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne case.0x140243032.167
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1402433fa
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x32e], 1
cmp dword [rsp + 0x4c], 0
je 0x14024336e
mov eax, dword [rsp + 0x40]
bts eax, 9
mov dword [rsp + 0x40], eax
jmp 0x14024337a
mov eax, dword [rsp + 0x40]
bts eax, 0xa
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x80]
call fcn.1401f7900
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x1af
jb 0x1402433fa
cmp dword [rsp + 0x44], 0x1b1
jbe 0x1402433bf
cmp dword [rsp + 0x44], 0x1b6
je 0x1402433bf
cmp dword [rsp + 0x44], 0x1b8
jbe 0x1402433fa
cmp dword [rsp + 0x44], 0x1ba
jbe 0x1402433bf
jmp 0x1402433fa
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.140241680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140241620
movzx eax, al
test eax, eax
jne 0x1402433fa
xor eax, eax
jmp 0x140243635
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.140241680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140241620
movzx eax, al
test eax, eax
jne 0x140243435
xor eax, eax
jmp 0x140243635
mov rcx, qword [rsp + 0x80]
call fcn.1401f7900
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xa4
jb 0x1402434af
cmp dword [rsp + 0x50], 0xa6
jbe 0x140243470
cmp dword [rsp + 0x50], 0x1ae
jbe 0x1402434af
cmp dword [rsp + 0x50], 0x1b1
jbe 0x140243470
jmp 0x1402434af
mov eax, dword [rsp + 0x2c]
inc eax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.140241680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140241620
movzx eax, al
test eax, eax
jne 0x1402434af
xor eax, eax
jmp 0x140243635
movzx eax, byte [rsp + 0x20]
test eax, eax
je case.0x1402434fa.167
mov rcx, qword [rsp + 0x80]
call fcn.1401f7900
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
sub eax, 0xa4
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x18
ja case.0x1402434fa.167
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x243684]
mov eax, dword [rcx + rax*4 + 0x24367c]
add rax, rcx
jmp rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.140241680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140241620
movzx eax, al
test eax, eax
jne case.0x1402434fa.167
xor eax, eax
jmp 0x140243635
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.140241680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140241620
movzx eax, al
test eax, eax
jne 0x140243572
xor eax, eax
jmp 0x140243635
cmp dword [rsp + 0x34], 0
je 0x1402435ae
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1401f75f0
mov eax, dword [rsp + 0x68]
shl eax, 4
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x38]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1401f76a0
jmp 0x1402435f9
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.140241680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140241620
movzx eax, al
test eax, eax
jne 0x1402435e6
xor eax, eax
jmp 0x140243635
mov eax, dword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1401f76a0
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x80]
call fcn.140241c70
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140241620
movzx eax, al
test eax, eax
jne 0x140243631
xor eax, eax
jmp 0x140243635
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret