Function at 0x53ba5c
Capabilities:
Check for time delay via gettickcount
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x6c0bc0]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xf4], ecx
mov eax, dword [ebp + 0x28]
and byte [eax], 0
mov eax, dword [ebp + 0x2c]
and byte [eax], 0
mov ecx, dword [ebp + 0x20]
call fcn.004cd0cb
mov eax, dword [ebp + 0x24]
and dword [eax], 0
cmp dword [ebp + 0x14], 0
je 0x53baa0
cmp dword [ebp + 0x1c], 0
jne 0x53bb2d
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x53bb26
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
je 0x53bacc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 3]
push eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 2]
push eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + 1]
push eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
push eax
push str._d._d._d._d
lea eax, [ebp - 0xe8]
push eax
call fcn.005913fc
add esp, 0x18
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.004cf872
mov al, 1
jmp 0x53bc7c
xor al, al
jmp 0x53bc7c
push dword [ebp + 8]
mov ecx, dword [ebp - 0xf4]
add ecx, 8
call fcn.004cf872
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x28], ecx
mov eax, dword [ebp - 0xf4]
mov byte [eax + 0x48], 1
push 0x3e9
mov ecx, dword [ebp - 0xf4]
call fcn.0053be91
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 0xf4]
push 0x53bc8b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax + 0x48]
test eax, eax
je 0x53bc4f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jb 0x53bc4a
and dword [ebp - 8], 0
push 0x74
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
call fcn.004f20f4
mov ecx, dword [ebp + 0x1c]
call fcn.004f1f9a
movzx eax, al
test eax, eax
je 0x53bc09
mov eax, dword [ebp + 0x28]
mov byte [eax], 1
push str.DNS_lookup_aborted_by_application_callback
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x18]
call dword [eax + 0x10]
xor al, al
jmp 0x53bc7c
cmp dword [ebp + 0x10], 0
je 0x53bc4a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 4]
jbe 0x53bc4a
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 4]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp + 0x10]
jbe 0x53bc4a
mov eax, dword [ebp + 0x2c]
mov byte [eax], 1
xor al, al
jmp 0x53bc7c
jmp 0x53bba4
mov eax, dword [ebp - 0xf4]
add eax, 0x2c
push eax
mov ecx, dword [ebp + 0x20]
call fcn.004cf8e2
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 0xf4]
mov ecx, dword [ecx + 0x4c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x20]
call fcn.004ccbf8
test eax, eax
setne al
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp + 4]
call fcn.0058cc82
leave
ret 0x28