Function at 0x404eb0
Capabilities:
Resolve dns
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44cac8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x24], esi
cmp dword [esi + 0x40], ebx
jne 0x40516c
lea eax, [esp + 0x28]
push eax
call fcn.0040f9c0
mov dword [esp + 0x88], ebx
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x1c], ebx
jb 0x404f16
mov eax, dword [esi + 4]
jmp 0x404f19
lea eax, [esi + 4]
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
mov ebp, 0xf
push ebp
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
mov edi, eax
call esi
lea edx, [esp + 0x20]
cmp eax, edx
jle 0x404f51
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0xe]
jmp 0x404f62
push 0xe
call esi
xor edx, edx
lea ecx, [esp + 0x20]
cmp eax, ecx
setg dl
mov eax, edx
sub eax, 1
jne 0x404f71
call fcn.004045f0
call fcn.004046c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 2
je 0x404f86
sub eax, 2
je 0x404f86
sub eax, 4
jne 0x404f9a
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
call fcn.00404790
call fcn.00404800
cmp edi, ebx
jne 0x40511f
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x40508d
mov edi, edi
cmp word [esi + 8], bp
jne 0x405037
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
push eax
call fcn.00402f50
push eax
call fcn.004394ce
add esp, 8
test eax, eax
jne 0x405037
mov ecx, dword [esi + 0x18]
movzx edx, word [esi + 0x1c]
mov eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x404ff0
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00403090
lea ebx, [esp + 0x40]
lea edi, [esp + 0x28]
mov byte [esp + 0x88], 1
call fcn.004053d0
mov byte [esp + 0x88], 0
cmp dword [esp + 0x5c], 0x10
jb 0x405035
mov eax, dword [esp + 0x48]
push eax
call fcn.00437f8b
add esp, 4
xor ebx, ebx
mov esi, dword [esi]
cmp esi, ebx
jne 0x404fb0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40508d
push 1
push eax
call sub.DNSAPI.dll_DnsFree
lea eax, [esp + 0x1b]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1b], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405060
sub eax, edx
mov eax, 0
setne al
sub eax, 1
jne 0x40508d
call fcn.004353a0
call dword [sym.imp.USER32.dll_GetActiveWindow]
call dword [sym.imp.USER32.dll_GetCapture]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
push ebx
mov byte [esp + 0x8c], 2
call fcn.00439283
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
add esp, 4
sar ecx, 5
xor esi, esi
test ecx, ecx
jbe 0x405110
jmp 0x4050c0
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00405340
cmp dword [eax], 0x11
jne 0x4050e3
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00405340
add eax, 4
cmp dword [eax + 0x14], ebx
jne 0x4050f5
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x34]
inc esi
sar edx, 5
cmp esi, edx
jb 0x4050c0
jmp 0x405110
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00405340
push 0xffffffffffffffff
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x6c]
call fcn.00402d10
cmp dword [esp + 0x74], ebx
jne 0x40512f
lea ecx, [esp + 0x60]
call fcn.00402ba0
lea esi, [esp + 0x28]
call fcn.004052f0
mov eax, 0x80004005
jmp 0x40516e
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x40513e
lea eax, [esp + 0x64]
push eax
call sub.WS2_32.dll_gethostbyname
cmp eax, ebx
je 0x405116
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 0x24]
mov dword [edx + 0x40], eax
lea ecx, [esp + 0x60]
cmp eax, ebx
je 0x40511a
call fcn.00402ba0
lea esi, [esp + 0x28]
call fcn.004052f0
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00437983
add esp, 0x78
ret