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 0x4dc950
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x16b0
call fcn.00489670
mov eax, dword [0x51938c]
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 - 0x1680], eax
mov dword [ebp - 0x16a0], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1694], eax
mov dword [ebp - 0x1698], edi
test eax, eax
je 0x405f01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405f05
mov ecx, esi
mov dword [ebp - 0x1228], 0
xor eax, eax
mov dword [ebp - 0x1224], 7
mov word [ebp - 0x1238], 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 - 0x1238]
call fcn.00408a10
mov eax, dword [ebp - 0x1228]
add eax, eax
mov dword [ebp - 0x167c], 0x2716
cmp dword [ebp - 0x1224], 8
mov dword [ebp - 0x1678], eax
lea eax, [ebp - 0x1238]
cmovae eax, dword [ebp - 0x1238]
push 0
push str.AdBlockTrayMainWndClassName
mov dword [ebp - 0x1674], 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 - 0x167c]
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov esi, dword [ebp - 0x1694]
push esi
call edi
mov edx, dword [ebp - 0x1224]
cmp edx, 8
jb 0x405f0b
mov ecx, dword [ebp - 0x1238]
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 0x4071bd
push edx
push ecx
call fcn.00489027
add esp, 8
jmp 0x405f0b
mov esi, eax
jmp 0x405f0b
mov esi, dword [ebp - 0x1694]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x406077
push esi
call edi
lea ecx, [ebp - 0x1678]
call fcn.0040ccf0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x168d], al
mov dword [ebp - 4], 0
or edi, 0xffffffff
mov esi, dword [ebp - 0x1674]
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 - 0x168d]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406065
sub esp, 8
lea ecx, [ebp - 0x2b8]
call fcn.00407900
mov edx, str.app_need_adjust_privilege
lea ecx, [ebp - 0x2b8]
call fcn.00405b80
lea ecx, [ebp - 0x1678]
call fcn.0040ccf0
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x1674]
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 - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2bc], eax
lea ecx, [ebp - 0x2b4]
call fcn.004080d0
mov eax, dword [ebp - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2bc], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004136fe
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x16a0]
mov ecx, esi
call fcn.0040b950
jmp 0x4061c6
lea ecx, [ebp - 0x1678]
call fcn.0040ccf0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x168d], al
mov dword [ebp - 4], 3
or edi, 0xffffffff
mov esi, dword [ebp - 0x1674]
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 - 0x168d]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4061c0
sub esp, 8
lea ecx, [ebp - 0x2b8]
call fcn.00407900
mov edx, str.run_under_admin
lea ecx, [ebp - 0x2b8]
call fcn.00405b80
lea ecx, [ebp - 0x1678]
call fcn.0040ccf0
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 4
mov esi, dword [ebp - 0x1674]
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 - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2bc], eax
lea ecx, [ebp - 0x2b4]
call fcn.004080d0
mov eax, dword [ebp - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2bc], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004136fe
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 - 0x1694]
call dword [ebp - 0x1698]
lea ecx, [ebp - 0x1678]
call fcn.0040ccf0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x168d], al
mov dword [ebp - 4], 6
mov esi, dword [ebp - 0x1674]
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 - 0x168d]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x40719b
sub esp, 8
lea ecx, [ebp - 0x2b8]
call fcn.00407900
mov edx, str.init_com_failed
lea ecx, [ebp - 0x2b8]
call fcn.00405b80
lea ecx, [ebp - 0x1678]
call fcn.0040ccf0
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 7
mov esi, dword [ebp - 0x1674]
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 - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2bc], eax
lea ecx, [ebp - 0x2b4]
call fcn.004080d0
mov eax, dword [ebp - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2bc], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 8
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004136fe
add esp, 4
jmp 0x40719b
call fcn.0040ac50
push ecx
call fcn.0040abb0
add esp, 4
call fcn.00407450
add eax, 4
mov dword [ebp - 0x1228], 0
mov edx, esi
mov dword [ebp - 0x169c], eax
xor eax, eax
mov dword [ebp - 0x1224], 7
mov word [ebp - 0x1238], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406363
sub edx, ecx
lea ecx, [ebp - 0x1238]
sar edx, 1
push edx
push esi
call fcn.00408a10
mov ecx, dword [ebp - 0x169c]
lea eax, [ebp - 0x1238]
push eax
call fcn.004154a0
mov edx, dword [ebp - 0x1224]
cmp edx, 8
jb 0x4063d1
mov ecx, dword [ebp - 0x1238]
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 0x4071c2
push edx
push ecx
call fcn.00489027
add esp, 8
lea ecx, [ebp - 0x1678]
call fcn.0040ccf0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x168d], al
mov dword [ebp - 4], 9
mov esi, dword [ebp - 0x1674]
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 - 0x168d]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406537
sub esp, 8
lea ecx, [ebp - 0x2b8]
call fcn.00407900
mov edx, str.run_cmd_:
lea ecx, [ebp - 0x2b8]
call fcn.00405b80
mov ecx, dword [ebp - 0x16a0]
mov eax, str._null_
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.004093f0
add esp, 8
lea ecx, [ebp - 0x1678]
call fcn.0040ccf0
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xa
mov esi, dword [ebp - 0x1674]
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 - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2bc], eax
lea ecx, [ebp - 0x2b4]
call fcn.004080d0
mov eax, dword [ebp - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2bc], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004136fe
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00407560
push reloc.OLEAUT32.dll_SysReAllocString
push str.SOFTWAREADBlockMaster
push str.ADBlockMaster.exe
mov ecx, eax
call fcn.00416350
push 0
push 0
push 0
push str.adbk
lea eax, [ebp - 0x16bc]
mov dword [ebp - 0x123c], 0
push str.http:__s.91toolbox.com_adbk_pidpidtypetypeactionactionappappappverappvermidmidmid2mid2modvermodver
push eax
call fcn.00416700
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x406583
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x123c]
call fcn.00408590
mov edx, dword [ebp - 0x16a8]
cmp edx, 8
jb 0x4065cf
mov ecx, dword [ebp - 0x16bc]
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 0x4071c7
push edx
push ecx
call fcn.00489027
add esp, 8
call fcn.00407610
push dword [ebp - 0x123c]
mov ecx, eax
push str.operate
call fcn.00417200
push dword [ebp - 0x1680]
call fcn.0041da00
add esp, 4
lea eax, [ebp - 0x1310]
push 0x84
push 0
push eax
call fcn.004b5160
add esp, 0xc
lea eax, [ebp - 0x1310]
push eax
call fcn.00419580
add esp, 4
lea ecx, [ebp - 0x1310]
push str.skin
call fcn.0041f310
lea ecx, [ebp - 0x1310]
call fcn.004196e0
push eax
call fcn.0041dc80
add esp, 4
push 1
push str.adblocktray.zip
call fcn.0041dd40
add esp, 8
call fcn.004072f0
push dword [eax]
push 1
push 0x508d00
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 - 0x1674], eax
mov dword [ebp - 0x169c], ecx
jne 0x406a67
mov esi, dword [0x523e70]
xor ecx, ecx
mov dword [ebp - 0x1228], 0
mov dword [ebp - 0x1224], 7
mov word [ebp - 0x1238], cx
test esi, esi
jne 0x406752
push 0x51afbc
call eax
cmp dword [0x523e70], esi
jne 0x406741
push 0x34
call fcn.00488d7a
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.00414c30
xor ecx, ecx
lea eax, [ebp - 0x1680]
lock or dword [eax], ecx
mov dword [0x523e70], esi
push 0x51afbc
call dword [ebp - 0x169c]
mov esi, dword [0x523e70]
push 4
xor eax, eax
mov dword [ebp - 0x16ac], 0
push str.from
lea ecx, [ebp - 0x16bc]
mov dword [ebp - 0x16a8], 7
mov word [ebp - 0x16bc], ax
call fcn.00408a10
lea eax, [ebp - 0x1238]
push eax
lea eax, [ebp - 0x16bc]
lea ecx, [esi + 4]
push eax
call fcn.004152c0
mov edx, dword [ebp - 0x16a8]
cmp edx, 8
jb 0x4067d7
mov ecx, dword [ebp - 0x16bc]
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 0x4071cc
push edx
push ecx
call fcn.00489027
add esp, 8
mov eax, dword [ebp - 0x1224]
lea ecx, [ebp - 0x1238]
mov esi, dword [ebp - 0x1238]
cmp eax, 8
mov edx, dword [ebp - 0x1228]
cmovae ecx, esi
cmp edx, 4
jne 0x406818
push edx
mov edx, str.task
call fcn.0040a100
add esp, 4
test eax, eax
je 0x406872
mov eax, dword [ebp - 0x1224]
mov edx, dword [ebp - 0x1228]
cmp eax, 8
lea ecx, [ebp - 0x1238]
cmovae ecx, esi
cmp edx, 3
jne 0x406847
push edx
mov edx, 0x508b08
call fcn.0040a100
add esp, 4
test eax, eax
je 0x406872
mov eax, dword [ebp - 0x1224]
mov edx, dword [ebp - 0x1228]
cmp eax, 8
lea ecx, [ebp - 0x1238]
cmovae ecx, esi
cmp edx, 3
jne 0x406a33
push edx
mov edx, 0x508b10
call fcn.0040a100
add esp, 4
test eax, eax
jne 0x406a2d
lea ecx, [ebp - 0x1684]
call fcn.0040ccf0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x168d], al
mov dword [ebp - 4], 0xc
mov esi, dword [ebp - 0x1680]
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 - 0x168d]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4069bc
sub esp, 8
lea ecx, [ebp - 0x2b8]
call fcn.00407900
lea eax, [ebp - 0x2b8]
push str.user_close_auto_run__exit
push eax
call fcn.004093f0
add esp, 8
lea ecx, [ebp - 0x1684]
call fcn.0040ccf0
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xd
mov esi, dword [ebp - 0x1680]
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 - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2bc], eax
lea ecx, [ebp - 0x2b4]
call fcn.004080d0
mov eax, dword [ebp - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2bc], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004136fe
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.00407610
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.00417250
mov edx, dword [ebp - 0x1224]
cmp edx, 8
jb 0x407126
mov ecx, dword [ebp - 0x1238]
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 0x4071d1
push edx
push ecx
call fcn.00489027
add esp, 8
jmp 0x407126
mov eax, dword [ebp - 0x1224]
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 0x4071d6
push ecx
push esi
call fcn.00489027
add esp, 8
cmp word [0x524310], 0
jne 0x406a8e
push 0x104
push 0x524310
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x524310
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, 0x524310
mov dword [ebp - 0x1228], 0
xor eax, eax
mov dword [ebp - 0x1224], 7
mov word [ebp - 0x1238], 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 0x524310
lea ecx, [ebp - 0x1238]
call fcn.00408a10
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004b5160
add esp, 0xc
lea eax, [ebp - 0x1238]
cmp dword [ebp - 0x1224], 8
cmovae eax, dword [ebp - 0x1238]
push str.config.ini
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x1224]
cmp edx, 8
jb 0x406b50
mov ecx, dword [ebp - 0x1238]
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 0x4071db
push edx
push ecx
call fcn.00489027
add esp, 8
mov esi, dword [ebp - 0x16a0]
lea ecx, [ebp - 0x428]
xor eax, eax
mov dword [ebp - 0x1228], 0
push esi
mov dword [ebp - 0x1224], 7
mov word [ebp - 0x1238], ax
call fcn.004113f0
test al, al
jne 0x406cfe
call fcn.00407610
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.00417250
lea ecx, [ebp - 0x1684]
call fcn.0040ccf0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x168d], al
mov dword [ebp - 4], 0xf
mov esi, dword [ebp - 0x1680]
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 - 0x168d]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x407126
sub esp, 8
lea ecx, [ebp - 0x2b8]
call fcn.00407900
lea eax, [ebp - 0x2b8]
push str.CheckEnableAutoRun_False__exit
push eax
call fcn.004093f0
add esp, 8
lea ecx, [ebp - 0x1684]
call fcn.0040ccf0
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0x10
mov esi, dword [ebp - 0x1680]
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 - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x2bc], eax
lea ecx, [ebp - 0x2b4]
call fcn.004080d0
mov eax, dword [ebp - 0x2b8]
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 - 0x2b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2bc], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0x11
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004136fe
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x407126
call fcn.00407200
call fcn.00412d50
test eax, eax
je 0x407002
call fcn.00407200
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x1680], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x406d20
sub edx, dword [ebp - 0x1680]
lea ecx, [eax + 0xc]
sar edx, 1
push edx
push esi
call fcn.00408a10
call fcn.00407200
push 0x208
mov esi, eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004b5160
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x509558
lea eax, [ebp - 0x220]
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 - 0x168c], xmm0
test esi, esi
je 0x406e5a
push 0x1000
push eax
lea eax, [ebp - 0x1220]
push eax
call fcn.004b5160
add esp, 0xc
lea eax, [ebp - 0x220]
push esi
push eax
lea eax, [ebp - 0x1220]
push str.__s___s
push eax
call fcn.0040bea0
add esp, 0x10
lea eax, [ebp - 0x168c]
push eax
lea eax, [ebp - 0x1288]
push eax
lea eax, [ebp - 0x1220]
jmp 0x406e6e
lea eax, [ebp - 0x168c]
push eax
lea eax, [ebp - 0x1288]
push eax
lea eax, [ebp - 0x220]
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 0x407002
push dword [ebp - 0x1688]
call dword [ebp - 0x1698]
push dword [ebp - 0x168c]
call dword [ebp - 0x1698]
test esi, esi
je 0x407002
lea ecx, [ebp - 0x1684]
call fcn.0040ccf0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x168d], al
mov dword [ebp - 4], 0x12
mov esi, dword [ebp - 0x1680]
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 - 0x168d]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406ff1
sub esp, 8
lea ecx, [ebp - 0xb0]
call fcn.00407900
lea eax, [ebp - 0xb0]
push str.need_update__exit
push eax
call fcn.004093f0
add esp, 8
lea ecx, [ebp - 0x16a4]
call fcn.0040ccf0
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0x13
mov esi, dword [ebp - 0x16a0]
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 - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xb4], eax
lea ecx, [ebp - 0xac]
call fcn.004080d0
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xb4], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0x14
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004136fe
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1694]
call dword [ebp - 0x1698]
jmp 0x407126
push 0x35c
lea eax, [ebp - 0x1670]
push 0
push eax
call fcn.004b5160
add esp, 0xc
lea ecx, [ebp - 0x1670]
call fcn.0040a1f0
xor eax, eax
mov dword [ebp - fcn.00408220], vtable.CMainWnd.3.0
lea ecx, [ebp - 0x1670]
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 - 0x1354], 0
mov dword [ebp - 0x1350], 0xffffffff
mov dword [ebp - 0x134c], 0xffffffff
mov dword [ebp - 0x1344], 0
mov dword [ebp - 0x1330], 0
mov dword [ebp - 0x132c], 7
mov word [ebp - 0x1340], ax
mov byte [ebp - 0x1328], al
mov dword [ebp - 0x1324], eax
mov dword [ebp - 0x1320], eax
mov dword [ebp - 0x131c], eax
mov byte [ebp - 0x1318], al
call fcn.0040f880
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x80
push SysReAllocString
push str.adbk_tray
push 0
lea ecx, [ebp - 0x1670]
call fcn.0041e410
lea ecx, [ebp - 0x1670]
call fcn.0041e5d0
mov ecx, eax
call fcn.0041bcb0
lea ecx, [ebp - 0x1670]
call fcn.0040f780
cmp dword [0x523e70], 0
je 0x40715f
push 0x51afbc
call dword [ebp - 0x1674]
mov ecx, dword [0x523e70]
test ecx, ecx
je 0x407154
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x523e70], 0
push 0x51afbc
call dword [ebp - 0x169c]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x1310]
call fcn.004159d0
mov edx, dword [ebp - 0x123c]
add edx, 0xfffffff0
mov dword [ebp - 4], 0x15
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x40719b
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.00488adc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004b8ab4
call fcn.004b8ab4
call fcn.004b8ab4
call fcn.004b8ab4
call fcn.004b8ab4
call fcn.004b8ab4
call fcn.004b8ab4
int3