Function at 0x42f640
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433c69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
jne 0x42f6b2
lea ecx, [ebp + 8]
call fcn.00408e10
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x42f6b2
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x40]
jmp 0x42f82e
lea ecx, [ebp + 8]
call fcn.00408e10
mov dword [ebp - 0x58], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
call dword [eax + 0x4c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x60]
imul eax, eax, 0x3e8
mov dword [ebp - 0x1c], eax
call sub.MFC42.DLL_AfxGetModuleThreadState
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x20], ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x64
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x18], 0
jne 0x42f783
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x50], 0
jne 0x42f781
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x38], 0x113
jne 0x42f77f
cmp dword [ebp - 0x34], 0x64
jne 0x42f77f
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x44]
jmp 0x42f82e
jmp 0x42f714
jmp 0x42f7ed
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0
jne 0x42f7ed
push 0
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x38], 0x113
jne 0x42f7eb
cmp dword [ebp - 0x34], 0x64
jne 0x42f7eb
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x48]
jmp 0x42f82e
jmp 0x42f783
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4c]
jmp 0x42f82e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8