Function at 0x140113f40
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, ntohs
mov ecx, dword [rsp + 0x88]
call fcn.140138710
mov dword [rsp + 0x2c], eax
mov r8d, 4
mov edx, reloc.WS2_32.dll_recv
mov ecx, dword [rsp + 0x88]
call fcn.140138710
mov dword [rsp + 0x28], eax
mov r8d, 4
xor edx, edx
mov ecx, dword [rsp + 0x88]
call fcn.140138710
mov dword [rsp + 0x38], eax
mov r8d, 1
mov edx, socket
mov ecx, dword [rsp + 0x88]
call fcn.140138710
mov dword [rsp + 0x34], eax
mov r8d, 4
mov edx, 8
mov ecx, dword [rsp + 0x88]
call fcn.140138710
mov dword [rsp + 0x68], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_socket
mov ecx, dword [rsp + 0x88]
call fcn.140138710
not eax
and eax, 1
shl eax, 8
mov dword [rsp + 0x40], eax
mov r8d, 4
mov edx, 0x1c
mov ecx, dword [rsp + 0x88]
call fcn.140138710
mov dword [rsp + 0x6c], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_setsockopt
mov ecx, dword [rsp + 0x88]
call fcn.140138710
mov dword [rsp + 0x58], eax
mov r8d, 1
mov edx, 0x18
mov ecx, dword [rsp + 0x88]
call fcn.140138710
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x58], 1
jne 0x140114072
mov dword [rsp + 0x60], 1
jmp 0x14011407a
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x4c], 0
jne 0x14011408b
mov dword [rsp + 0x5c], 1
jmp 0x140114093
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 0x1401140ad
mov dword [rsp + 0x64], 0
jmp 0x1401140b5
mov dword [rsp + 0x64], 1
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x80]
call fcn.1400c8a30
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xa4
jb 0x14011410c
cmp dword [rsp + 0x48], 0xa6
jbe 0x1401140f9
cmp dword [rsp + 0x48], 0x1ae
jbe 0x14011410c
cmp dword [rsp + 0x48], 0x1b1
jbe 0x1401140f9
jmp 0x14011410c
mov eax, dword [rsp + 0x2c]
and eax, 1
test eax, eax
je 0x14011410c
mov dword [rsp + 0x24], 1
mov rcx, qword [rsp + 0x80]
call fcn.1400c8a30
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xb8
ja 0x140114164
cmp dword [rsp + 0x30], 0xb6
jae case.0x140114162.179
mov eax, dword [rsp + 0x30]
sub eax, 0xa4
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xf
ja case.0x140114162.167
mov eax, dword [rsp + 0x30]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x11476c]
add rax, rcx
jmp rax
cmp dword [rsp + 0x30], 0x1b6
ja 0x1401141b5
cmp dword [rsp + 0x30], 0x1b6
je 0x14011426c
cmp dword [rsp + 0x30], 0xbb
jb case.0x140114162.167
cmp dword [rsp + 0x30], 0xbc
jbe case.0x140114162.179
cmp dword [rsp + 0x30], 0x1ae
jbe case.0x140114162.167
cmp dword [rsp + 0x30], 0x1b1
jbe 0x1401141d6
jmp case.0x140114162.167
cmp dword [rsp + 0x30], 0x1b9
jb case.0x140114162.167
cmp dword [rsp + 0x30], 0x1ba
jbe 0x14011426c
jmp case.0x140114162.167
cmp dword [rsp + 0x4c], 0
jne 0x1401141ec
cmp dword [rsp + 0x58], 1
jne 0x1401141ec
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140114218
cmp dword [rsp + 0x28], 0xf
je 0x140114210
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x140114210
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x28], eax
jne 0x140114218
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
je 0x14011422e
cmp dword [rsp + 0x38], 0xf
jne 0x14011422e
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x3c], 0xf
jne 0x14011423d
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140114267
mov r8d, 4
mov edx, 8
mov ecx, dword [rsp + 0x88]
call fcn.140138710
test eax, eax
je 0x140114267
mov dword [rsp + 0x24], 1
jmp case.0x140114162.167
cmp dword [rsp + 0x2c], 0xf
jne 0x14011427b
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14011429d
cmp dword [rsp + 0x28], 0xf
je 0x140114295
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x14011429d
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401142b3
cmp dword [rsp + 0x38], 0xf
jne 0x1401142b3
mov dword [rsp + 0x24], 1
jmp case.0x140114162.167
cmp dword [rsp + 0x34], 0
je 0x1401142da
cmp dword [rsp + 0x28], 0xf
jne 0x1401142da
cmp dword [rsp + 0x3c], 0xf
jne 0x1401142d5
mov dword [rsp + 0x24], 1
jmp case.0x140114162.167
cmp dword [rsp + 0x4c], 0
jne 0x1401142f0
cmp dword [rsp + 0x58], 1
jne 0x1401142f0
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140114321
cmp dword [rsp + 0x3c], 0xf
je 0x140114319
cmp dword [rsp + 0x38], 0xf
je 0x140114319
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x38], eax
je 0x140114319
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jne 0x140114321
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140114340
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140114340
cmp dword [rsp + 0x28], 0xf
jne 0x140114340
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140114365
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x14011435d
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x28], eax
jne 0x140114365
mov dword [rsp + 0x24], 1
jmp case.0x140114162.167
cmp dword [rsp + 0x34], 0
je 0x14011438c
cmp dword [rsp + 0x28], 0xf
jne 0x14011438c
cmp dword [rsp + 0x2c], 0xf
jne 0x140114387
mov dword [rsp + 0x24], 1
jmp case.0x140114162.167
cmp dword [rsp + 0x2c], 0xf
jne 0x14011439b
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401143b1
cmp dword [rsp + 0x38], 0xf
jne 0x1401143b1
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401143da
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401143da
cmp dword [rsp + 0x28], 0xf
je 0x1401143d2
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1401143da
mov dword [rsp + 0x24], 1
jmp case.0x140114162.167
cmp dword [rsp + 0x34], 0
je 0x1401143fe
cmp dword [rsp + 0x28], 0xf
jne 0x1401143fe
cmp dword [rsp + 0x2c], 0xf
jne 0x1401143fc
mov dword [rsp + 0x24], 1
jmp case.0x140114162.167
cmp dword [rsp + 0x34], 0
je 0x140114427
cmp dword [rsp + 0x2c], 0xf
je 0x14011441f
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140114427
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x140114427
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x140114444
cmp dword [rsp + 0x2c], 0xf
je 0x14011443c
cmp dword [rsp + 0x38], 0xf
jne 0x140114444
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne case.0x140114162.167
movzx eax, byte [rsp + 0x20]
test eax, eax
je case.0x140114162.167
cmp dword [rsp + 0x28], 0xf
je 0x140114465
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne case.0x140114162.167
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14011452a
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x32e], 1
cmp dword [rsp + 0x4c], 0
je 0x14011449e
mov eax, dword [rsp + 0x40]
bts eax, 9
mov dword [rsp + 0x40], eax
jmp 0x1401144aa
mov eax, dword [rsp + 0x40]
bts eax, 0xa
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x80]
call fcn.1400c8a30
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x1af
jb 0x14011452a
cmp dword [rsp + 0x44], 0x1b1
jbe 0x1401144ef
cmp dword [rsp + 0x44], 0x1b6
je 0x1401144ef
cmp dword [rsp + 0x44], 0x1b8
jbe 0x14011452a
cmp dword [rsp + 0x44], 0x1ba
jbe 0x1401144ef
jmp 0x14011452a
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401127b0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140112750
movzx eax, al
test eax, eax
jne 0x14011452a
xor eax, eax
jmp 0x140114765
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.1401127b0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140112750
movzx eax, al
test eax, eax
jne 0x140114565
xor eax, eax
jmp 0x140114765
mov rcx, qword [rsp + 0x80]
call fcn.1400c8a30
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xa4
jb 0x1401145df
cmp dword [rsp + 0x50], 0xa6
jbe 0x1401145a0
cmp dword [rsp + 0x50], 0x1ae
jbe 0x1401145df
cmp dword [rsp + 0x50], 0x1b1
jbe 0x1401145a0
jmp 0x1401145df
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.1401127b0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140112750
movzx eax, al
test eax, eax
jne 0x1401145df
xor eax, eax
jmp 0x140114765
movzx eax, byte [rsp + 0x20]
test eax, eax
je case.0x14011462a.167
mov rcx, qword [rsp + 0x80]
call fcn.1400c8a30
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.0x14011462a.167
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1147b4]
mov eax, dword [rcx + rax*4 + 0x1147ac]
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.1401127b0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140112750
movzx eax, al
test eax, eax
jne case.0x14011462a.167
xor eax, eax
jmp 0x140114765
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401127b0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140112750
movzx eax, al
test eax, eax
jne 0x1401146a2
xor eax, eax
jmp 0x140114765
cmp dword [rsp + 0x34], 0
je 0x1401146de
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1400c8720
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.1400c87d0
jmp 0x140114729
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.1401127b0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140112750
movzx eax, al
test eax, eax
jne 0x140114716
xor eax, eax
jmp 0x140114765
mov eax, dword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400c87d0
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x80]
call fcn.140112da0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.140112750
movzx eax, al
test eax, eax
jne 0x140114761
xor eax, eax
jmp 0x140114765
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret