Function at 0x41a9c0
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b1df
mov eax, dword fs:[0]
push eax
mov eax, 0xa1e0
call fcn.00527810
mov eax, dword [0x599690]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa1ac], ecx
mov eax, dword [str.UpdateEA258B15_BF14_4e81_9A12_08E782806064]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 0xa1ac]
mov dword [ecx + 0xe8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41aa6a
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41aa6a
mov eax, dword [str.UpdateEA258B15_BF14_4e81_9A12_08E782806064]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
je 0x41aa59
xor eax, eax
jmp 0x41b545
push 2
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x80], eax
jmp 0x41aa30
mov eax, dword [0x5a1090]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404510
mov dword [ebp - 4], 0
push 0x2800
push 0
lea ecx, [ebp - 0x2884]
push ecx
call fcn.00523530
add esp, 0xc
mov edx, dword [ebp - 0x64]
push edx
push str._r_nCommandLine:_s
push 0x27ff
lea eax, [ebp - 0x2884]
push eax
call fcn.0041ba10
add esp, 0x10
lea ecx, [ebp - 0x2894]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x2800
push 0
lea edx, [ebp - 0x5094]
push edx
call fcn.00523530
add esp, 0xc
lea eax, [ebp - 0x2884]
push eax
movzx ecx, word [ebp - 0x2888]
push ecx
movzx edx, word [ebp - 0x288a]
push edx
movzx eax, word [ebp - 0x288c]
push eax
movzx ecx, word [ebp - 0x288e]
push ecx
movzx edx, word [ebp - 0x2892]
push edx
movzx eax, word [ebp - 0x2894]
push eax
push 0x5757c4
push 0x27ff
lea ecx, [ebp - 0x5094]
push ecx
call fcn.0041ba10
add esp, 0x28
lea edx, [ebp - 0x5094]
push edx
push 0x5757ec
call fcn.00522b8c
add esp, 8
lea eax, [ebp - 0x5094]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x5094]
push ecx
lea ecx, [ebp - 0xa0e0]
call fcn.00401980
mov byte [ebp - 4], 1
lea edx, [ebp - 0xa0e0]
push edx
mov ecx, 0x5a0ff8
call fcn.004053d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0e0]
call fcn.00402110
lea ecx, [ebp - 0x7c]
call fcn.0041b630
mov byte [ebp - 4], 2
push 0x5757f0
lea ecx, [ebp - 0xa0fc]
call fcn.00401980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004065e0
push eax
lea ecx, [ebp - 0xa118]
call fcn.00401980
mov byte [ebp - 4], 4
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xa0fc]
push ecx
lea edx, [ebp - 0xa118]
push edx
call fcn.00420bb0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa118]
call fcn.00402110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0fc]
call fcn.00402110
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004124a0
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0041b6c0
jmp 0x41ac17
push 0
lea edx, [ebp - 0xa120]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041b740
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b1c0
movzx ecx, al
test ecx, ecx
je 0x41b0ae
lea ecx, [ebp - 0x50ac]
call fcn.0041b630
mov byte [ebp - 4], 5
push 0x5757f4
lea ecx, [ebp - 0xa13c]
call fcn.00401980
mov byte [ebp - 4], 6
lea edx, [ebp - 0x50ac]
push edx
lea eax, [ebp - 0xa13c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b2e0
push eax
call fcn.00420bb0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa13c]
call fcn.00402110
lea ecx, [ebp - 0x50ac]
call fcn.0041b6f0
cmp eax, 1
jbe 0x41b09a
push str.updatetype
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41ace3
push 1
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
mov ecx, eax
call fcn.004019c0
push eax
call fcn.00521bd4
add esp, 4
mov edx, dword [ebp - 0xa1ac]
mov dword [edx + 0x198], eax
jmp 0x41b09a
push 0x575804
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx eax, al
test eax, eax
je 0x41ad30
push 1
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
mov ecx, eax
call fcn.004019c0
push eax
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x234
call fcn.004044f0
jmp 0x41b09a
push str.nick
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41ae0f
push 1
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
mov ecx, eax
call fcn.004019c0
push eax
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x238
call fcn.004044f0
lea ecx, [ebp - 0x50b0]
call fcn.0041a230
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xa1ac]
add edx, 0x238
push ecx
mov ecx, esp
mov dword [ebp - 0xa140], esp
push edx
call fcn.0040a2e0
mov dword [ebp - 0xa1b0], eax
lea eax, [ebp - 0xa144]
push eax
lea ecx, [ebp - 0x50b0]
call fcn.004205a0
mov dword [ebp - 0xa1b4], eax
mov ecx, dword [ebp - 0xa1b4]
mov dword [ebp - 0xa1b8], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xa1b8]
push edx
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x238
call fcn.0040a050
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa144]
call fcn.004049f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50b0]
call fcn.0041a250
jmp 0x41b09a
push str.caller_path
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx eax, al
test eax, eax
je 0x41ae36
jmp 0x41b09a
push str.setup_path
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41aec0
push 1
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
mov ecx, eax
call fcn.004019c0
push eax
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x240
call fcn.004044f0
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x240
call fcn.0041b560
push 0x575828
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x240
call fcn.00409470
push 0x57582c
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x240
call fcn.0041b580
jmp 0x41b09a
push str.show_main_frame
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx edx, al
test edx, edx
je 0x41aee7
jmp 0x41b09a
push str.show_log
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx eax, al
test eax, eax
je 0x41afe0
push 0x57584c
push 1
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx ecx, al
mov edx, dword [ebp - 0xa1ac]
mov dword [edx + 0x1a4], ecx
mov eax, dword [ebp - 0xa1ac]
cmp dword [eax + 0x1a4], 0
je 0x41afdb
lea ecx, [ebp - 0xa148]
push ecx
call fcn.00420940
add esp, 4
mov dword [ebp - 0xa1bc], eax
mov edx, dword [ebp - 0xa1bc]
mov dword [ebp - 0xa1c0], edx
mov byte [ebp - 4], 9
push str._log.txt
mov eax, dword [ebp - 0xa1c0]
push eax
lea ecx, [ebp - 0x50b4]
push ecx
call fcn.00409d80
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa148]
call fcn.004049f0
lea ecx, [ebp - 0x50b4]
call fcn.004065e0
push eax
lea ecx, [ebp - 0xa164]
call fcn.00401980
lea edx, [ebp - 0xa164]
push edx
mov ecx, 0x5a0ff8
call fcn.004052c0
lea ecx, [ebp - 0xa164]
call fcn.00402110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50b4]
call fcn.004049f0
jmp 0x41b09a
push str.SetDefualtBrowser
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx eax, al
test eax, eax
je 0x41b03e
mov ecx, dword [ebp - 0xa1ac]
mov dword [ecx + 0x1b4], 1
push 0x575874
push 1
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx edx, al
mov eax, dword [ebp - 0xa1ac]
mov dword [eax + 0x1b8], edx
jmp 0x41b09a
push str.TaobaoWebShortCut
push 0
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x41b09a
mov edx, dword [ebp - 0xa1ac]
mov dword [edx + 0x1ac], 1
push 0x57588c
push 1
lea ecx, [ebp - 0x50ac]
call fcn.0041b710
push eax
call fcn.00417150
add esp, 8
movzx eax, al
mov ecx, dword [ebp - 0xa1ac]
mov dword [ecx + 0x1b0], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50ac]
call fcn.0041b6a0
jmp 0x41ac06
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsTaoBrowser.exe
lea ecx, [ebp - 0x58]
call fcn.00401980
mov byte [ebp - 4], 0xc
push str.SOFTWARETaoBrowser.exe
lea ecx, [ebp - 0x34]
call fcn.00401980
mov byte [ebp - 4], 0xd
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa168], esp
lea edx, [ebp - 0x58]
push edx
call fcn.004051d0
mov dword [ebp - 0xa1c4], eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0041a870
add esp, 0x20
mov byte [ebp - 0xa1c5], al
movzx eax, byte [ebp - 0xa1c5]
test eax, eax
jne 0x41b144
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa16c], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004051d0
mov dword [ebp - 0xa1cc], eax
push SysReAllocString
call fcn.0041a870
add esp, 0x20
mov byte [ebp - 0xa1cd], al
movzx eax, byte [ebp - 0xa1cd]
test eax, eax
je 0x41b297
push 0x2800
push 0
lea ecx, [ebp - 0x78b4]
push ecx
call fcn.00523530
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004019c0
push eax
lea ecx, [ebp - 0x58]
call fcn.004019c0
push eax
push str.TaoBrowser_is_Installed._HKEY_LOCAL_MACHINE_s_or_HKEY_CURRENT_USER_s
push 0x27ff
lea edx, [ebp - 0x78b4]
push edx
call fcn.0041ba10
add esp, 0x14
lea eax, [ebp - 0x78c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x2800
push 0
lea ecx, [ebp - 0xa0c4]
push ecx
call fcn.00523530
add esp, 0xc
lea edx, [ebp - 0x78b4]
push edx
movzx eax, word [ebp - 0x78b8]
push eax
movzx ecx, word [ebp - 0x78ba]
push ecx
movzx edx, word [ebp - 0x78bc]
push edx
movzx eax, word [ebp - 0x78be]
push eax
movzx ecx, word [ebp - 0x78c2]
push ecx
movzx edx, word [ebp - 0x78c4]
push edx
push str._04d__02d__02d__02d:_02d:_02d___r_n_t_s_r_n
push 0x27ff
lea eax, [ebp - 0xa0c4]
push eax
call fcn.0041ba10
add esp, 0x28
lea ecx, [ebp - 0xa0c4]
push ecx
push 0x5758ec
call fcn.00522b8c
add esp, 8
lea edx, [ebp - 0xa0c4]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0xa0c4]
push eax
lea ecx, [ebp - 0xa188]
call fcn.00401980
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa188]
push ecx
mov ecx, 0x5a0ff8
call fcn.004053d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa188]
call fcn.00402110
mov dword [ebp - 0xa18c], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.00402110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00402110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0041b6a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004049f0
mov eax, dword [ebp - 0xa18c]
jmp 0x41b545
mov dword [ebp - 0x3c], 8
mov dword [ebp - 0x38], 0xff
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0xa1ac]
call fcn.00431a09
push 0
call fcn.00433d10
test eax, eax
jne 0x41b318
push 0xffffffffffffffff
push 0
push 0x67
call fcn.004340d6
mov dword [ebp - 0xa190], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.00402110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00402110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0041b6a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004049f0
mov eax, dword [ebp - 0xa190]
jmp 0x41b545
push 0
call fcn.00434934
add esp, 4
push 0x575960
mov ecx, dword [ebp - 0xa1ac]
call fcn.00434e07
mov eax, dword [ebp - 0xa1ac]
cmp dword [eax + 0x198], 0
jl 0x41b4cd
mov ecx, dword [ebp - 0xa1ac]
cmp dword [ecx + 0x198], 3
jg 0x41b4cd
mov edx, dword [ebp - 0xa1ac]
cmp dword [edx + 0x198], 0
jne 0x41b377
mov eax, dword [ebp - 0xa1ac]
mov dword [eax + 0x1a8], 1
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0xa194], esp
push 0x574dc2
call fcn.00404510
mov dword [ebp - 0xa1d4], eax
mov ecx, dword [ebp - 0xa1d4]
mov dword [ebp - 0xa1d8], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xa1ac]
mov eax, dword [edx + 0x198]
push eax
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x234
push ecx
mov edx, esp
mov dword [ebp - 0xa198], esp
push ecx
mov ecx, edx
call fcn.0040a2e0
mov dword [ebp - 0xa1dc], eax
mov eax, dword [ebp - 0xa1dc]
mov dword [ebp - 0xa1e0], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0x238
push ecx
mov edx, esp
mov dword [ebp - 0xa19c], esp
push ecx
mov ecx, edx
call fcn.0040a2e0
mov dword [ebp - 0xa1e4], eax
mov eax, dword [ebp - 0xa1e4]
mov dword [ebp - 0xa1e8], eax
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0xa1a0], esp
push str.http:__www.atpanel.com_bluesky.1.1.1.1.6
call fcn.00404510
mov dword [ebp - 0xa1ec], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xa1ac]
call fcn.0041a550
push 0
push 0x66
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0xec
mov edx, dword [ebp - 0xa1ac]
mov eax, dword [edx + 0xec]
mov edx, dword [eax + 0x13c]
call edx
mov eax, dword [ebp - 0xa1ac]
add eax, 0xec
mov ecx, dword [ebp - 0xa1ac]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0xa1ac]
add ecx, 0xec
call fcn.0041bb80
mov dword [ebp - 0xa1a4], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.00402110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00402110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0041b6a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004049f0
mov eax, dword [ebp - 0xa1a4]
jmp 0x41b545
mov dword [ebp - 0xa1a8], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x34]
call fcn.00402110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00402110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0041b6a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004049f0
mov eax, dword [ebp - 0xa1a8]
jmp 0x41b545
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00520c7a
mov esp, ebp
pop ebp
ret