Function at 0x405e60
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 0x505700
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1330
call fcn.0049ada0
mov eax, dword [0x54c39c]
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 - 0x1330], eax
mov dword [ebp - 0x1338], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x1034], edi
test edi, edi
je 0x4060b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4060b2
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]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405f10
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1030]
call fcn.004088e0
mov eax, dword [ebp - 0x1020]
add eax, eax
mov dword [ebp - 0x131c], 0x2716
cmp dword [ebp - 0x101c], 8
mov dword [ebp - 0x1318], eax
lea eax, [ebp - 0x1030]
cmovae eax, dword [ebp - 0x1030]
push 0
push str.AdBlockTrayMainWndClassName
mov dword [ebp - 0x1314], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x405f93
push 0
push 0x1388
push 1
lea eax, [ebp - 0x131c]
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1334]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 0
or edi, 0xffffffff
mov esi, dword [ebp - 0x1330]
test esi, esi
je 0x405fed
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x405fed
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x405fe7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406069
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
mov edx, str.dwLastError_already_exists
lea ecx, [ebp - 0x1118]
call fcn.00405c60
lea ecx, [ebp - 0x1334]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x1330]
test esi, esi
je 0x40605e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40605e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40605e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
call fcn.00405dd0
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x4070e2
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4060a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407104
push edx
push ecx
call fcn.0049a747
add esp, 8
jmp 0x4070e2
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x4062ce
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1334]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 2
or edi, 0xffffffff
mov esi, dword [ebp - 0x1330]
test esi, esi
je 0x40611a
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40611a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406114
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x40619e
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
mov edx, str.app_need_adjust_privilege
lea ecx, [ebp - 0x1118]
call fcn.00405c60
lea ecx, [ebp - 0x1334]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x1330]
test esi, esi
je 0x40618c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40618c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40618c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
mov dword [ebp - 4], 0xffffffff
call fcn.00405dd0
push 0x210
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004dbe40
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x108
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [ebp - 0x1338]
lea eax, [ebp - 0x1034]
sub esp, 0x10
mov dword [ebp - 0x1034], 0
lea ecx, [ebp - 0x228]
push eax
call fcn.00410fc0
test eax, eax
jne 0x4070e2
lea ecx, [ebp - 0x1334]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 4
mov esi, dword [ebp - 0x1330]
test esi, esi
je 0x406245
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406245
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40623f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4070e2
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
lea eax, [ebp - 0x1118]
push str.Adjustprivilege:_CreateProcess_fail
push eax
call fcn.004092c0
add esp, 8
lea ecx, [ebp - 0x1334]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x1330]
test esi, esi
je 0x4062be
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4062be
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4062be
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
call fcn.00405dd0
jmp 0x4070e2
lea ecx, [ebp - 0x1318]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 6
or edi, 0xffffffff
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406321
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406321
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40631b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4063a5
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
mov edx, str.run_under_admin
lea ecx, [ebp - 0x1118]
call fcn.00405c60
lea ecx, [ebp - 0x1318]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 7
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406393
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406393
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406393
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
mov dword [ebp - 4], 0xffffffff
call fcn.00405dd0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_OleInitialize]
test esi, esi
jns 0x4064a0
push dword [ebp - 0x1034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1318]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 8
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x40641b
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40641b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406415
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4070e2
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
mov edx, str.init_com_failed
lea ecx, [ebp - 0x1118]
call fcn.00405c60
lea ecx, [ebp - 0x1318]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 9
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406490
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406490
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x406490
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
call fcn.00405dd0
jmp 0x4070e2
call fcn.0040f870
push ecx
call fcn.0040f7d0
add esp, 4
call fcn.004073a0
mov ecx, dword [ebp - 0x1338]
mov edx, ecx
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
lea esi, [eax + 4]
xor eax, eax
mov word [ebp - 0x1030], ax
lea eax, [edx + 2]
mov dword [ebp - 0x133c], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4064e4
sub edx, dword [ebp - 0x133c]
sar edx, 1
push edx
push ecx
lea ecx, [ebp - 0x1030]
call fcn.004088e0
lea eax, [ebp - 0x1030]
mov ecx, esi
push eax
call fcn.00421b60
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x406552
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406548
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407109
push edx
push ecx
call fcn.0049a747
add esp, 8
lea ecx, [ebp - 0x1318]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 0xa
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x4065a2
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x4065a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40659c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x40664a
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
mov edx, str.run_cmd_:
lea ecx, [ebp - 0x1118]
call fcn.00405c60
mov ecx, dword [ebp - 0x1338]
mov eax, str._null_
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1118]
push eax
call fcn.004092c0
add esp, 8
lea ecx, [ebp - 0x1318]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xb
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406638
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406638
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406638
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
mov dword [ebp - 4], 0xffffffff
call fcn.00405dd0
call fcn.004074b0
push reloc.OLEAUT32.dll_SysReAllocString
push str.SOFTWAREADBlockMaster
push str.ADBlockMaster.exe
mov ecx, eax
call fcn.00423580
push 0
push 0
push 0
push str.adbk
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x1038], 0
push str.http:__s.91toolbox.com_adbk_pidpidtypetypeactionactionappappappverappvermidmidmid2mid2modvermodver
push eax
call fcn.00423930
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x406696
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1038]
call fcn.004084e0
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x4066e2
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4066d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40710e
push edx
push ecx
call fcn.0049a747
add esp, 8
call fcn.00407560
push dword [ebp - 0x1038]
mov ecx, eax
push str.operate
call fcn.00424420
push dword [ebp - 0x1330]
call fcn.0042b140
add esp, 4
lea eax, [ebp - 0x1310]
push 0x84
push 0
push eax
call fcn.004dbe40
add esp, 0xc
lea eax, [ebp - 0x1310]
push eax
call fcn.004267a0
add esp, 4
lea ecx, [ebp - 0x1310]
push str.skin
call fcn.0042cd60
lea ecx, [ebp - 0x1310]
call fcn.00426900
push eax
call fcn.0042b3c0
add esp, 4
push 1
push str.adblocktray.zip
call fcn.0042b480
add esp, 8
call fcn.00407240
push dword [eax]
push 1
push 0x535ae0
push str.auto_run
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x406a41
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
call fcn.004073a0
mov esi, eax
mov dword [ebp - 0x1318], 0
push 4
xor eax, eax
mov dword [ebp - 0x1314], 7
push str.from
lea ecx, [ebp - 0x1328]
mov word [ebp - 0x1328], ax
call fcn.004088e0
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x1328]
lea ecx, [esi + 4]
push eax
call fcn.00421980
mov edx, dword [ebp - 0x1314]
cmp edx, 8
jb 0x406823
mov ecx, dword [ebp - 0x1328]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406819
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407113
push edx
push ecx
call fcn.0049a747
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 0x406864
push edx
mov edx, str.task
call fcn.00409fd0
add esp, 4
test eax, eax
je 0x4068be
mov eax, dword [ebp - 0x101c]
mov edx, dword [ebp - 0x1020]
cmp eax, 8
lea ecx, [ebp - 0x1030]
cmovae ecx, esi
cmp edx, 3
jne 0x406893
push edx
mov edx, 0x535028
call fcn.00409fd0
add esp, 4
test eax, eax
je 0x4068be
mov eax, dword [ebp - 0x101c]
mov edx, dword [ebp - 0x1020]
cmp eax, 8
lea ecx, [ebp - 0x1030]
cmovae ecx, esi
cmp edx, 3
jne 0x406a0d
push edx
mov edx, 0x535030
call fcn.00409fd0
add esp, 4
test eax, eax
jne 0x406a07
lea ecx, [ebp - 0x1318]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 0xc
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x40690e
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x40690e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406908
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406996
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
lea eax, [ebp - 0x1118]
push str.user_close_auto_run__exit
push eax
call fcn.004092c0
add esp, 8
lea ecx, [ebp - 0x1318]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xd
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406984
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406984
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406984
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
mov dword [ebp - 4], 0xffffffff
call fcn.00405dd0
call fcn.00407560
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.00424470
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x407061
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4069f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407118
push edx
push ecx
call fcn.0049a747
add esp, 8
jmp 0x407061
mov eax, dword [ebp - 0x101c]
cmp eax, 8
jb 0x406a41
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x406a37
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40711d
push ecx
push esi
call fcn.0049a747
add esp, 8
cmp word [0x5590d8], 0
jne 0x406a68
push 0x104
push 0x5590d8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5590d8
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, 0x5590d8
mov dword [ebp - 0x1020], 0
xor eax, eax
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406a90
sub ecx, edx
sar ecx, 1
push ecx
push 0x5590d8
lea ecx, [ebp - 0x1030]
call fcn.004088e0
push 0x208
lea eax, [ebp - 0x1288]
push 0
push eax
call fcn.004dbe40
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 - 0x1288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x101c]
cmp edx, 8
jb 0x406b2d
mov ecx, dword [ebp - 0x1030]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406b23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407122
push edx
push ecx
call fcn.0049a747
add esp, 8
mov esi, dword [ebp - 0x1338]
lea ecx, [ebp - 0x1288]
xor eax, eax
mov dword [ebp - 0x1020], 0
push esi
mov dword [ebp - 0x101c], 7
mov word [ebp - 0x1030], ax
call fcn.00418ae0
test al, al
jne 0x406c6d
call fcn.00407560
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.00424470
lea ecx, [ebp - 0x1318]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 0xe
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406bdc
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406bdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406bd6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x407061
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
lea eax, [ebp - 0x1118]
push str.CheckEnableAutoRun_False__exit
push eax
call fcn.004092c0
add esp, 8
lea ecx, [ebp - 0x1318]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xf
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406c56
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406c56
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406c56
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
mov dword [ebp - 4], 0xffffffff
call fcn.00405dd0
jmp 0x407061
call fcn.00407150
call fcn.0041d610
test eax, eax
je 0x406f06
call fcn.00407150
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x1330], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x406c90
sub edx, dword [ebp - 0x1330]
lea ecx, [eax + 0xc]
sar edx, 1
push edx
push esi
call fcn.004088e0
call fcn.00407150
push 0x208
mov esi, eax
lea eax, [ebp - 0x1288]
push 0
push eax
call fcn.004dbe40
add esp, 0xc
lea eax, [ebp - 0x1288]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.update_tempupdate.exe
lea eax, [ebp - 0x1288]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esi, 0xc
cmp dword [esi + 0x14], 8
jb 0x406d08
mov esi, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x1080], 0x44
lea eax, [ebp - 0x1080]
movlpd qword [ebp - 0x107c], xmm0
push eax
movlpd qword [ebp - 0x1074], xmm0
movlpd qword [ebp - 0x106c], xmm0
movlpd qword [ebp - 0x1064], xmm0
movlpd qword [ebp - 0x105c], xmm0
movlpd qword [ebp - 0x1054], xmm0
movlpd qword [ebp - 0x104c], xmm0
movlpd qword [ebp - 0x1044], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x1054], 1
mov word [ebp - 0x1050], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x1320], xmm0
test esi, esi
je 0x406dca
push 0x1000
push eax
lea eax, [ebp - 0x1018]
push eax
call fcn.004dbe40
add esp, 0xc
lea eax, [ebp - 0x1288]
push esi
push eax
lea eax, [ebp - 0x1018]
push str.__s___s
push eax
call fcn.00411320
add esp, 0x10
lea eax, [ebp - 0x1320]
push eax
lea eax, [ebp - 0x1080]
push eax
lea eax, [ebp - 0x1018]
jmp 0x406dde
lea eax, [ebp - 0x1320]
push eax
lea eax, [ebp - 0x1080]
push eax
lea eax, [ebp - 0x1288]
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 0x406f06
push dword [ebp - 0x131c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1320]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x406f06
lea ecx, [ebp - 0x1318]
call fcn.00412e40
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x1329], al
mov dword [ebp - 4], 0x10
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406e6d
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x406e6d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406e67
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x1329]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x406ef5
sub esp, 8
lea ecx, [ebp - 0x1118]
call fcn.00407850
lea eax, [ebp - 0x1118]
push str.need_update__exit
push eax
call fcn.004092c0
add esp, 8
lea ecx, [ebp - 0x1318]
call fcn.00412e40
lea edx, [ebp - 0x1118]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0x11
mov esi, dword [ebp - 0x1314]
test esi, esi
je 0x406ee3
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x406ee3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x406ee3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1118]
mov dword [ebp - 4], 0xffffffff
call fcn.00405dd0
push dword [ebp - 0x1034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407061
push 0x364
call fcn.0049a49a
add esp, 4
mov esi, eax
push 0x364
push 0
push esi
call fcn.004dbe40
add esp, 0xc
mov ecx, esi
call fcn.0040e100
mov dword [esi], vtable.CMainWnd.3.0
lea edx, [ebp - 0x1330]
mov dword [esi + 0x14], vtable.CMainWnd.6.0
lea ecx, [ebp - 0x133c]
mov dword [esi + 0x24], vtable.CMainWnd.2.0
xor eax, eax
mov dword [esi + 0x28], vtable.CMainWnd.4.0
mov dword [esi + 0x2c], vtable.CMainWnd.1.0
mov dword [esi + method.DuiLib::CAnimationOwner.virtual_16], vtable.CMainWnd.5.0
mov dword [esi + method.DuiLib::CControlUI.virtual_384], vtable.CMainWnd.0
mov dword [esi + 0x31c], 0
mov dword [esi + 0x320], 0xffffffff
mov dword [esi + 0x324], 0xffffffff
mov dword [esi + 0x32c], 0
mov dword [esi + 0x340], 0
mov dword [esi + 0x344], 7
mov word [esi + 0x330], ax
mov byte [esi + 0x348], al
mov dword [esi + 0x34c], eax
mov dword [esi + 0x350], eax
mov dword [esi + 0x354], eax
mov byte [esi + 0x358], al
mov dword [esi + 0x35c], eax
mov dword [ebp - 0x1330], esi
call fcn.00415f60
mov edx, eax
lea eax, [esi + 0x35c]
cmp eax, edx
je 0x407004
mov ecx, dword [edx]
mov dword [edx], 0
mov edx, dword [eax]
mov dword [eax], ecx
test edx, edx
je 0x407004
push edx
call fcn.00415eb0
mov eax, dword [ebp - 0x133c]
test eax, eax
je 0x407014
push eax
call fcn.00415eb0
push 0x5361d4
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push 0x80
push SysReAllocStringLen
push str.adbk_tray
push 0
mov ecx, esi
mov dword [esi + 0x360], eax
call fcn.0042bd80
mov ecx, esi
call fcn.0042bf40
mov ecx, eax
call fcn.00428ef0
cmp dword [0x558a34], 0
je 0x40709a
push 0x54df1c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x558a34]
test ecx, ecx
je 0x40708f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x558a34], 0
push 0x54df1c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x1310]
call fcn.00422960
mov edx, dword [ebp - 0x1038]
add edx, 0xfffffff0
mov dword [ebp - 4], 0x12
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4070e2
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.0049a1fc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004df7ad
call fcn.004df7ad
call fcn.004df7ad
call fcn.004df7ad
call fcn.004df7ad
call fcn.004df7ad
call fcn.004df7ad
int3