Function at 0x572530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0x30]
mov byte [eax], 0
mov ecx, dword [ebp + 0x34]
mov byte [ecx], 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.004707c0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], ecx
push 0x6988ac
push 0x6988b0
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0046e9d0
push 0x6988ad
push 0x6988b8
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0046e9d0
push 0x2f
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0046b760
push 0x3a
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0046b760
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0046b540
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.00536a80
test eax, eax
jne 0x5725ea
push 0x6988c4
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp + 8]
push eax
push 0x6988fc
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x2c]
call eax
xor al, al
jmp 0x57281f
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0046b1d0
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x1c], 0
je 0x57260f
mov ecx, dword [ebp - 0x14]
push ecx
push 0x698908
mov ecx, dword [ebp + 0x1c]
call fcn.0049f090
cmp dword [ebp + 0x14], 0
je 0x57261b
cmp dword [ebp + 0x1c], 0
jne 0x57267d
push 0x20
push 0
lea edx, [ebp - 0x38]
push edx
call fcn.005d59e0
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 0x44]
add eax, 0x58
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00516db0
add esp, 0x14
jmp 0x57281f
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x44]
mov byte [eax + 8], 1
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 0x20]
mov dword [ecx + 0x4c], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x24]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x28]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 0x2c]
mov dword [ecx + 0x50], edx
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x44], 0
push 0x3e9
mov ecx, dword [ebp - 0x44]
call fcn.005731e0
call fcn.004848d0
mov dword [ebp - 4], eax
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
push 0x572830
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x57271b
push str.Failed_to_start_background_thread_for_resolving_domain_name.
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
jmp 0x57281f
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 + 0x18]
call edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x44]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x572819
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xc8
jle 0x572772
push 0xa
call fcn.004848c0
add esp, 4
jmp 0x57277c
push 2
call fcn.004848c0
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 0x572814
mov dword [ebp - 8], 0
push 0x74
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x1c]
call fcn.0049f260
mov ecx, dword [ebp + 0x1c]
call fcn.0049ef50
movzx eax, al
test eax, eax
je 0x5727d1
mov ecx, dword [ebp + 0x30]
mov byte [ecx], 1
push 0x698980
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
xor al, al
jmp 0x57281f
cmp dword [ebp + 0x10], 0
je 0x572814
call fcn.004848d0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 4]
jbe 0x572814
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp + 0x10]
jbe 0x572814
push str.Timeout_in_resolving_domain_name.
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 0x34]
mov byte [ecx], 1
xor al, al
jmp 0x57281f
jmp 0x572745
mov edx, dword [ebp - 0x44]
mov al, byte [edx + 0x44]
mov esp, ebp
pop ebp
ret 0x30