Function at 0x14d0426c
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
mov ebp, 0x400
push ebp
push 8
push dword [0x14d11ea0]
call dword [0x14d12164]
mov edi, dword [esp + 0x1c]
mov esi, eax
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push 0x14d01468
push edi
mov dword [esp + 0x20], ebx
call dword [0x14d1151c]
test eax, eax
je 0x14d042e7
push ebx
push edi
push 0x14d01458
push dword [esp + 0x2c]
call fcn.14d040e7
push edi
push 0x14d01428
call fcn.14d0422c
add esp, 0x18
cmp esi, ebx
je 0x14d042d8
push esi
push ebx
push dword [0x14d11ea0]
call dword [0x14d1216c]
cmp edi, ebx
je 0x14d0479f
push edi
push ebx
jmp 0x14d04793
push 6
push 1
push ebx
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x14d04349
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x20
push 8
push dword [0x14d11ea0]
mov ebp, eax
call dword [0x14d12164]
mov ebx, eax
push 0x20
push ebx
call fcn.14d07cbe
push 0xa
push ebx
push ebp
call fcn.14d04064
push ebx
push edi
push 0x14d01418
push dword [esp + 0x40]
call fcn.14d040e7
push ebp
push 0x14d013ec
call fcn.14d096c7
add esp, 0x2c
push 0xffffffffffffffff
jmp 0x14d04773
mov eax, dword [esp + 0x10]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14d043b4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x20
push 8
push dword [0x14d11ea0]
mov dword [esp + 0x20], eax
call dword [0x14d12164]
mov ebp, eax
push 0x20
push ebp
call fcn.14d07cbe
push 0xa
push ebp
push dword [esp + 0x24]
call fcn.14d04064
push ebp
push edi
push 0x14d013dc
push dword [esp + 0x40]
call fcn.14d040e7
push dword [esp + 0x38]
push 0x14d013ac
call fcn.14d096c7
add esp, 0x2c
jmp 0x14d04772
push ebp
push esi
call fcn.14d07cbe
pop ecx
pop ecx
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push esi
push 0x14d01398
call fcn.14d0422c
push 1
push 0x14d01394
push esi
call fcn.14d07c84
add esp, 0x14
test eax, eax
je 0x14d043ff
push esi
push edi
push 0x14d01384
push dword [esp + 0x2c]
call fcn.14d040e7
add esp, 0x10
jmp 0x14d04772
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0
push 0x10
push 0x14d01370
push ebx
call edi
push ebp
push esi
call fcn.14d07cbe
pop ecx
pop ecx
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push esi
push 0x14d01398
call fcn.14d0422c
cmp dword [esp + 0x28], 3
pop ecx
pop ecx
jne 0x14d045a9
push dword [esp + 0x30]
push 0x14d01340
call fcn.14d0422c
pop ecx
pop ecx
push 0
push 0xc
push 0x14d01330
push ebx
call edi
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push 1
push 0x14d0132c
push esi
call fcn.14d07c84
add esp, 0xc
test eax, eax
je 0x14d0449c
mov edi, dword [esp + 0x1c]
push esi
push edi
push 0x14d01320
push 3
call fcn.14d040e7
push 0x14d012fc
call fcn.14d096c7
add esp, 0x14
jmp 0x14d04779
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esp + 0x34]
push esi
call fcn.14d03f32
add esp, 0xc
push 0
push esi
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push ebx
call edi
push 0
push 2
push 0x14d012f8
push ebx
call edi
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push 1
push 0x14d0132c
push esi
call fcn.14d07c84
add esp, 0xc
test eax, eax
je 0x14d04537
push esi
push dword [esp + 0x34]
push 0x14d012e4
push 3
call fcn.14d040e7
push 0x14d012b4
call fcn.14d096c7
xor edi, edi
add esp, 0x14
cmp esi, edi
je 0x14d04523
push esi
push edi
push dword [0x14d11ea0]
call dword [0x14d1216c]
cmp dword [esp + 0x1c], edi
je 0x14d0479f
push dword [esp + 0x1c]
push edi
jmp 0x14d04793
push 0x14d012a8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x14d012a8
push esi
call fcn.14d03f32
add esp, 0xc
push 0
push esi
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push ebx
call edi
push 0
push 2
push 0x14d012f8
push ebx
call edi
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push 1
push 0x14d01394
push esi
call fcn.14d07c84
add esp, 0xc
test eax, eax
je 0x14d045a9
push esi
push dword [esp + 0x34]
push 0x14d01298
push 3
call fcn.14d040e7
push 0x14d0126c
jmp 0x14d04507
push 0
push 0xb
push 0x14d01260
push ebx
call edi
push 0
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esp + 0x30]
push ebx
call edi
push 0
push 2
push 0x14d012f8
push ebx
call edi
push ebp
push esi
call fcn.14d07cbe
pop ecx
pop ecx
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push esi
push 0x14d01398
call fcn.14d0422c
push 1
push 0x14d01394
push esi
call fcn.14d07c84
add esp, 0x14
test eax, eax
je 0x14d04622
push 0x14d01224
call fcn.14d096c7
mov edi, dword [esp + 0x20]
push esi
push edi
push 0x14d01214
jmp 0x14d04766
push 0
push 2
push 0x14d01210
push ebx
call edi
push 0
push 7
push 0x14d01208
push ebx
call edi
push 0
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esp + 0x2c]
push ebx
call edi
push 0
push 2
push 0x14d012f8
push ebx
call edi
push ebp
push esi
call fcn.14d07cbe
pop ecx
pop ecx
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push esi
push 0x14d01398
call fcn.14d0422c
push 1
push 0x14d01394
push esi
call fcn.14d07c84
add esp, 0x14
test eax, eax
je 0x14d046a7
push 0x14d011d0
call fcn.14d096c7
mov edi, dword [esp + 0x20]
push esi
push edi
push 0x14d011c4
jmp 0x14d04766
push 0
push 2
push 0x14d011c0
push ebx
call edi
push 0
push 4
push 0x14d011b8
push ebx
call edi
push ebp
push esi
call fcn.14d07cbe
pop ecx
pop ecx
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push esi
push 0x14d01398
call fcn.14d0422c
push 1
push 0x14d0132c
push esi
call fcn.14d07c84
add esp, 0x14
test eax, eax
je 0x14d04709
push 0x14d01184
call fcn.14d096c7
mov edi, dword [esp + 0x20]
push esi
push edi
push 0x14d01178
jmp 0x14d04766
push 0
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esp + 0x34]
push ebx
call edi
push 0
push 5
push 0x14d01170
push ebx
call edi
push ebp
push esi
call fcn.14d07cbe
pop ecx
pop ecx
push 0
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push 1
push 0x14d01394
push esi
call fcn.14d07c84
add esp, 0xc
test eax, eax
je 0x14d047a3
push 0x14d01120
call fcn.14d096c7
mov edi, dword [esp + 0x20]
push esi
push edi
push 0x14d0110c
push dword [esp + 0x30]
call fcn.14d040e7
add esp, 0x14
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
test esi, esi
je 0x14d0478c
push esi
push 0
push dword [0x14d11ea0]
call dword [0x14d1216c]
test edi, edi
je 0x14d0479f
push edi
push 0
push dword [0x14d11ea0]
call dword [0x14d1216c]
xor al, al
jmp 0x14d04803
push 0
push 6
push 0x14d01104
push ebx
call edi
push ebp
push esi
call fcn.14d07cbe
pop ecx
pop ecx
xor edi, edi
push edi
push ebp
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push esi
push 0x14d01398
call fcn.14d0422c
pop ecx
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, edi
je 0x14d047ea
push esi
push edi
push dword [0x14d11ea0]
call dword [0x14d1216c]
cmp dword [esp + 0x1c], edi
je 0x14d04801
push dword [esp + 0x1c]
push edi
push dword [0x14d11ea0]
call dword [0x14d1216c]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret