Function at 0x100074a0
Capabilities:
Create thread
Resolve dns

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push eax
mov ecx, 0x10016430
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [0x10016430]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x1000751b
mov edx, dword [0x10016430]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10007541
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov edx, ecx
lea edi, [esp + 0xc]
mov esi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, str.192.168.1.2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x1000753c
mov edi, dword [0x10016430]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, str.192.168.1.2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov dword [0x10016438], ecx
mov ecx, dword [esp + 0x1c]
mov dword [0x100140f8], eax
mov dword [0x100140fc], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [0x1001632c], edx
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x10015e18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x1001687c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [0x10014104], 0xffffffff
test eax, eax
mov dword [0x1001643c], ecx
jle 0x100076ab
push ebx
mov ebx, 0x10015f18
mov dword [esp + 0x28], eax
cmp dword [esp + 0x38], 1
jne 0x10007685
mov edx, dword [esp + 0x18]
mov ecx, 0x10016430
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [0x10016430]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x1000765f
mov ecx, dword [0x10016430]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10007685
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, ecx
lea edi, [esp + 0x34]
mov esi, dword [edx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, str.192.168.1.2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x10007680
mov edi, dword [0x10016430]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, str.192.168.1.2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
push 0
push 0x10006c70
push 0
push 0
call ebp
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
add ebx, 4
dec eax
mov dword [esp + 0x28], eax
jne 0x100075de
pop ebx
mov eax, dword [0x100140fc]
test eax, eax
je 0x100076c5
push 0
push 0
push 0
push 0x100040c0
push 0
push 0
call ebp
pop edi
pop esi
pop ebp
pop ecx
ret