Function at 0x442308
Capabilities:
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push ebx
push esi
push edi
xor ebx, ebx
push 0x18e
lea eax, [esp + 0x2e]
push ebx
push eax
mov word [esp + 0x34], bx
call fcn.0048af40
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x442363
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push str.localhost
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x4c4140
push ebx
mov dword [esp + 0x14], ebx
call fcn.00491b6c
pop ecx
pop ecx
lea eax, [esp + 0x10]
call fcn.0042463c
push dword [eax]
call fcn.0044acdc
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040151c
call fcn.0041e953
push dword [ebp + 0x10]
mov edi, 0x4e08ac
push edi
call fcn.00441dc5
push dword [ebp + 0x10]
push 0x4e08a8
call fcn.00401ac9
push dword [ebp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.00402503
call fcn.00401b65
call fcn.004421b7
test eax, eax
je 0x4423f3
push str.One_instance_is_running
mov esi, 0x4e096c
call fcn.0044ae36
pop ecx
mov eax, 0xe000000f
call fcn.00424a44
push 6
mov eax, edi
call fcn.0040279d
jmp 0x44250c
call fcn.00441606
cmp eax, 6
push 8
pop esi
je 0x442471
cmp eax, 7
je 0x442471
cmp eax, esi
je 0x442471
cmp eax, 0xa
je 0x442471
cmp eax, 0xb
je 0x442471
cmp eax, 0xc
je 0x442471
push 0x4bb01c
lea eax, [esp + 0x1c]
call fcn.004026f8
test eax, eax
jne 0x442471
push str.IsWinXPAndLater_return_false
mov esi, 0x4e096c
call fcn.0044ae36
pop ecx
mov eax, 0xe0000010
call fcn.00424a44
push 5
mov eax, edi
call fcn.0040279d
cmp byte [0x4e08b8], bl
jne 0x44250c
push 0x40
push 0x4c417c
push 0x4c418c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x44250c
call fcn.00403928
test eax, eax
jne 0x442489
mov eax, 0xe0000011
call fcn.00424a44
jmp 0x44250c
call fcn.004045e9
test eax, eax
jne 0x4424a4
push str.CheckEnvironment_return_fase
mov esi, 0x4e096c
call fcn.0044ae36
pop ecx
jmp 0x44250c
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00443f6a
test eax, eax
jl 0x4424fb
push str.g_App.Run...
mov esi, 0x4e096c
call fcn.0044ae36
pop ecx
call fcn.004039cc
push eax
push str.g_App.Run_return:_d
mov dword [esp + 0x14], eax
call fcn.0044ae36
pop ecx
pop ecx
call fcn.00443df9
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0xc], ebx
jne 0x442515
push 9
mov eax, edi
call fcn.0040279d
cmp dword [0x4e0700], ebx
jne 0x442531
cmp byte [0x4e08b8], bl
jne 0x442531
cmp dword [0x4e0688], ebx
jne 0x442531
xor eax, eax
jmp 0x442534
xor eax, eax
inc eax
push eax
call fcn.00442296
cmp dword [0x4e0830], ebx
pop ecx
jne 0x442548
call fcn.004047f2
call fcn.00442066
cmp dword [0x4e06f8], ebx
je 0x44255a
call fcn.00424893
mov eax, dword [0x4e06b0]
cmp eax, ebx
je 0x442569
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [0x4e0718]
cmp dword [eax - 0xc], ebx
je 0x442581
push ebx
push ebx
push 1
push ebx
push eax
call fcn.00423fa9
add esp, 0x14
mov esi, 0x4e07c4
call fcn.0041f11f
mov esi, 0x4e0758
call fcn.0044006f
call fcn.0044add6
mov eax, dword [0x4e05ac]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x4425b2
push eax
call esi
mov dword [0x4e05ac], ebx
mov eax, dword [0x4e05a8]
cmp eax, ebx
je 0x4425c4
push eax
call esi
mov dword [0x4e05a8], ebx
cmp dword [0x4e0824], ebx
je 0x4425d1
call fcn.00423432
lea esi, [esp + 0x18]
call fcn.0040569d
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10