Function at 0x405d80
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 0x4e9720
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x16b0
call fcn.00494640
mov eax, dword [0x52a394]
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 0x405f01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405f05
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 0x405e33
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1030]
call fcn.00408a80
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 0x405eb6
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 0x405f0b
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ef5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40722f
push edx
push ecx
call fcn.00493ff7
add esp, 8
jmp 0x405f0b
mov esi, eax
jmp 0x405f0b
mov esi, dword [ebp - 0x16a4]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x406077
push esi
call edi
lea ecx, [ebp - 0x1680]
call fcn.00412ca0
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 0x405f6f
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x405f6f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x405f69
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 0x406065
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407970
mov edx, str.app_need_adjust_privilege
lea ecx, [ebp - 0x10d0]
call fcn.00405b80
lea ecx, [ebp - 0x1680]
call fcn.00412ca0
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 0x405fe5
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x405fe5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x405fe5
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.00408140
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.0041d8b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x16a0]
mov ecx, esi
call fcn.00410b20
jmp 0x4061c6
lea ecx, [ebp - 0x1680]
call fcn.00412ca0
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 0x4060ca
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x4060ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4060c4
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 0x4061c0
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407970
mov edx, str.run_under_admin
lea ecx, [ebp - 0x10d0]
call fcn.00405b80
lea ecx, [ebp - 0x1680]
call fcn.00412ca0
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 0x406140
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406140
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406140
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.00408140
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.0041d8b2
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 0x406325
push dword [ebp - 0x16a4]
call dword [ebp - 0x169c]
lea ecx, [ebp - 0x1680]
call fcn.00412ca0
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 0x406232
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406232
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40622c
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 0x40720d
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407970
mov edx, str.init_com_failed
lea ecx, [ebp - 0x10d0]
call fcn.00405b80
lea ecx, [ebp - 0x1680]
call fcn.00412ca0
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 0x4062a7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4062a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4062a7
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.00408140
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.0041d8b2
add esp, 4
jmp 0x40720d
call fcn.0040f8d0
push ecx
call fcn.0040f830
add esp, 4
call fcn.004074c0
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 0x406363
sub edx, ecx
lea ecx, [ebp - 0x1030]
sar edx, 1
push edx
push esi
call fcn.00408a80
mov ecx, dword [ebp - 0x16a8]
lea eax, [ebp - 0x1030]
push eax
call fcn.0041f930
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x4063d1
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4063c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407234
push edx
push ecx
call fcn.00493ff7
add esp, 8
lea ecx, [ebp - 0x1680]
call fcn.00412ca0
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 0x406421
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406421
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40641b
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 0x406537
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407970
mov edx, str.run_cmd_:
lea ecx, [ebp - 0x10d0]
call fcn.00405b80
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.00409460
add esp, 8
lea ecx, [ebp - 0x1680]
call fcn.00412ca0
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 0x4064b7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4064b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4064b7
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.00408140
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.0041d8b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.004075d0
push reloc.OLEAUT32.dll_SysReAllocString
push str.SOFTWAREADBlockMaster
push str.ADBlockMaster.exe
mov ecx, eax
call fcn.00421350
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.00421700
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x406583
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1034]
call fcn.00408600
mov edx, dword [ebp - 0x16ac]
cmp edx, 8
jb 0x4065cf
mov ecx, dword [ebp - 0x16c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4065c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407239
push edx
push ecx
call fcn.00493ff7
add esp, 8
call fcn.00407680
push dword [ebp - 0x1034]
mov ecx, eax
push str.operate
call fcn.004221f0
push dword [ebp - 0x1688]
call fcn.004289f0
add esp, 4
lea eax, [ebp - 0x1310]
push 0x84
push 0
push eax
call fcn.004bff80
add esp, 0xc
lea eax, [ebp - 0x1310]
push eax
call fcn.00424570
add esp, 4
lea ecx, [ebp - 0x1310]
push str.skin
call fcn.0042a310
lea ecx, [ebp - 0x1310]
call fcn.004246d0
push eax
call fcn.00428c70
add esp, 4
push 1
push str.adblocktray.zip
call fcn.00428d30
add esp, 8
call fcn.00407360
push dword [eax]
push 1
push 0x5174e8
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 0x406a67
mov esi, dword [0x534fd0]
xor ecx, ecx
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], cx
test esi, esi
jne 0x406752
push 0x52bfdc
call eax
cmp dword [0x534fd0], esi
jne 0x406741
push 0x34
call fcn.00493d4a
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.0041eff0
xor ecx, ecx
lea eax, [ebp - 0x1688]
lock or dword [eax], ecx
mov dword [0x534fd0], esi
push 0x52bfdc
call dword [ebp - 0x16a8]
mov esi, dword [0x534fd0]
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.00408a80
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x16c0]
lea ecx, [esi + 4]
push eax
call fcn.0041f750
mov edx, dword [ebp - 0x16ac]
cmp edx, 8
jb 0x4067d7
mov ecx, dword [ebp - 0x16c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4067cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40723e
push edx
push ecx
call fcn.00493ff7
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 0x406818
push edx
mov edx, str.task
call fcn.0040a170
add esp, 4
test eax, eax
je 0x406872
mov eax, dword [ebp - 0x101c]
mov edx, dword [ebp - 0x1020]
cmp eax, 8
lea ecx, [ebp - 0x1030]
cmovae ecx, esi
cmp edx, 3
jne 0x406847
push edx
mov edx, 0x516b98
call fcn.0040a170
add esp, 4
test eax, eax
je 0x406872
mov eax, dword [ebp - 0x101c]
mov edx, dword [ebp - 0x1020]
cmp eax, 8
lea ecx, [ebp - 0x1030]
cmovae ecx, esi
cmp edx, 3
jne 0x406a33
push edx
mov edx, 0x516ba0
call fcn.0040a170
add esp, 4
test eax, eax
jne 0x406a2d
lea ecx, [ebp - 0x168c]
call fcn.00412ca0
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 0x4068c2
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x4068c2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4068bc
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 0x4069bc
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407970
lea eax, [ebp - 0x10d0]
push str.user_close_auto_run__exit
push eax
call fcn.00409460
add esp, 8
lea ecx, [ebp - 0x168c]
call fcn.00412ca0
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 0x40693c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40693c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40693c
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.00408140
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.0041d8b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00407680
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.00422240
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x407198
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406a1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407243
push edx
push ecx
call fcn.00493ff7
add esp, 8
jmp 0x407198
mov eax, dword [ebp - 0x101c]
cmp eax, 8
jb 0x406a67
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x406a5d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407248
push ecx
push esi
call fcn.00493ff7
add esp, 8
cmp word [0x535678], 0
jne 0x406a8e
push 0x104
push 0x535678
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x535678
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, 0x535678
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 0x406ab3
sub ecx, edx
sar ecx, 1
push ecx
push 0x535678
lea ecx, [ebp - 0x1030]
call fcn.00408a80
push 0x208
lea eax, [ebp - 0x1240]
push 0
push eax
call fcn.004bff80
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 0x406b50
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406b46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40724d
push edx
push ecx
call fcn.00493ff7
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.00417400
test al, al
jne 0x406cfe
call fcn.00407680
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.00422240
lea ecx, [ebp - 0x168c]
call fcn.00412ca0
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 0x406bff
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406bff
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406bf9
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 0x407198
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407970
lea eax, [ebp - 0x10d0]
push str.CheckEnableAutoRun_False__exit
push eax
call fcn.00409460
add esp, 8
lea ecx, [ebp - 0x168c]
call fcn.00412ca0
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 0x406c79
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406c79
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406c79
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.00408140
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.0041d8b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x407198
call fcn.00407270
call fcn.0041c570
test eax, eax
je 0x407008
call fcn.00407270
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x1688], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x406d20
sub edx, dword [ebp - 0x1688]
lea ecx, [eax + 0xc]
sar edx, 1
push edx
push esi
call fcn.00408a80
call fcn.00407270
push 0x208
mov esi, eax
lea eax, [ebp - 0x1240]
push 0
push eax
call fcn.004bff80
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 0x406d98
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 0x406e5a
push 0x1000
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.004bff80
add esp, 0xc
lea eax, [ebp - 0x1240]
push esi
push eax
lea eax, [ebp - 0x1018]
push str.__s___s
push eax
call fcn.00411720
add esp, 0x10
lea eax, [ebp - 0x1694]
push eax
lea eax, [ebp - 0x1288]
push eax
lea eax, [ebp - 0x1018]
jmp 0x406e6e
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 0x407008
push dword [ebp - 0x1690]
call dword [ebp - 0x169c]
push dword [ebp - 0x1694]
call dword [ebp - 0x169c]
test esi, esi
je 0x407008
lea ecx, [ebp - 0x168c]
call fcn.00412ca0
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 0x406efd
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406efd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406ef7
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 0x406ff7
sub esp, 8
lea ecx, [ebp - 0x10d0]
call fcn.00407970
lea eax, [ebp - 0x10d0]
push str.need_update__exit
push eax
call fcn.00409460
add esp, 8
lea ecx, [ebp - 0x168c]
call fcn.00412ca0
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 0x406f77
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406f77
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406f77
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.00408140
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.0041d8b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x16a4]
call dword [ebp - 0x169c]
jmp 0x407198
push 0x364
lea eax, [ebp - 0x1678]
push 0
push eax
call fcn.004bff80
add esp, 0xc
lea ecx, [ebp - 0x1678]
call fcn.0040e6f0
xor eax, eax
mov dword [ebp - method.CMainWnd.3.virtual_0], vtable.CMainWnd.3.0
lea ecx, [ebp - 0x1678]
mov dword [ebp - method.DuiLib::WindowImplBase.3.virtual_0], vtable.CMainWnd.6.0
mov dword [ebp - method.DuiLib::WindowImplBase.4.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 word [ebp - 0x1348], ax
mov byte [ebp - 0x1330], al
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
call fcn.00413c60
lea eax, [ebp - 0x1678]
lea edx, [ebp - 0x1688]
mov dword [ebp - 0x1688], eax
lea ecx, [ebp - 0x169c]
call fcn.00415c50
lea ecx, [ebp - 0x131c]
cmp ecx, eax
je 0x407128
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp - 0x131c]
mov dword [ebp - 0x131c], ecx
test eax, eax
je 0x407128
push eax
call fcn.00415ba0
mov eax, dword [ebp - 0x169c]
test eax, eax
je 0x407138
push eax
call fcn.00415ba0
push 0x517a8c
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.00429410
lea ecx, [ebp - 0x1678]
call fcn.004295d0
mov ecx, eax
call fcn.00426ca0
lea ecx, [ebp - 0x1678]
call fcn.004138f0
cmp dword [0x534fd0], 0
je 0x4071d1
push 0x52bfdc
call dword [ebp - 0x167c]
mov ecx, dword [0x534fd0]
test ecx, ecx
je 0x4071c6
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x534fd0], 0
push 0x52bfdc
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.00420730
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 0x40720d
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.00493aac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004c38d4
call fcn.004c38d4
call fcn.004c38d4
call fcn.004c38d4
call fcn.004c38d4
call fcn.004c38d4
call fcn.004c38d4
int3