Function at 0x14d06bb6
Capabilities:
Connect socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push 0x400
push 8
push dword [0x14d11ea0]
call dword [0x14d12164]
push 0x80
push 8
push dword [0x14d11ea0]
mov ebp, eax
call dword [0x14d12164]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp edi, ebx
mov esi, eax
mov dword [esp + 0x10], esi
jne 0x14d06c15
cmp ebp, ebx
je 0x14d06c06
push ebp
push ebx
push dword [0x14d11ea0]
call dword [0x14d1216c]
cmp esi, ebx
je 0x14d07471
push esi
push ebx
jmp 0x14d07465
cmp dword [esp + 0x20], 1
je 0x14d06c30
cmp dword [esp + 0x20], 2
je 0x14d06c30
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call ebx
push eax
push edi
jmp 0x14d06c87
push 0x14d0251c
call fcn.14d0a4ba
pop ecx
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push 0xf
push edi
call dword [0x14d11954]
test eax, eax
je 0x14d06c70
push ebx
push edi
push 0x14d02510
push dword [esp + 0x2c]
call fcn.14d06a3f
push edi
push 0x14d024e8
call fcn.14d06b76
add esp, 0x18
jmp 0x14d06bf4
mov eax, dword [esp + 0x1c]
push dword [eax + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0x18]
push esi
call fcn.14d08a86
add esp, 0xc
xor edi, edi
cmp dword [esp + 0x20], 3
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], edi
push edi
jne 0x14d06cf0
push 0x14d024e4
push esi
call dword [0x14d11950]
test eax, eax
je 0x14d06d0d
push edi
push esi
push 0x14d024d4
push 3
call fcn.14d06a3f
push esi
push 0x14d024a4
call fcn.14d06b76
add esp, 0x18
cmp ebp, edi
je 0x14d06ce1
push ebp
push edi
push dword [0x14d11ea0]
call dword [0x14d1216c]
cmp esi, edi
je 0x14d07471
push esi
push edi
jmp 0x14d07465
push 0x14d024a0
push esi
call dword [0x14d11950]
test eax, eax
je 0x14d06d0d
push edi
push esi
push 0x14d024d4
push dword [esp + 0x2c]
jmp 0x14d06cbc
push 6
push 1
push 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x14d06d70
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x20
push 8
push dword [0x14d11ea0]
mov ebx, eax
call dword [0x14d12164]
mov edi, eax
push 0x20
push edi
call fcn.14d08ade
push 0xa
push edi
push ebx
call fcn.14d0678f
push edi
push esi
push 0x14d02490
push dword [esp + 0x40]
call fcn.14d06a3f
push ebx
push 0x14d02464
call fcn.14d0a4ba
add esp, 0x2c
push 0xffffffffffffffff
jmp 0x14d07445
mov eax, dword [esp + 0x14]
push dword [eax + 0x10]
push dword [eax + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14d06ddb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x20
push 8
push dword [0x14d11ea0]
mov dword [esp + 0x28], eax
call dword [0x14d12164]
mov ebx, eax
push 0x20
push ebx
call fcn.14d08ade
push 0xa
push ebx
push dword [esp + 0x2c]
call fcn.14d0678f
push ebx
push esi
push 0x14d02454
push dword [esp + 0x40]
call fcn.14d06a3f
push dword [esp + 0x40]
push 0x14d02424
call fcn.14d0a4ba
add esp, 0x2c
jmp 0x14d07444
push 0x400
push ebp
call fcn.14d08ade
pop ecx
pop ecx
push 0
push 0x400
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push ebp
push 0x14d02410
call fcn.14d06b76
push 1
push 0x14d0240c
push ebp
call fcn.14d08aa4
add esp, 0x14
test eax, eax
je 0x14d06e2e
push ebp
push esi
push 0x14d023fc
push dword [esp + 0x2c]
call fcn.14d06a3f
add esp, 0x10
jmp 0x14d07444
mov esi, dword [sym.imp.WS2_32.dll_send]
push 0
push 5
push 0x14d023f4
push edi
call esi
push 0
push dword [esp + 0x38]
call ebx
push eax
push dword [esp + 0x3c]
push edi
call esi
push 0
push 2
push 0x14d023f0
push edi
call esi
push 0x400
push ebp
call fcn.14d08ade
pop ecx
pop ecx
push 0
push 0x400
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push ebp
push 0x14d02410
call fcn.14d06b76
cmp dword [esp + 0x28], 3
pop ecx
pop ecx
jne 0x14d06ff8
push dword [esp + 0x3c]
push 0x14d023c0
call fcn.14d06b76
pop ecx
pop ecx
push 0
push 0xc
push 0x14d023b0
push edi
call esi
push 0
push 0x400
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push 1
push 0x14d023ac
push ebp
call fcn.14d08aa4
add esp, 0xc
test eax, eax
je 0x14d06ef3
mov esi, dword [esp + 0x10]
push ebp
push esi
push 0x14d023a0
push 3
call fcn.14d06a3f
push 0x14d0237c
call fcn.14d0a4ba
add esp, 0x14
jmp 0x14d0744b
push dword [esp + 0x3c]
call ebx
push eax
push dword [esp + 0x40]
push ebp
call fcn.14d0665d
add esp, 0xc
push 0
push ebp
mov byte [eax + ebp], 0
call ebx
push eax
push ebp
push edi
call esi
push 0
push 2
push 0x14d023f0
push edi
call esi
push 0
push 0x400
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push 1
push 0x14d023ac
push ebp
call fcn.14d08aa4
add esp, 0xc
test eax, eax
je 0x14d06f8a
push ebp
push dword [esp + 0x40]
push 0x14d02368
push 3
call fcn.14d06a3f
push 0x14d02338
call fcn.14d0a4ba
xor esi, esi
add esp, 0x14
cmp ebp, esi
je 0x14d06f76
push ebp
push esi
push dword [0x14d11ea0]
call dword [0x14d1216c]
cmp dword [esp + 0x10], esi
je 0x14d07471
push dword [esp + 0x10]
push esi
jmp 0x14d07465
push 0x14d0232c
call ebx
push eax
push 0x14d0232c
push ebp
call fcn.14d0665d
add esp, 0xc
push 0
push ebp
mov byte [eax + ebp], 0
call ebx
push eax
push ebp
push edi
call esi
push 0
push 2
push 0x14d023f0
push edi
call esi
push 0
push 0x400
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push 1
push 0x14d0240c
push ebp
call fcn.14d08aa4
add esp, 0xc
test eax, eax
je 0x14d06ff8
push ebp
push dword [esp + 0x40]
push 0x14d0231c
push 3
call fcn.14d06a3f
push 0x14d022f0
jmp 0x14d06f5a
push 0
push 0xc
push 0x14d022e0
push edi
call esi
cmp dword [esp + 0x20], 3
push 0
jne 0x14d0701a
push dword [esp + 0x40]
call ebx
push eax
push dword [esp + 0x44]
jmp 0x14d07025
push dword [esp + 0x2c]
call ebx
push eax
push dword [esp + 0x30]
push edi
call esi
push 0
push 3
push 0x14d022dc
push edi
call esi
push 0x400
push ebp
call fcn.14d08ade
pop ecx
pop ecx
push 0
push 0x400
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push ebp
push 0x14d02410
call fcn.14d06b76
push 1
push 0x14d0240c
push ebp
call fcn.14d08aa4
add esp, 0x14
test eax, eax
je 0x14d07089
push 0x14d022a0
call fcn.14d0a4ba
mov esi, dword [esp + 0x14]
push ebp
push esi
push 0x14d02290
jmp 0x14d07438
push 0
push 2
push 0x14d0228c
push edi
call esi
push 0
push 8
push 0x14d02280
push edi
call esi
push 0
push dword [esp + 0x28]
call ebx
push eax
push dword [esp + 0x2c]
push edi
call esi
push 0
push 3
push 0x14d022dc
push edi
call esi
push 0x400
push ebp
call fcn.14d08ade
pop ecx
pop ecx
push 0
push 0x400
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push ebp
push 0x14d02410
call fcn.14d06b76
push 1
push 0x14d0240c
push ebp
call fcn.14d08aa4
add esp, 0x14
test eax, eax
je 0x14d07112
push 0x14d02248
call fcn.14d0a4ba
mov esi, dword [esp + 0x14]
push ebp
push esi
push 0x14d0223c
jmp 0x14d07438
push 0
push 2
push 0x14d02238
push edi
call esi
push 0
push 4
push 0x14d02230
push edi
call esi
push 0x400
push ebp
call fcn.14d08ade
pop ecx
pop ecx
push 0
push 0x400
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push ebp
push 0x14d02410
call fcn.14d06b76
push 1
push 0x14d023ac
push ebp
call fcn.14d08aa4
add esp, 0x14
test eax, eax
je 0x14d0717f
push 0x14d021fc
call fcn.14d0a4ba
mov esi, dword [esp + 0x14]
push ebp
push esi
push 0x14d021f0
jmp 0x14d07438
push 0
push 0x2c
push 0x14d021c0
push edi
call esi
push 0
push 5
push 0x14d021b8
push edi
call esi
push 0
push dword [esp + 0x28]
call ebx
push eax
push dword [esp + 0x2c]
push edi
call esi
push 0
push 3
push 0x14d022dc
push edi
call esi
push 0
push 9
push 0x14d021ac
push edi
call esi
push 0
push dword [esp + 0x34]
call ebx
push eax
push dword [esp + 0x38]
push edi
call esi
push 0
push 2
push 0x14d023f0
push edi
call esi
push 0
push 0xb
push 0x14d021a0
push edi
call esi
push 0
push dword [esp + 0x2c]
call ebx
push eax
push dword [esp + 0x30]
push edi
call esi
push 0
push 3
push 0x14d022dc
push edi
call esi
push 0
push 0x34
push 0x14d02168
push edi
call esi
push 0
push 0x18
push 0x14d0214c
push edi
call esi
push 0
push 0x13
push 0x14d02138
push edi
call esi
push 0
push 0x3a
push 0x14d020fc
push edi
call esi
push 0
push dword [esp + 0x38]
call ebx
push eax
push dword [esp + 0x3c]
push edi
call esi
push 0
push 2
push 0x14d020f8
push edi
call esi
push ebp
push edi
call fcn.14d06835
pop ecx
pop ecx
push 0
push 6
push 0x14d020f0
push edi
call esi
push ebp
push edi
call fcn.14d06835
pop ecx
pop ecx
push 0
push 0xd
push 0x14d020e0
push edi
call esi
movzx eax, word [0x14d11934]
push 0xa
push ebp
push eax
call fcn.14d0678f
add esp, 0xc
push 0
push ebp
call ebx
push eax
push ebp
push edi
call esi
movzx eax, word [0x14d11936]
push 0xa
push ebp
push eax
call fcn.14d0678f
add esp, 0xc
push 0
push ebp
call ebx
push eax
push ebp
push edi
call esi
movzx eax, word [0x14d1193a]
push 0xa
push ebp
push eax
call fcn.14d0678f
add esp, 0xc
push 0
push ebp
call ebx
push eax
push ebp
push edi
call esi
push 0
push 1
push 0x14d01070
push edi
call esi
movzx ecx, word [0x14d11940]
movzx eax, word [0x14d11942]
imul eax, ecx
movzx ecx, word [0x14d11936]
imul eax, ecx
movzx ecx, word [0x14d11934]
imul eax, ecx
push 0xa
mov dword [0x14d11958], eax
push ebp
call fcn.14d067bc
cdq
mov ecx, 0xf423f
idiv ecx
add edx, 0x186a0
push edx
call fcn.14d0678f
add esp, 0xc
push 0
push ebp
call ebx
push eax
push ebp
push edi
call esi
push 0
push 1
push 0x14d01070
push edi
call esi
movzx ecx, word [0x14d11940]
movzx eax, word [0x14d11942]
imul eax, ecx
movzx ecx, word [0x14d11936]
imul eax, ecx
movzx ecx, word [0x14d11934]
imul eax, ecx
push 0xa
push ebp
mov dword [0x14d11958], eax
call fcn.14d067bc
cdq
mov ecx, 0x1869f
idiv ecx
add edx, 0x2710
push edx
call fcn.14d0678f
add esp, 0xc
push 0
push ebp
call ebx
push eax
push ebp
push edi
call esi
push 0
push 1
push 0x14d020dc
push edi
call esi
push 0
push dword [esp + 0x3c]
call ebx
push eax
push dword [esp + 0x40]
push edi
call esi
push 0
push 3
push 0x14d022dc
push edi
call esi
push 0
push 0x26
push 0x14d020ac
push edi
call esi
push 0
push 0x21
push 0x14d02088
push edi
call esi
push 0
push 2
push 0x14d023f0
push edi
call esi
push 0
push dword [esp + 0x30]
call ebx
push eax
push dword [esp + 0x34]
push edi
call esi
push 0
push 5
push 0x14d02080
push edi
call esi
mov ebx, 0x400
push ebx
push ebp
call fcn.14d08ade
pop ecx
pop ecx
push 0
push ebx
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push 1
push 0x14d0240c
push ebp
call fcn.14d08aa4
add esp, 0xc
test eax, eax
je 0x14d07475
push 0x14d02030
call fcn.14d0a4ba
mov esi, dword [esp + 0x14]
push ebp
push esi
push 0x14d02020
push dword [esp + 0x30]
call fcn.14d06a3f
add esp, 0x14
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
test ebp, ebp
je 0x14d0745e
push ebp
push 0
push dword [0x14d11ea0]
call dword [0x14d1216c]
test esi, esi
je 0x14d07471
push esi
push 0
push dword [0x14d11ea0]
call dword [0x14d1216c]
xor al, al
jmp 0x14d074d9
xor ebx, ebx
push ebx
push 6
push 0x14d02018
push edi
call esi
mov esi, 0x400
push esi
push ebp
call fcn.14d08ade
pop ecx
pop ecx
push ebx
push esi
push ebp
push edi
call dword [sym.imp.WS2_32.dll_recv]
push ebp
push 0x14d02410
call fcn.14d06b76
pop ecx
pop ecx
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp ebp, ebx
je 0x14d074c0
push ebp
push ebx
push dword [0x14d11ea0]
call dword [0x14d1216c]
cmp dword [esp + 0x10], ebx
je 0x14d074d7
push dword [esp + 0x10]
push ebx
push dword [0x14d11ea0]
call dword [0x14d1216c]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret