Function at 0x5125b0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0x28]
mov byte [eax], 0
mov ecx, dword [ebp + 0x2c]
mov byte [ecx], 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.00413f10
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], ecx
push 0x63c184
push 0x63c188
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.00412820
push 0x63c185
push 0x63c190
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.00412820
push 0x2f
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.004100d0
push 0x3a
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.004100d0
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.0040fee0
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.004d7880
test eax, eax
jne 0x51266a
push 0x63c19c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp + 8]
push eax
push 0x63c1d4
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x28]
call eax
xor al, al
jmp 0x51280f
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.0040fc00
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x1c], 0
je 0x51268f
mov ecx, dword [ebp - 0x14]
push ecx
push str.HostnameResolveIpv6
mov ecx, dword [ebp + 0x1c]
call fcn.0044ea90
cmp dword [ebp + 0x14], 0
je 0x51269b
cmp dword [ebp + 0x1c], 0
jne 0x5126bc
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004b9c30
add esp, 0x14
jmp 0x51280f
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x24]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x4c], 0
push 0x3e9
mov ecx, dword [ebp - 0x24]
call fcn.005131b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0x512820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Resolving_domain_name__IPV4_IPV6_...
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x512809
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xc8
jle 0x512777
push 0xa
call fcn.00440b50
add esp, 4
jmp 0x512781
push 2
call fcn.00440b50
add esp, 4
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x14]
jb 0x512804
mov dword [ebp - 8], 0
push 0x74
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x1c]
call fcn.0044ec60
mov ecx, dword [ebp + 0x1c]
call fcn.0044e950
movzx eax, al
test eax, eax
je 0x5127d2
mov ecx, dword [ebp + 0x28]
mov byte [ecx], 1
push 0x63c21c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x10]
call edx
xor al, al
jmp 0x51280f
cmp dword [ebp + 0x10], 0
je 0x512804
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 4]
jbe 0x512804
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 0x10]
jbe 0x512804
mov eax, dword [ebp + 0x2c]
mov byte [eax], 1
xor al, al
jmp 0x51280f
jmp 0x51274a
mov ecx, dword [ebp - 0x24]
mov al, byte [ecx + 0x4c]
mov esp, ebp
pop ebp
ret 0x28