Function at 0x405e40
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Read .ini file
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5029d0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x16b0
call fcn.00497fd0
mov eax, dword [0x549394]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
push str.Global214C9633_51FA_4072_8A4E_9D1198661143
push 1
push 0
mov dword [ebp - 0x1688], eax
mov dword [ebp - 0x16a0], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x16a4], eax
mov dword [ebp - 0x169c], edi
test eax, eax
je 0x405fc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405fc5
mov ecx, esi
mov dword [ebp - 0x1020], 0
xor eax, eax
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405ef3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1030]
call fcn.00408b30
mov eax, dword [ebp - 0x1020]
add eax, eax
mov dword [ebp - 0x1684], 0x2716
cmp dword [ebp - 0x101c], 8
mov dword [ebp - 0x1680], eax
lea eax, [ebp - 0x1030]
cmovae eax, dword [ebp - 0x1030]
push 0
push str.AdBlockTrayMainWndClassName
mov dword [ebp - 0x167c], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x405f76
push 0
push 0x1388
push 1
lea eax, [ebp - 0x1684]
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov esi, dword [ebp - 0x16a4]
push esi
call edi
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x405fcb
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405fb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e4
push edx
push ecx
call fcn.00497977
add esp, 8
jmp 0x405fcb
mov esi, eax
jmp 0x405fcb
mov esi, dword [ebp - 0x16a4]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x406137
push esi
call edi
lea ecx, [ebp - 0x1680]
call fcn.00413670
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1695], al
mov dword [ebp - 4], 0
or edi, 0xffffffff
mov esi, dword [ebp - 0x167c]
test esi, esi
je 0x40602f
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40602f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406029
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1695]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406125
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407a20
mov edx, str.app_need_adjust_privilege
lea ecx, [ebp - 0x10d0]
call fcn.00405c40
lea ecx, [ebp - 0x1680]
call fcn.00413670
lea edx, [ebp - 0x10d0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x167c]
test esi, esi
je 0x4060a5
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4060a5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4060a5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x10d4], eax
lea ecx, [ebp - 0x10cc]
call fcn.004081f0
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x10d4], eax
lea eax, [ebp - 0x1080]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x16a0]
mov ecx, esi
call fcn.00410da0
jmp 0x406286
lea ecx, [ebp - 0x1680]
call fcn.00413670
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1695], al
mov dword [ebp - 4], 3
or edi, 0xffffffff
mov esi, dword [ebp - 0x167c]
test esi, esi
je 0x40618a
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40618a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406184
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1695]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406280
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407a20
mov edx, str.run_under_admin
lea ecx, [ebp - 0x10d0]
call fcn.00405c40
lea ecx, [ebp - 0x1680]
call fcn.00413670
lea edx, [ebp - 0x10d0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 4
mov esi, dword [ebp - 0x167c]
test esi, esi
je 0x406200
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406200
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406200
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x10d4], eax
lea ecx, [ebp - 0x10cc]
call fcn.004081f0
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x10d4], eax
lea eax, [ebp - 0x1080]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x16a0]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x4063e5
push dword [ebp - 0x16a4]
call dword [ebp - 0x169c]
lea ecx, [ebp - 0x1680]
call fcn.00413670
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1695], al
mov dword [ebp - 4], 6
mov esi, dword [ebp - 0x167c]
test esi, esi
je 0x4062f2
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x4062f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4062ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1695]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4072c2
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407a20
mov edx, str.init_com_failed
lea ecx, [ebp - 0x10d0]
call fcn.00405c40
lea ecx, [ebp - 0x1680]
call fcn.00413670
lea edx, [ebp - 0x10d0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 7
mov esi, dword [ebp - 0x167c]
test esi, esi
je 0x406367
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406367
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x406367
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x10d4], eax
lea ecx, [ebp - 0x10cc]
call fcn.004081f0
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x10d4], eax
lea eax, [ebp - 0x1080]
mov dword [ebp - 4], 8
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
jmp 0x4072c2
call fcn.0040fef0
push ecx
call fcn.0040fe50
add esp, 4
call fcn.00407570
add eax, 4
mov dword [ebp - 0x1020], 0
mov edx, esi
mov dword [ebp - 0x16a8], eax
xor eax, eax
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406423
sub edx, ecx
lea ecx, [ebp - 0x1030]
sar edx, 1
push edx
push esi
call fcn.00408b30
mov ecx, dword [ebp - 0x16a8]
lea eax, [ebp - 0x1030]
push eax
call fcn.004228a0
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x406491
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072e9
push edx
push ecx
call fcn.00497977
add esp, 8
lea ecx, [ebp - 0x1680]
call fcn.00413670
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1695], al
mov dword [ebp - 4], 9
mov esi, dword [ebp - 0x167c]
test esi, esi
je 0x4064e1
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x4064e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4064db
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1695]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4065f7
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407a20
mov edx, str.run_cmd_:
lea ecx, [ebp - 0x10d0]
call fcn.00405c40
mov ecx, dword [ebp - 0x16a0]
mov eax, str._null_
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x10d0]
push eax
call fcn.00409510
add esp, 8
lea ecx, [ebp - 0x1680]
call fcn.00413670
lea edx, [ebp - 0x10d0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xa
mov esi, dword [ebp - 0x167c]
test esi, esi
je 0x406577
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406577
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406577
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x10d4], eax
lea ecx, [ebp - 0x10cc]
call fcn.004081f0
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x10d4], eax
lea eax, [ebp - 0x1080]
mov dword [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00407680
push reloc.OLEAUT32.dll_SysReAllocString
push str.SOFTWAREADBlockMaster
push str.ADBlockMaster.exe
mov ecx, eax
call fcn.004242c0
push 0
push 0
push 0
push str.adbk
lea eax, [ebp - 0x16c0]
mov dword [ebp - 0x1034], 0
push str.http:__s.91toolbox.com_adbk_pidpidtypetypeactionactionappappappverappvermidmidmid2mid2modvermodver
push eax
call fcn.00424670
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x406643
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1034]
call fcn.004086b0
mov edx, dword [ebp - 0x16ac]
cmp edx, 8
jb 0x40668f
mov ecx, dword [ebp - 0x16c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406685
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072ee
push edx
push ecx
call fcn.00497977
add esp, 8
call fcn.00407730
push dword [ebp - 0x1034]
mov ecx, eax
push str.operate
call fcn.00425160
push dword [ebp - 0x1688]
call fcn.0042be60
add esp, 4
lea eax, [ebp - 0x1310]
push 0x84
push 0
push eax
call fcn.004d9120
add esp, 0xc
lea eax, [ebp - 0x1310]
push eax
call fcn.004274e0
add esp, 4
lea ecx, [ebp - 0x1310]
push str.skin
call fcn.0042daa0
lea ecx, [ebp - 0x1310]
call fcn.00427640
push eax
call fcn.0042c0e0
add esp, 4
push 1
push str.adblocktray.zip
call fcn.0042c1a0
add esp, 8
call fcn.00407410
push dword [eax]
push 1
push 0x532e50
push str.auto_run
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x167c], eax
mov dword [ebp - 0x16a8], ecx
jne 0x406b27
mov esi, dword [0x555108]
xor ecx, ecx
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], cx
test esi, esi
jne 0x406812
push 0x54af0c
call eax
cmp dword [0x555108], esi
jne 0x406801
push 0x34
call fcn.004976ca
mov esi, eax
add esp, 4
mov dword [esi + 4], 0
lea ecx, [esi + 4]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi], vtable.CCommandParser.0
call fcn.00421f60
xor ecx, ecx
lea eax, [ebp - 0x1688]
lock or dword [eax], ecx
mov dword [0x555108], esi
push 0x54af0c
call dword [ebp - 0x16a8]
mov esi, dword [0x555108]
push 4
xor eax, eax
mov dword [ebp - 0x16b0], 0
push str.from
lea ecx, [ebp - 0x16c0]
mov dword [ebp - 0x16ac], 7
mov word [ebp - 0x16c0], ax
call fcn.00408b30
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x16c0]
lea ecx, [esi + 4]
push eax
call fcn.004226c0
mov edx, dword [ebp - 0x16ac]
cmp edx, 8
jb 0x406897
mov ecx, dword [ebp - 0x16c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40688d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072f3
push edx
push ecx
call fcn.00497977
add esp, 8
mov eax, dword [ebp - 0x101c]
lea ecx, [ebp - 0x1030]
mov esi, dword [ebp - 0x1030]
cmp eax, 8
mov edx, dword [ebp - 0x1020]
cmovae ecx, esi
cmp edx, 4
jne 0x4068d8
push edx
mov edx, str.task
call fcn.0040a220
add esp, 4
test eax, eax
je 0x406932
mov eax, dword [ebp - 0x101c]
mov edx, dword [ebp - 0x1020]
cmp eax, 8
lea ecx, [ebp - 0x1030]
cmovae ecx, esi
cmp edx, 3
jne 0x406907
push edx
mov edx, 0x532388
call fcn.0040a220
add esp, 4
test eax, eax
je 0x406932
mov eax, dword [ebp - 0x101c]
mov edx, dword [ebp - 0x1020]
cmp eax, 8
lea ecx, [ebp - 0x1030]
cmovae ecx, esi
cmp edx, 3
jne 0x406af3
push edx
mov edx, 0x532390
call fcn.0040a220
add esp, 4
test eax, eax
jne 0x406aed
lea ecx, [ebp - 0x168c]
call fcn.00413670
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1695], al
mov dword [ebp - 4], 0xc
mov esi, dword [ebp - 0x1688]
test esi, esi
je 0x406982
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406982
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40697c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1695]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406a7c
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407a20
lea eax, [ebp - 0x10d0]
push str.user_close_auto_run__exit
push eax
call fcn.00409510
add esp, 8
lea ecx, [ebp - 0x168c]
call fcn.00413670
lea edx, [ebp - 0x10d0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xd
mov esi, dword [ebp - 0x1688]
test esi, esi
je 0x4069fc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4069fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4069fc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x10d4], eax
lea ecx, [ebp - 0x10cc]
call fcn.004081f0
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x10d4], eax
lea eax, [ebp - 0x1080]
mov dword [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00407730
sub esp, 0x28
mov ecx, esp
push 0
push str.autoitem
push 1
push 0
mov dword [ecx + 0x24], 0
mov ecx, eax
push str.autooff
call fcn.004251b0
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x40724d
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406ade
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072f8
push edx
push ecx
call fcn.00497977
add esp, 8
jmp 0x40724d
mov eax, dword [ebp - 0x101c]
cmp eax, 8
jb 0x406b27
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x406b1d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4072fd
push ecx
push esi
call fcn.00497977
add esp, 8
cmp word [0x5557b0], 0
jne 0x406b4e
push 0x104
push 0x5557b0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5557b0
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, 0x5557b0
mov dword [ebp - 0x1020], 0
xor eax, eax
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406b73
sub ecx, edx
sar ecx, 1
push ecx
push 0x5557b0
lea ecx, [ebp - 0x1030]
call fcn.00408b30
push 0x208
lea eax, [ebp - 0x1240]
push 0
push eax
call fcn.004d9120
add esp, 0xc
lea eax, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 8
cmovae eax, dword [ebp - 0x1030]
push str.config.ini
push eax
lea eax, [ebp - 0x1240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x406c10
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406c06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407302
push edx
push ecx
call fcn.00497977
add esp, 8
mov esi, dword [ebp - 0x16a0]
lea ecx, [ebp - 0x1240]
xor eax, eax
mov dword [ebp - 0x1020], 0
push esi
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
call fcn.004196d0
test al, al
jne 0x406dbe
call fcn.00407730
sub esp, 0x28
mov ecx, esp
push 0
push str.operate
push 0
push 0
mov dword [ecx + 0x24], 0
mov ecx, eax
push str.no_active
call fcn.004251b0
lea ecx, [ebp - 0x168c]
call fcn.00413670
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1695], al
mov dword [ebp - 4], 0xf
mov esi, dword [ebp - 0x1688]
test esi, esi
je 0x406cbf
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406cbf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406cb9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1695]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x40724d
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407a20
lea eax, [ebp - 0x10d0]
push str.CheckEnableAutoRun_False__exit
push eax
call fcn.00409510
add esp, 8
lea ecx, [ebp - 0x168c]
call fcn.00413670
lea edx, [ebp - 0x10d0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0x10
mov esi, dword [ebp - 0x1688]
test esi, esi
je 0x406d39
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406d39
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406d39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x10d4], eax
lea ecx, [ebp - 0x10cc]
call fcn.004081f0
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x10d4], eax
lea eax, [ebp - 0x1080]
mov dword [ebp - 4], 0x11
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x40724d
call fcn.00407320
call fcn.0041e5e0
test eax, eax
je 0x4070c8
call fcn.00407320
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x1688], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x406de0
sub edx, dword [ebp - 0x1688]
lea ecx, [eax + 0xc]
sar edx, 1
push edx
push esi
call fcn.00408b30
call fcn.00407320
push 0x208
mov esi, eax
lea eax, [ebp - 0x1240]
push 0
push eax
call fcn.004d9120
add esp, 0xc
lea eax, [ebp - 0x1240]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.update_tempupdate.exe
lea eax, [ebp - 0x1240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esi, 0xc
cmp dword [esi + 0x14], 8
jb 0x406e58
mov esi, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x1288], 0x44
lea eax, [ebp - 0x1288]
movlpd qword [ebp - 0x1284], xmm0
push eax
movlpd qword [ebp - 0x127c], xmm0
movlpd qword [ebp - 0x1274], xmm0
movlpd qword [ebp - 0x126c], xmm0
movlpd qword [ebp - 0x1264], xmm0
movlpd qword [ebp - 0x125c], xmm0
movlpd qword [ebp - 0x1254], xmm0
movlpd qword [ebp - 0x124c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x125c], 1
mov word [ebp - 0x1258], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x1694], xmm0
test esi, esi
je 0x406f1a
push 0x1000
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.004d9120
add esp, 0xc
lea eax, [ebp - 0x1240]
push esi
push eax
lea eax, [ebp - 0x1018]
push str.__s___s
push eax
call fcn.00411c00
add esp, 0x10
lea eax, [ebp - 0x1694]
push eax
lea eax, [ebp - 0x1288]
push eax
lea eax, [ebp - 0x1018]
jmp 0x406f2e
lea eax, [ebp - 0x1694]
push eax
lea eax, [ebp - 0x1288]
push eax
lea eax, [ebp - 0x1240]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x4070c8
push dword [ebp - 0x1690]
call dword [ebp - 0x169c]
push dword [ebp - 0x1694]
call dword [ebp - 0x169c]
test esi, esi
je 0x4070c8
lea ecx, [ebp - 0x168c]
call fcn.00413670
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1695], al
mov dword [ebp - 4], 0x12
mov esi, dword [ebp - 0x1688]
test esi, esi
je 0x406fbd
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406fbd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406fb7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1695]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4070b7
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407a20
lea eax, [ebp - 0x10d0]
push str.need_update__exit
push eax
call fcn.00409510
add esp, 8
lea ecx, [ebp - 0x168c]
call fcn.00413670
lea edx, [ebp - 0x10d0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0x13
mov esi, dword [ebp - 0x1688]
test esi, esi
je 0x407037
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x407037
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x407037
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x10d4], eax
lea ecx, [ebp - 0x10cc]
call fcn.004081f0
mov eax, dword [ebp - 0x10d0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10d0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x10d4], eax
lea eax, [ebp - 0x1080]
mov dword [ebp - 4], 0x14
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041f982
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x16a4]
call dword [ebp - 0x169c]
jmp 0x40724d
push 0x364
lea eax, [ebp - 0x1678]
push 0
push eax
call fcn.004d9120
add esp, 0xc
lea ecx, [ebp - 0x1678]
call fcn.0040e7a0
xor eax, eax
mov dword [ebp - method.CMainWnd.3.virtual_0], vtable.CMainWnd.3.0
mov word [ebp - 0x1348], ax
lea edx, [ebp - 0x1688]
mov byte [ebp - 0x1330], al
lea ecx, [ebp - 0x169c]
mov dword [ebp - 0x132c], eax
mov dword [ebp - 0x1328], eax
mov dword [ebp - 0x1324], eax
mov byte [ebp - 0x1320], al
mov dword [ebp - 0x131c], eax
lea eax, [ebp - 0x1678]
mov dword [ebp - method.DuiLib::WindowImplBase.4.virtual_0], vtable.CMainWnd.6.0
mov dword [ebp - method.DuiLib::WindowImplBase.2.virtual_0], vtable.CMainWnd.2.0
mov dword [ebp - method.DuiLib::WindowImplBase.1.virtual_0], vtable.CMainWnd.4.0
mov dword [ebp - method.DuiLib::CTxtWinHost.virtual_88], vtable.CMainWnd.1.0
mov dword [ebp - method.DuiLib::CAnimationOwner.virtual_16], vtable.CMainWnd.5.0
mov dword [ebp - method.DuiLib::CControlUI.virtual_384], vtable.CMainWnd.0
mov dword [ebp - 0x135c], 0
mov dword [ebp - 0x1358], 0xffffffff
mov dword [ebp - 0x1354], 0xffffffff
mov dword [ebp - 0x134c], 0
mov dword [ebp - 0x1338], 0
mov dword [ebp - 0x1334], 7
mov dword [ebp - 0x1688], eax
call fcn.00416a50
lea ecx, [ebp - 0x131c]
cmp ecx, eax
je 0x4071dd
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp - 0x131c]
mov dword [ebp - 0x131c], ecx
test eax, eax
je 0x4071dd
push eax
call fcn.004169a0
mov eax, dword [ebp - 0x169c]
test eax, eax
je 0x4071ed
push eax
call fcn.004169a0
push 0x53353c
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x80
push SysReAllocString
push str.adbk_tray
push 0
lea ecx, [ebp - 0x1678]
mov dword [ebp - 0x1318], eax
call fcn.0042caa0
lea ecx, [ebp - 0x1678]
call fcn.0042cc60
mov ecx, eax
call fcn.00429c10
lea ecx, [ebp - 0x1678]
call fcn.004142c0
cmp dword [0x555108], 0
je 0x407286
push 0x54af0c
call dword [ebp - 0x167c]
mov ecx, dword [0x555108]
test ecx, ecx
je 0x40727b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x555108], 0
push 0x54af0c
call dword [ebp - 0x16a8]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x1310]
call fcn.004236a0
mov edx, dword [ebp - 0x1034]
add edx, 0xfffffff0
mov dword [ebp - 4], 0x15
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4072c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049742c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004dca8d
call fcn.004dca8d
call fcn.004dca8d
call fcn.004dca8d
call fcn.004dca8d
call fcn.004dca8d
call fcn.004dca8d
int3