Function at 0x753580
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
movzx ebx, word [ebp + 2]
push esi
push edi
xor edi, edi
mov dword [0x69b9c4], edi
movzx eax, byte [ebp + 0x11]
movzx ecx, byte [ebp + 0x10]
imul eax, eax, 0x3e8
mov edx, dword [ebp + 0x14]
push edx
add eax, ecx
and ebx, 1
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], eax
call fcn.0074fba0
mov esi, eax
test esi, esi
je 0x75360b
push ebx
push 0x81
push esi
call fcn.0074fa70
mov dword [esp + 0x1c], eax
test eax, eax
je 0x7538fc
push eax
call fcn.0074ee20
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x7538fc
push ebx
push esi
mov esi, eax
push esi
call fcn.0074faf0
mov dword [esp + 0x14], esi
jmp 0x753617
mov dword [esp + 0x14], 0x69d075
mov esi, dword [esp + 0x14]
movzx eax, word [ebp + 0x12]
mov dword [esp + 0x10], eax
cmp eax, 0xfffe
jne 0x75365d
cmp byte [esi], 0
jne 0x75363a
mov dword [0x69b9c4], 4
jmp 0x7538fc
push esi
push 8
call fcn.0074f2a0
test eax, eax
jne 0x753655
mov dword [0x69b9c4], 0x29
jmp 0x7538fc
dec eax
movzx eax, ax
mov dword [esp + 0x10], eax
call fcn.007532a0
cmp dword [0x7cc444], edi
jne 0x753679
mov dword [0x69b9c4], 0x60
jmp 0x7538fc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
push ecx
push esi
push edx
push ebp
call fcn.007524a0
mov edi, eax
test edi, edi
je 0x7538fc
call fcn.00752290
mov byte [esp + 0x30], al
mov eax, dword [ebp + 0x18]
push eax
push ebp
call fcn.0074fba0
mov esi, eax
test esi, esi
je 0x753760
cmp byte [esi], 0
je 0x753760
push ebx
push 0x200
push esi
call fcn.0074fa70
test eax, eax
je 0x7538fc
push eax
call fcn.0074ee20
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x7538fc
mov ecx, dword [0x69b9e8]
push ecx
push esi
push ebp
call fcn.0074faf0
push ebp
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
je 0x753711
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x54], eax
mov eax, dword [esp + 0x20]
push eax
push ebx
push 0
push ecx
push 0
jmp 0x7538f2
push ebp
call sub.WSOCK32.dll_gethostbyname
push ebp
mov esi, eax
call fcn.00756594
add esp, 4
test esi, esi
jne 0x753735
mov dword [0x69b9c4], 0x69
jmp 0x7538fc
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [edi + 0x54]
push edx
call fcn.00756630
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ebx
push 0
push ecx
push 0
jmp 0x7538f2
cmp byte [esp + 0x30], 0
je 0x75381a
mov esi, dword [0x7cd238]
test esi, esi
je 0x7538fc
lea esp, [esp]
cmp dword [esi + 8], 0
je 0x75380b
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x753797
mov dword [edi + 0x54], eax
jmp 0x7537bb
lea edx, [esi + 0xc]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x75380b
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [edi + 0x54]
push ecx
call fcn.00756630
add esp, 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push edx
push ebx
push 0
push eax
push 0
push edi
mov dword [0x69b9c4], 0
call fcn.00752e80
mov dword [esp + 0x18], eax
test eax, eax
jne 0x7538fc
push edi
call fcn.007525f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push ebp
call fcn.007524a0
mov edi, eax
test edi, edi
je 0x7538fc
mov esi, dword [esi]
test esi, esi
jne 0x753780
jmp 0x7538fc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov dword [esp + 0x34], 0
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebp
add ebx, 0xbb8
call fcn.007533c0
test eax, eax
je 0x7538fc
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.00752750
mov esi, eax
test esi, esi
je 0x75387e
nop
movzx eax, word [esi + 4]
mov dword [0x69b9c4], eax
test eax, eax
je 0x7538a5
lea ecx, [esp + 0x30]
push ecx
push ebx
call fcn.00752750
mov esi, eax
test esi, esi
jne 0x753860
cmp dword [esp + 0x34], 0
jne 0x753892
call fcn.00752240
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 3
mov dword [esp + 0x34], eax
jl 0x753830
mov eax, dword [0x69b9c4]
test esi, esi
jne 0x7538b9
test eax, eax
jne 0x7538fc
mov dword [0x69b9c4], 0x69
jmp 0x7538fc
mov dx, word [esi + 0x14]
mov ebx, dword [esi + 0xc]
mov ecx, dword [esp + 0x30]
mov word [edi + 0x48], dx
mov ax, word [esi + 0x10]
mov word [edi + 0x46], ax
mov dword [edi + 0x54], ecx
push 0
push 0
call fcn.00752750
test eax, eax
jne 0x7538d3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ebx
push ecx
push 1
push edi
call fcn.00752e80
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x24]
push edx
call fcn.00756594
mov esi, dword [esp + 0x1c]
add esp, 4
test esi, esi
jne 0x75391b
test edi, edi
je 0x75391b
push edi
call fcn.007525f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8