Function at 0x52f810
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.0042da10
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], ecx
push 0x6348b4
push 0x6348b8
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0042bc20
push 0x6348b5
push 0x6348c0
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0042bc20
push 0x2f
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.004289b0
push 0x3a
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.004289b0
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.00428790
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.004b8460
test eax, eax
jne 0x52f8ca
push 0x6348cc
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 0x634904
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 0x52faff
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.004f3d80
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x1c], 0
je 0x52f8ef
mov ecx, dword [ebp - 0x14]
push ecx
push 0x634910
mov ecx, dword [ebp + 0x1c]
call fcn.0045c3a0
cmp dword [ebp + 0x14], 0
je 0x52f8fb
cmp dword [ebp + 0x1c], 0
jne 0x52f95d
push 0x20
push 0
lea edx, [ebp - 0x38]
push edx
call fcn.00592d80
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.004d4060
add esp, 0x14
jmp 0x52faff
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.005304c0
call fcn.00441b20
mov dword [ebp - 4], eax
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
push 0x52fb10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x52f9fb
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 0x52faff
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 0x52faf9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xc8
jle 0x52fa52
push 0xa
call fcn.00441b10
add esp, 4
jmp 0x52fa5c
push 2
call fcn.00441b10
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 0x52faf4
mov dword [ebp - 8], 0
push 0x74
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x1c]
call fcn.0045c570
mov ecx, dword [ebp + 0x1c]
call fcn.0045c260
movzx eax, al
test eax, eax
je 0x52fab1
mov ecx, dword [ebp + 0x30]
mov byte [ecx], 1
push 0x634988
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 0x52faff
cmp dword [ebp + 0x10], 0
je 0x52faf4
call fcn.00441b20
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 4]
jbe 0x52faf4
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 0x52faf4
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 0x52faff
jmp 0x52fa25
mov edx, dword [ebp - 0x44]
mov al, byte [edx + 0x44]
mov esp, ebp
pop ebp
ret 0x30