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

Disassembly:
push 0xffffffffffffffff
push 0x659bd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x48]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.resolveHostname6
push eax
lea ecx, [esp + 0x18]
call fcn.004f0370
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x4c]
lea edi, [esi + 0x30]
mov byte [ecx], 0
push eax
mov ecx, edi
mov dword [esp + 0x48], 0
mov byte [edx], 0
call fcn.004e8c70
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
push 0
mov dword [esi + 0xa4], ecx
push 0x7246ec
push str.http:__
mov ecx, edi
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb8], edx
mov dword [esi + 0xb4], eax
call fcn.004e62e0
push 0
push 0x7246ec
push str.https:__
mov ecx, edi
call fcn.004e62e0
push 0x2f
mov ecx, edi
call fcn.004e38c0
push 0x3a
mov ecx, edi
call fcn.004e38c0
mov ecx, edi
call fcn.004e2b40
mov ecx, edi
call fcn.004e2930
test eax, eax
jne 0x62862b
mov esi, dword [esp + 0x58]
push str.Invalid_hostname_for_resolving_hostname_to_IP_address.
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, esi
push eax
push str.hostname
call fcn.004efcb0
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.004f03e0
xor al, al
jmp 0x6287dc
mov ecx, edi
call fcn.004dda00
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
test edi, edi
je 0x628655
push eax
push str.HostnameResolve
mov ecx, edi
call fcn.00535c90
mov eax, dword [edi + 0x88]
test eax, eax
jne 0x6286ac
mov edx, dword [esp + 0x6c]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x68]
lea eax, [esi + 0xbc]
push 0
push eax
mov dword [eax], 0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
call fcn.0058e0f0
add esp, 0x18
mov bl, al
jmp 0x6287c9
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xb8], ecx
mov ecx, esi
mov dword [esi + 0x2c], edi
mov byte [esi + 0x28], 1
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb4], edx
mov dword [esi + 0xbc], 0
mov byte [esi + 0xa8], 0
call fcn.004d7fa0
call sub.KERNEL32.dll_GetTickCount
mov ebp, eax
lea eax, [esp + 0x6c]
push eax
push 0
push esi
push 0x628850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x628718
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
mov ecx, dword [esp + 0x58]
setne al
test al, al
jne 0x628745
mov edx, dword [ecx]
push str.Failed_to_start_background_thread_for_resolving_domain_name.
call dword [edx + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.004f03e0
xor al, al
jmp 0x6287dc
mov al, byte [ecx + 0x121]
test al, al
je 0x628759
mov eax, dword [ecx]
push str.Resolving_domain_name__IPV4_IPV6_...
call dword [eax + 0x18]
mov cl, byte [esi + 0x28]
xor ebx, ebx
xor eax, eax
test cl, cl
je 0x6287c3
jmp 0x62876a
mov eax, dword [esp + 0x68]
inc eax
cmp eax, 0xc8
mov dword [esp + 0x68], eax
jle 0x62877a
push 0xa
jmp 0x62877c
push 2
call fcn.004ee360
mov eax, dword [edi + 0x88]
add esp, 4
inc ebx
cmp ebx, eax
jb 0x6287bc
mov ecx, dword [esp + 0x58]
xor ebx, ebx
push ecx
mov ecx, edi
call fcn.00535ec0
test al, al
jne 0x6287f1
mov eax, dword [esp + 0x54]
test eax, eax
je 0x6287bc
call sub.KERNEL32.dll_GetTickCount
cmp eax, ebp
jbe 0x6287bc
mov ecx, dword [esp + 0x54]
sub eax, ebp
cmp eax, ecx
ja 0x62881b
mov al, byte [esi + 0x28]
test al, al
jne 0x628766
mov bl, byte [esi + 0xa8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.004f03e0
mov al, bl
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0x2c
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
push str.DNS_lookup_aborted_by_application_callback
mov byte [edx], 1
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.004f03e0
xor al, al
jmp 0x6287dc
mov ecx, dword [esp + 0x58]
push str.Timeout_in_resolving_domain_name.
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
mov byte [eax], 1
call fcn.004f03e0
xor al, al
jmp 0x6287dc