Function at 0x41f6d0
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
sub esp, 0x508
push esi
mov esi, ecx
push edi
push 4
mov eax, dword [esi + 0xf830]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00425cb0
mov eax, dword [esi + 0xf830]
mov ecx, dword [eax + 8]
test ecx, ecx
mov ecx, str._x:_x:
jne 0x41f704
mov ecx, str._x:_x:_x:
mov edx, dword [eax + 4]
push 0
mov eax, dword [edx + 8]
mov edx, dword [esi + 0xf908]
push eax
push edx
lea eax, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 0xf830]
add esp, 0x14
mov edx, dword [ecx]
push 0
push 0
push 0
mov dword [edx + 0x18], 1
mov eax, dword [esi + 0xf830]
mov ecx, dword [esi + 0xb698]
push 0
mov eax, dword [eax + 8]
mov edx, dword [ecx + 0x14]
neg eax
sbb eax, eax
lea edi, [edx + 1]
and eax, 2
mov dword [ecx + 0x14], edi
lea edi, [esp + 0x1c]
add eax, 0x60
push edi
push eax
push edx
lea edx, [esp + 0x12c]
push edx
call fcn.0049c6b0
mov eax, dword [esi + 0xf830]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esi + 0xb698]
push edx
call fcn.0049d550
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x114]
push ecx
mov ecx, dword [esi + 0xf830]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push eax
call sub.WSOCK32.dll_send
mov edx, eax
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x41f7df
push eax
mov ecx, esi
call fcn.004208a0
pop edi
xor eax, eax
pop esi
add esp, 0x508
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xf830]
mov edx, dword [ecx]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0xf830]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 0xf830]
mov ecx, dword [eax + 0x80]
test ecx, ecx
jne 0x41f819
mov edx, dword [eax]
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x80], ecx
mov edi, dword [esi + 0xf830]
mov eax, dword [edi + 8]
test eax, eax
jne 0x41f87e
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [edi + 4]
push ebp
test eax, eax
mov edx, dword [ebx + 8]
mov dword [edi + 0x18], edx
mov ebp, dword [ebx + 0xc]
je 0x41f845
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push ebp
call dword [sym.imp.MSVCRT.dll__strdup]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x24], eax
mov ecx, dword [ebx + 0x18]
mov dword [edi + 0x28], ecx
mov edx, dword [ebx + 0x1c]
mov dword [edi + 0x2c], edx
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x30], eax
mov ecx, dword [ebx + 0x24]
mov dword [edi + 0x34], ecx
mov edx, dword [ebx + 0x28]
add esp, 4
mov dword [edi + 0x38], edx
mov eax, dword [ebx + 0x2c]
pop ebp
mov dword [edi + 0x3c], eax
pop ebx
mov ecx, dword [esi + 0x3540]
mov edx, dword [ecx + 0x5668]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [esi + 0xf830]
add esp, 4
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 0xf830]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41f914
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
or edx, ecx
jne 0x41f914
mov ecx, esi
call fcn.00420550
test eax, eax
je 0x41f8d9
mov eax, dword [esi + 0xf830]
push 1
mov ecx, esi
mov dword [eax + 0x90], 8
call fcn.0041fbb0
jmp 0x41f8e9
mov ecx, dword [esi + 0xf830]
mov dword [ecx + 0x90], 9
mov edx, dword [esi + 0xf830]
push 0x20
mov eax, dword [edx]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 8]
push ecx
push 0x483
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x508
ret
mov dword [eax + 0x60], 0xffffffff
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x41fa70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0xf830]
mov dword [ecx + 0x60], eax
mov edx, dword [esi + 0xf830]
mov eax, dword [edx + 0x60]
test eax, eax
jne 0x41f906
push 0
mov ecx, esi
call fcn.004208a0
pop edi
xor eax, eax
pop esi
add esp, 0x508
ret