Function at 0x52fcb0
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.0042df10
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], ecx
push 0x638944
push 0x638948
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0042c120
push 0x638945
push 0x638950
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0042c120
push 0x2f
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.00428eb0
push 0x3a
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.00428eb0
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.00428c90
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.004b88d0
test eax, eax
jne 0x52fd6a
push 0x63895c
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 0x638994
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 0x52ff9f
mov ecx, dword [ebp - 0x44]
add ecx, 0x18
call fcn.0055e170
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x1c], 0
je 0x52fd8f
mov ecx, dword [ebp - 0x14]
push ecx
push 0x6389a0
mov ecx, dword [ebp + 0x1c]
call fcn.0045c810
cmp dword [ebp + 0x14], 0
je 0x52fd9b
cmp dword [ebp + 0x1c], 0
jne 0x52fdfd
push 0x20
push 0
lea edx, [ebp - 0x38]
push edx
call fcn.00593630
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.004d44f0
add esp, 0x14
jmp 0x52ff9f
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.00530960
call fcn.00442020
mov dword [ebp - 4], eax
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
push 0x52ffb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x52fe9b
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 0x52ff9f
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 0x52ff99
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xc8
jle 0x52fef2
push 0xa
call fcn.00442010
add esp, 4
jmp 0x52fefc
push 2
call fcn.00442010
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 0x52ff94
mov dword [ebp - 8], 0
push 0x74
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x1c]
call fcn.0045c9e0
mov ecx, dword [ebp + 0x1c]
call fcn.0045c6d0
movzx eax, al
test eax, eax
je 0x52ff51
mov ecx, dword [ebp + 0x30]
mov byte [ecx], 1
push 0x638a18
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 0x52ff9f
cmp dword [ebp + 0x10], 0
je 0x52ff94
call fcn.00442020
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 4]
jbe 0x52ff94
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 0x52ff94
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 0x52ff9f
jmp 0x52fec5
mov edx, dword [ebp - 0x44]
mov al, byte [edx + 0x44]
mov esp, ebp
pop ebp
ret 0x30