Function at 0x413fa0
Capabilities:
Check if file exists
Initialize winsock library
Set registry value

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x4275b4]
xor eax, esp
mov dword [esp + 0x1ac], eax
push esi
mov esi, dword [esp + 0x1c0]
push esi
push str._tWinMain_:__s
push str.QMControl.txt
call dword [0x419350]
add esp, 0xc
lea eax, [esp + 0x10]
push str.Log.ini
push eax
call fcn.00413c00
add esp, 4
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00407e70
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414010
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41402a
push 0x4133c0
call dword [0x419120]
push esi
lea ecx, [esp + 8]
call fcn.00408d70
mov edx, dword [esp + 4]
push str.Regserver
push edx
call fcn.00413ec0
add esp, 8
test eax, eax
je 0x4141bc
mov esi, dword [section..rdata]
push edi
lea eax, [esp + 0xc]
push eax
push 0x2001f
xor edi, edi
push edi
push str.SOFTWARETENCENTQQMusic
push closesocket
mov dword [esp + 0x20], edi
call esi
test eax, eax
jne 0x41407c
mov edi, dword [esp + 0xc]
jmp 0x4140af
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARETENCENTQQMusic
push closesocket
mov dword [esp + 0x3c], edi
call dword [0x41900c]
test eax, eax
jne 0x4140af
mov edi, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2001f
push 0
push str.SOFTWARETENCENTQQMusic
push closesocket
mov dword [esp + 0x2c], 0
call esi
test eax, eax
mov ebp, dword [0x419018]
jne 0x414145
xor eax, eax
test edi, edi
je 0x4140e3
push edi
call ebp
test eax, eax
mov edi, dword [esp + 0x18]
jne 0x414145
lea ecx, [esp + 0x20]
push ecx
call fcn.00413c00
mov esi, dword [eax]
add esp, 4
test esi, esi
jne 0x414108
push 0x80004005
call fcn.00401250
push esi
call dword [0x419064]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push str.Install
push edi
call dword [0x419010]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414145
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1cc]
push ecx
mov ecx, 0x427ac8
call fcn.00413e70
test edi, edi
mov esi, eax
je 0x414160
push edi
call ebp
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4141a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.0041632e
add esp, 0x1b0
ret 0x10
mov ecx, dword [esp + 4]
push str.UnRegserver
push ecx
call fcn.00413ec0
add esp, 8
test eax, eax
je 0x414285
push 0x2001f
push str.SOFTWARETENCENT
push closesocket
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
call fcn.00406850
test eax, eax
jne 0x414208
push 0x41ca9c
lea ecx, [esp + 0xc]
call fcn.004136c0
mov edx, dword [esp + 0x1c4]
push edx
mov ecx, 0x427ac8
call fcn.00413e70
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x41422b
push eax
call dword [0x419018]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41424b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41426b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.0041632e
add esp, 0x1b0
ret 0x10
mov ecx, dword [esp + 4]
push str.Embedding
push ecx
call fcn.00413ec0
add esp, 8
test eax, eax
jne 0x4142dd
mov edx, dword [esp + 4]
push str.Automation
push edx
call fcn.00413ec0
add esp, 8
test eax, eax
jne 0x4142dd
lea ecx, [esp + 4]
call fcn.004074a0
lea ecx, [esp + 0xc]
call fcn.004074a0
mov ecx, dword [esp + 0x1b0]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0041632e
add esp, 0x1b0
ret 0x10
lea eax, [esp + 0x20]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x427a68
call fcn.0040bf10
mov ecx, 0x427a68
call fcn.0040a590
mov ecx, dword [esp + 0x1c4]
push ecx
mov ecx, 0x427ac8
call fcn.00413e70
mov ecx, 0x427a68
mov esi, eax
call fcn.0040ab30
call fcn.00406a90
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41423f