Function at 0x406ae0
Capabilities:
Check mutex on windows
Read .ini file

Disassembly:
sub esp, 0x47c
push ebx
push ebp
push esi
push edi
push 0x454de4
call fcn.00403410
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x80]
mov word [0x45f308], ax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x80]
push 0x104
push eax
call fcn.00405310
mov edi, 0x4542d0
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x7c]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x7c]
push eax
mov ecx, ebx
push 2
push 0x45f308
and ecx, 3
push 0x454de0
push str.isSoftDog
push str.dogset
rep movsb byte es:[edi], byte [esi]
call ebp
cmp byte [0x45f308], 0x31
jne 0x406b8f
mov dword [0x45f348], 0x403f90
mov dword [0x45f344], 0x4039f0
jmp 0x406ba3
mov dword [0x45f348], 0x403e50
mov dword [0x45f344], 0x403d70
lea ecx, [esp + 0x284]
push 0x104
push ecx
call fcn.00405310
mov edi, str.Online_Decrypt_BAK
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x284]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x7c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push 0xa
push ecx
push 0x454de0
push str.OnlineDecryptFlg
push str.dogset
call ebp
lea edx, [esp + 0x7c]
lea eax, [esp + 0x388]
push edx
push 0x104
lea ecx, [esp + 0x28c]
push eax
push ecx
push str.OnlineDecryptPath
push str.dogset
call ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x180]
push 0x104
push edx
stosb byte es:[edi], al
call fcn.004053c0
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40]
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.0040a460
lea edx, [esp + 0x48]
lea eax, [esp + 0x398]
push edx
push eax
push 0x454d94
push str.BACKUPPATH
call fcn.0040a1d0
lea ecx, [esp + 0x58]
lea edx, [esp + 0x4c]
push ecx
push edx
push 0x454d84
push str.BACKUPSET
call fcn.0040a1d0
lea eax, [esp + 0x68]
lea ecx, [esp + 0x1b0]
push eax
push ecx
call fcn.0040a600
lea edx, [esp + 0x70]
push edx
call fcn.0040a780
add esp, 0x3c
push str.T611519B_E439_44bc_AAA2_60AAAAFF2EF
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406cf5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x47c
ret
call fcn.00403130
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x5c]
push eax
push str.KeepAliveTime
push str.SYSTEMCurrentControlSetServicesTcpipParameters
call fcn.00403970
add esp, 0xc
test eax, eax
jne 0x406d29
call fcn.00403870
call dword [0x45f348]
test eax, eax
jne 0x406d3d
mov dword [0x45f80c], 5
mov ecx, dword [0x45f340]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x45f3b4
push 0x67
push ecx
call esi
mov edx, dword [0x45f340]
push 0x64
push 0x45f350
push 0x6d
push edx
call esi
mov eax, dword [0x45f340]
push eax
call fcn.00406e30
mov ecx, dword [0x45f334]
mov edx, dword [0x45f340]
push ecx
push edx
call fcn.00406ec0
add esp, 0xc
test eax, eax
jne 0x406d97
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
mov eax, dword [0x45f340]
push 0x6d
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov ecx, dword [0x45f804]
push 0
push 0
push 0x400
push ecx
mov esi, eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea edx, [esp + 0x18]
push 0
push edx
call edi
test eax, eax
je 0x406e14
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push esi
push ecx
call ebp
test eax, eax
jne 0x406e03
lea edx, [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
call edi
test eax, eax
jne 0x406de0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret