Function at 0x469560
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1cab
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.0049c120
push 0xc
mov edi, eax
call fcn.004a0e21
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x4695de
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x4695e0
test edi, edi
jne 0x4699c3
jmp 0x4695e0
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x28], esi
test esi, esi
je 0x4699c3
cmp dword [esi + 4], 0
mov byte [ebp - 4], 2
jne 0x469603
push dword [esi]
call fcn.004a2870
mov dword [esi + 4], eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x469652
mov eax, dword [esi]
test eax, eax
je 0x469630
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x469647
push eax
call fcn.004a0e5f
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004a0e51
add esp, 8
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
test edi, edi
je 0x4698fe
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x4698fe
mov eax, dword [edi]
push 0xc
mov dword [ebp - 0x24], eax
call fcn.004a0e21
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xa
test esi, esi
je 0x4696a4
push dword [ebp - 0x24]
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.004a2990
mov dword [esi], eax
jmp 0x4696a6
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4699c3
push dword [esi]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.0049c0a0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00402620
mov eax, dword [edi + 0xc]
push 0
push 1
push 2
mov eax, dword [eax]
mov edi, dword [eax]
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4696fb
push 0x4ed164
call fcn.0049c580
push eax
push 0x4ed164
jmp 0x469758
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
mov eax, 2
movlpd qword [ebp - 0x18], xmm0
push 0x5ab3
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x469748
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x4ed210
call fcn.0049c580
push eax
push 0x4ed210
jmp 0x469758
push 0
mov dword [0x51349c], esi
call fcn.0049c580
push eax
push 0
call fcn.0049c710
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xc
call ebx
lea ecx, [ebp - 0x2c]
call fcn.0049c770
test eax, eax
je 0x4698cf
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push 0x4ed624
push eax
call fcn.0049c140
mov esi, eax
push 0x4ed664
mov byte [ebp - 4], 0xd
call fcn.0049c580
push eax
push 0x4ed664
call fcn.0049c710
add esp, 0x18
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.0049c250
mov esi, eax
push 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xf
push 0x5ab3
push eax
call fcn.004645b0
add esp, 0xc
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x10
push eax
mov ecx, esi
call fcn.0049c250
mov esi, eax
push 0x4ed67c
mov byte [ebp - 4], 0x11
call fcn.0049c580
push eax
push 0x4ed67c
call fcn.0049c710
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0049c250
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.0049c250
push 0x30
push 0x4de0b8
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.0049c120
push eax
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x15
test ecx, ecx
je 0x46985b
call fcn.0049c750
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x46986b
call fcn.0049c750
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x46987b
call fcn.0049c750
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x46988b
call fcn.0049c750
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x19
test ecx, ecx
je 0x46989b
call fcn.0049c750
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x1a
test ecx, ecx
je 0x4698ab
call fcn.0049c750
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1b
test ecx, ecx
je 0x4698bb
call fcn.0049c750
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x1c
test ecx, ecx
je 0x4698cb
call fcn.0049c750
xor bl, bl
jmp 0x4698e5
push 0
mov dword [0x51872c], 2
call fcn.0046aa20
add esp, 4
mov bl, 1
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1f
test ecx, ecx
je 0x469992
call fcn.0049c750
jmp 0x469992
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push 0x4ed5d0
push eax
call fcn.0049c140
mov esi, eax
push 0x4dfb58
mov byte [ebp - 4], 3
call fcn.0049c580
push eax
push 0x4dfb58
call fcn.0049c710
add esp, 0x18
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0049c250
push 0x30
push 0x4de0b8
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0049c120
push eax
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x469970
call fcn.0049c750
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x469980
call fcn.0049c750
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x469990
call fcn.0049c750
xor bl, bl
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x20
test ecx, ecx
je 0x4699a5
call fcn.0049c750
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.004a2850
int3