Function at 0x442140
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4a9f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esp + 0x1c]
mov dword [esi + 0x160], ebp
call fcn.00406540
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x3c], ebp
jbe 0x44225e
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.0043fbd0
call fcn.0043ef50
add esp, 4
cmp eax, ebp
push edi
je 0x4421f2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.0043fae0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4421cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.0043fae0
call fcn.0043ef50
add esp, 4
cmp eax, ebp
mov dword [esi + 0x160], eax
jne 0x44225e
jmp 0x442251
lea ecx, [esp + 0x20]
call fcn.00406610
cmp eax, 6
jne 0x442251
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
push ecx
lea ecx, [esp + 0x28]
call fcn.0043fae0
call fcn.0043ef50
add esp, 4
cmp eax, ebp
je 0x442224
mov dword [esi + 0x160], eax
push edi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.0043fae0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442251
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jb 0x442181
push str.login.speedup.ku6.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebp
je 0x44227c
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esi + 0x194], edx
jmp 0x44228e
cmp dword [esi + 0x194], ebp
jne 0x44228e
mov dword [esi + 0x194], 0x4a17b5dc
lea ebx, [esi + 0x2f8]
cmp ebx, ebp
mov word [esi + 0x198], 0xbb01
mov dword [esi + 0x168], ebp
mov dword [esi + 0x16c], 1
mov dword [esp + 0x28], 0x4b402c
mov dword [esp + 0x2c], ebx
je 0x4422c8
mov ecx, ebx
call fcn.004354f0
mov edi, eax
jmp 0x4422ca
xor edi, edi
mov dword [esp + 0x30], edi
cmp edi, ebp
mov byte [esp + 0x3c], 1
jne 0x4422ec
cmp ebx, ebp
mov byte [esp + 0x3c], 0
je 0x4423a6
push ebp
mov ecx, ebx
jmp 0x4423a1
mov ecx, edi
call fcn.0044ad50
mov eax, dword [esi + 0x160]
push eax
push 0x20
mov ecx, edi
call fcn.0044ae40
xor eax, eax
mov ax, word [esi + 0x164]
mov ecx, edi
push eax
push 0x10
call fcn.0044ade0
mov ebp, dword [edi + 0x30]
mov ebx, dword [ebp + 4]
mov ecx, edi
call fcn.0044aa10
mov ebp, dword [ebp]
xor ecx, ecx
cmp ebx, eax
sete cl
dec ecx
and ecx, ebx
test ebp, ebp
mov eax, ecx
je 0x442393
push 6
push 1
push 1
push eax
mov eax, dword [esi + 0x194]
xor edx, edx
mov dx, word [esi + 0x198]
push ebp
push 1
mov ecx, esi
push edx
push eax
call fcn.004416f0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov esi, eax
mov byte [esp + 0x3c], 0
je 0x44236d
push edi
call fcn.004385d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004065f0
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov byte [esp + 0x3c], 0
je 0x4423a6
push edi
call fcn.004385d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004065f0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret