Function at 0x41f230
Capabilities:
Check for time delay via gettickcount
Create tcp socket
Get graphical window text
Set socket configuration
Start tcp server

Disassembly:
sub esp, 0x3c
mov eax, dword [0x444dcc]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push ebp
push 0x184
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x444de4]
mov dword [0x444dc0], ebp
cmp eax, ebp
jne 0x41f270
push str.Link_up_is_not_available.
call fcn.0041e5d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edx, dword [0x444dc4]
lea ecx, [esp + 0x14]
push 0xa
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x14]
push eax
call fcn.00429414
mov esi, eax
add esp, 4
cmp si, bp
jbe 0x41f2b9
mov ecx, esi
lea edx, [esp + 0x14]
and ecx, 0xffff
push ecx
push 0x43f318
push edx
call fcn.00428cc5
mov word [0x445dec], si
jmp 0x41f2d1
xor eax, eax
lea ecx, [esp + 0x14]
mov ax, word [0x445dec]
push eax
push 0x43f318
push ecx
call fcn.00428cc5
mov eax, dword [0x444dc4]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextA]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push eax
call esi
mov ebx, 1
push 6
push ebx
push 2
call sub.WS2_32.dll_socket
mov edi, eax
cmp edi, 0xffffffff
jne 0x41f312
push str.Create_local_TCP_socket_FAILED.
call fcn.0041e5d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov cx, word [0x445dec]
mov word [esp + 0x20], 2
push ecx
mov dword [esp + 0x28], ebp
call sub.WS2_32.dll_htons
lea edx, [esp + 0x20]
push 0x10
push edx
push edi
mov word [esp + 0x2e], ax
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
jne 0x41f365
push edi
call sub.WS2_32.dll_closesocket
xor eax, eax
mov ax, word [0x445dec]
push eax
push str.Binding_to_port__d_FAILED.
call fcn.0041e5d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 5
push edi
call sub.WS2_32.dll_listen
cmp eax, 0xffffffff
jne 0x41f38d
push edi
call sub.WS2_32.dll_closesocket
push str.Set_Listen_Mode_FAILED.
call fcn.0041e5d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x41f3c1
push edi
call sub.WS2_32.dll_closesocket
push str.Configure_local_TCP_socket_FAILED.
call fcn.0041e5d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, 0x11
call fcn.00423130
mov edx, dword [0x444dd8]
push eax
push edx
call esi
mov eax, dword [0x444dc8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push ebp
push eax
call esi
mov ecx, dword [0x444ddc]
push ebp
push ecx
call esi
mov edx, dword [0x444dd4]
push ebp
push edx
call esi
mov eax, dword [0x444dc4]
push ebp
push eax
call esi
mov dword [0x445f50], ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
xor ecx, ecx
mov ebp, eax
mov cx, word [0x445dec]
push 0x2d
push ecx
push str.Listening_on_port__d_for__d_seconds...
call fcn.0041e5d0
add esp, 0xc
call ebx
sub eax, ebp
cmp eax, 0xafc8
jae 0x41f4e0
push 0
push 0
push edi
call sub.WS2_32.dll_accept
cmp eax, 0xffffffff
mov dword [0x43f1a0], eax
jne 0x41f4e0
push 1
push 0
push 0
lea edx, [esp + 0x3c]
push 0
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x41f4ab
cmp dword [esp + 0x34], 0x12
je 0x41f4c5
mov eax, dword [0x444de0]
test eax, eax
je 0x41f4c5
mov ecx, dword [0x44537c]
mov edx, dword [0x445378]
lea eax, [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x41f4ab
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [0x445f50]
test eax, eax
je 0x41f4d3
call ebx
sub eax, ebp
cmp eax, 0xafc8
jb 0x41f439
jmp 0x41f4e0
push edi
call sub.WS2_32.dll_closesocket
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push str.Aborted.
call fcn.0041e5d0
add esp, 4
push edi
call sub.WS2_32.dll_closesocket
mov edx, dword [0x444de0]
mov ecx, 0x78
call fcn.00422e60
mov edx, dword [0x444dc8]
mov ebx, 1
push ebx
push edx
call esi
mov eax, dword [0x444ddc]
push ebx
push eax
call esi
mov ecx, dword [0x444dd4]
push ebx
push ecx
call esi
mov edx, dword [0x444dc4]
push ebx
push edx
call esi
mov eax, dword [0x445f50]
xor edi, edi
cmp eax, edi
je 0x41f54a
mov eax, dword [0x43f1a0]
mov dword [0x445f50], edi
cmp eax, 0xffffffff
jne 0x41f558
push str.Timeout__remote_connection_not_established.
call fcn.0041e5d0
add esp, 4
mov eax, dword [0x43f1a0]
cmp eax, 0xffffffff
je 0x41f603
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x41f59c
mov edx, dword [0x43f1a0]
push edx
call sub.WS2_32.dll_closesocket
mov dword [0x43f1a0], 0xffffffff
push str.Configure_remote_TCP_socket_FAILED.
call fcn.0041e5d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [0x444dcc]
push edi
push edi
push 0x184
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 0x13
mov dword [0x444dc0], edi
call fcn.00423130
push eax
call fcn.0041e5d0
add esp, 4
mov ecx, 0x12
mov dword [0x444de8], ebx
call fcn.00423130
mov ecx, dword [0x444dc8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x444dd8]
push edi
push edx
call esi
mov eax, dword [0x444dd4]
push edi
push eax
call esi
mov ecx, dword [0x444dc4]
push edi
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret