Function at 0x40765c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x441d50
call fcn.00440d70
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x407b14
mov ecx, esi
call fcn.00402735
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
push str.udpsrv
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040268c
test al, al
je 0x407ae9
mov ecx, esi
call fcn.00402735
push 0x45e270
mov ecx, esi
call fcn.0040268c
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, str.port
test al, al
je 0x4077af
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004074e7
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004407be
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push ebx
mov ecx, esi
call fcn.0040268c
test al, al
je 0x4077af
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov dword [ebp - 0x10], 1
call fcn.004074e7
push dword [eax]
mov byte [ebp - 4], 4
call edi
pop ecx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.00402767
cmp dword [ebp - 0x10], 0
je 0x407ae9
push str.tcpsrv
mov ecx, esi
call fcn.0040268c
test al, al
je 0x407ae9
mov ecx, esi
call fcn.00402735
push 0x45e270
mov ecx, esi
call fcn.0040268c
test al, al
je 0x4077b5
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004074e7
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004407be
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push ebx
mov ecx, esi
call fcn.0040268c
test al, al
je 0x4077b5
mov dword [ebp - 0x10], 1
jmp 0x4077bb
and dword [ebp - 0x10], 0
jmp 0x40773a
and dword [ebp - 0x10], 0
jmp 0x4077de
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004074e7
push dword [eax]
mov byte [ebp - 4], 6
call edi
pop ecx
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.00402767
cmp dword [ebp - 0x10], 0
je 0x407ae9
push str.stunsrv
mov ecx, esi
call fcn.0040268c
test al, al
je 0x407ae9
mov ecx, esi
call fcn.00402735
push 0x45e270
mov ecx, esi
call fcn.0040268c
test al, al
je 0x407b25
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004074e7
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.004407be
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push ebx
mov ecx, esi
call fcn.0040268c
test al, al
je 0x407b25
push 1
lea eax, [ebp - 0x1c]
pop ebx
mov ecx, esi
push eax
call fcn.004074e7
push dword [eax]
mov byte [ebp - 4], 8
call edi
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.00402767
test ebx, ebx
je 0x407ae9
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call fcn.00422cb8
test eax, eax
je 0x407ae9
mov ecx, dword [0x449dec]
lea ebx, [ecx + eax]
test ebx, ebx
mov dword [ebp - 0x34], ebx
je 0x4078b2
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
test ebx, ebx
mov byte [ebp - 4], 9
je 0x407adb
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_4
push dword [ebp - 0x2c]
mov esi, str._s:_d
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push dword [ebp - 0x28]
push esi
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x18]
push dword [ebp - 0x30]
push dword [ebp - 0x24]
push esi
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
push esi
push eax
call sub.MFC42.DLL_CString::Format
push 0xffffffffffffffff
push 0x449c4c
call fcn.0040a3d7
add esp, 0x18
mov dword [ebp - 0x10], eax
push dword [ebp - 0x1c]
and word [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.00405639
sub esp, 0x10
lea esi, [ebp - 0x44]
mov edi, esp
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x10]
mov byte [ebp - 4], 0xe
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
push str.P2PSvrUDP_result:_d
push str.music.txt
call fcn.00441145
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push 0x449c74
call fcn.0040a3d7
and word [ebp - 0x44], 0
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
call fcn.00405639
mov byte [ebp - 4], 0xf
sub esp, 0x10
lea esi, [ebp - 0x44]
mov edi, esp
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
push str.P2PSvrTCP_result:_d
push str.music.txt
call fcn.00441145
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push 0x449c9c
call fcn.0040a3d7
and word [ebp - 0x44], 0
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.00405639
sub esp, 0x10
lea esi, [ebp - 0x44]
mov edi, esp
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x54]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
push str.StunSvr_result:_d
push str.music.txt
call fcn.00441145
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push 0x449c28
call fcn.0040a3d7
or word [ebp - 0x3c], 0xffff
mov dword [ebp - 0x10], eax
mov word [ebp - 0x44], 0xb
mov ecx, dword [ebx]
lea esi, [ebp - 0x44]
push ecx
push ecx
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
mov byte [ebp - 4], 0x11
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x54]
mov esi, eax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push esi
push str.EnableP2P_result:_d
push str.music.txt
call fcn.00441145
add esp, 0xc
mov byte [ebp - 4], 0xc
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp + 8]
test ebx, ebx
mov byte [ebp - 4], 2
je 0x407ae9
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, esi
call fcn.00402767
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
xor ebx, ebx
jmp 0x407878