Function at 0x41c3a0
Capabilities:
Accept command line arguments
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8e4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
push str.bdutil_main_r_n
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call ebx
push eax
call esi
call fcn.0041b620
push str.bdutil_Init_Com
push 0x498b64
mov esi, 0x25
call fcn.0040b830
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call ebx
push eax
push 0x49a59c
push 0x498b64
call fcn.0040b830
add esp, 0xc
cmp dword [ebp + 8], 1
jg 0x41c45a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
mov edi, eax
push edi
push 0x15a
push str.main
push str.error____s:_d__lasterror_u__hr0x_X_
push str.assert_
mov esi, 0x40
call fcn.0040b830
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.browserutil
push 0x498b64
mov esi, 0x25
call fcn.0040b830
add esp, 8
or eax, reloc.NETAPI32.dll_NetApiBufferFree
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
lea edi, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.0042ff50
test eax, eax
je 0x41c497
push str.browserutil
push 0x498b64
mov esi, 0x25
call fcn.0040b830
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
push eax
lea ecx, [esp + 0x14]
call fcn.00405690
lea eax, [esp + 0x10]
call fcn.00404790
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c4cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, str.pin_to_taskbar
call fcn.00404bc0
test eax, eax
je 0x41c651
push 0x49a5fc
lea ecx, [esp + 0x14]
call fcn.00405690
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x10]
call fcn.00404c80
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c51a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], 0
jne 0x41c532
push str.baidubrowser.exe
lea ecx, [esp + 0x10]
call fcn.00405740
mov edi, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
call fcn.00404d70
mov eax, dword [eax]
add esp, 4
cmp dword [eax - 0xc], 0
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c56c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41c60a
lea ecx, [esp + 0xc]
push ecx
lea esi, [esp + 0x14]
call fcn.00404e50
mov edi, 0x49a27c
mov ebx, eax
lea esi, [esp + 0x18]
call fcn.00405dd0
mov ebx, eax
lea esi, [esp + 0x1c]
call fcn.0041e810
add esp, 4
push eax
lea ecx, [esp + 0x10]
call fcn.00406470
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c5ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c5ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c60a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.004053a0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c631
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.browserutil
push 0x498b64
mov esi, 0x25
call fcn.0040b830
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.unpin_to_taskbar
call fcn.00404bc0
test eax, eax
je 0x41c78b
push 0x49a5fc
lea ecx, [esp + 0x14]
call fcn.00405690
lea ecx, [esp + 0x10]
push ecx
lea ebx, [esp + 0x10]
call fcn.00404c80
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c69f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0xc]
cmp dword [edi - 0xc], 0
jne 0x41c6bb
push str.baidubrowser.exe
lea ecx, [esp + 0x10]
call fcn.00405740
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
call fcn.00404d70
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [edx - 0xc], 0
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c6f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41c748
lea ecx, [esp + 0xc]
push ecx
lea esi, [esp + 0x14]
call fcn.00404e50
mov edi, 0x49a27c
mov ebx, eax
lea esi, [esp + 0x18]
call fcn.00405dd0
mov ebx, eax
lea esi, [esp + 0x1c]
call fcn.0041e810
add esp, 4
push eax
lea ecx, [esp + 0x10]
call fcn.00406470
mov ecx, esi
call fcn.00405660
lea ecx, [esp + 0x14]
call fcn.00405660
lea ecx, [esp + 0x10]
call fcn.00405660
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.004054b0
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c76b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.browserutil
push 0x498b64
mov esi, 0x25
call fcn.0040b830
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.show_newupdateui
call fcn.00404bc0
test eax, eax
je 0x41c82c
xor eax, eax
push str.Software_baiduBaiduBrowser
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.00405690
push 0x2001f
lea ecx, [esp + 0x28]
push ecx
push 0x80000001
lea esi, [esp + 0x24]
call fcn.004265e0
test eax, eax
je 0x41c7fa
push str.show_newupdateui
lea ecx, [esp + 0x14]
call fcn.00405690
push 1
lea ecx, [esp + 0x14]
mov eax, esi
call fcn.004267d0
lea ecx, [esp + 0x10]
call fcn.00405660
call fcn.00426540
lea ecx, [esp + 0x24]
call fcn.00405660
lea esi, [esp + 0x18]
call fcn.00426540
push str.browserutil
push 0x498b64
mov esi, 0x25
call fcn.0040b830
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.set_startpage
call fcn.00404bc0
test eax, eax
je 0x41c912
push str.start_pagevalue
lea ecx, [esp + 0x14]
call fcn.00405690
lea edx, [esp + 0x10]
push edx
lea ebx, [esp + 0x10]
call fcn.00404c80
lea ecx, [esp + 0x10]
call fcn.00405660
mov eax, dword [esp + 0xc]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x41c87a
push 0x497858
mov ecx, ebx
call fcn.00405740
push str.Software_baiduBaiduBrowser
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00405690
push 0x2001f
lea ecx, [esp + 0x28]
push ecx
push 0x80000001
lea esi, [esp + 0x24]
call fcn.004265e0
test eax, eax
je 0x41c8d7
push str.StartUpPageType
lea ecx, [esp + 0x14]
call fcn.00405690
lea eax, [esp + 0xc]
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.004267a0
lea ecx, [esp + 0x10]
call fcn.00405660
call fcn.00426540
lea ecx, [esp + 0x24]
call fcn.00405660
lea esi, [esp + 0x18]
call fcn.00426540
lea ecx, [esp + 0xc]
call fcn.00405660
push str.browserutil
push 0x498b64
mov esi, 0x25
call fcn.0040b830
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.updateShortCut
call fcn.00404bc0
test eax, eax
je 0x41cdb9
push 0x104
lea edx, reloc.NETAPI32.dll_NetApiBufferFree
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x41c977
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._updateShortCut_GetModuleFileName_Fail
push 0x498b64
mov esi, 0x25
call fcn.0040b830
add esp, 0xc
push str.browserutil
push 0x498b64
call fcn.0040b830
add esp, 8
or eax, reloc.NETAPI32.dll_NetApiBufferFree
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [0x4ae214]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
call eax
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
lea edx, [esp + 0x10]
add eax, 0x10
push str._s_baidubrowser.exe
push edx
mov dword [esp + 0x18], eax
call fcn.00407630
mov eax, dword [0x4ae214]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x4ae214
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
lea ecx, [esp + 0x30]
push str._s_resource_applicationImage_baidubrowser.ico
push ecx
call fcn.00407630
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
mov word [esp + 0x4ec], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xda]
push edx
mov word [esp + 0xdc], cx
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 0
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
push 0
call esi
test eax, eax
jne 0x41ca6c
push str._updateShortCut_SHGetSpecialFolderPathW_CSIDL_DESKTOP_Fail
push 0x498b64
lea esi, [eax + 0x25]
call fcn.0040b830
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.00405660
lea ecx, [esp + 0xc]
call fcn.00405660
jmp 0x41c95b
mov edx, dword [0x4ae214]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
call eax
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
lea edx, [esp + 0x14]
add eax, 0x10
push 0x49a810
push edx
mov dword [esp + 0x1c], eax
call fcn.00407630
add esp, 0xc
call fcn.0041f2f0
test eax, eax
je 0x41cd37
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCR100.dll__waccess]
push 0
push ebx
call edi
add esp, 8
test eax, eax
jne 0x41cb2f
push 0x49a82c
lea ecx, [esp + 0x2c]
call fcn.00405690
push str.__bar1014
lea ecx, [esp + 0x28]
call fcn.00405690
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
call fcn.0041f950
add esp, 0x10
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00405660
lea ecx, [esp + 0x28]
call fcn.00405660
push esi
push ebx
push str._updateShortCut_CreateShortCut_path_s_result:0x_x
push 0x498b64
mov esi, 0x25
call fcn.0040b830
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0x10
push 0
push 0x16
lea ecx, [esp + 0xd8]
push ecx
push 0
call esi
mov edx, dword [0x4ae214]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
call eax
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x28]
add eax, 0x10
push 0x49a8b8
push edx
mov dword [esp + 0x30], eax
call fcn.00407630
mov eax, dword [esp + 0x30]
add esp, 0xc
push 0
push eax
call edi
add esp, 8
test eax, eax
jne 0x41cbce
push 0x49a82c
lea ecx, [esp + 0x34]
call fcn.00405690
push str.__bar1014
lea ecx, [esp + 0x2c]
call fcn.00405690
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x3c]
call fcn.0041f950
add esp, 0x10
lea ecx, [esp + 0x28]
call fcn.00405660
lea ecx, [esp + 0x30]
call fcn.00405660
mov edx, dword [0x4ae214]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
call eax
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x2c]
add eax, 0x10
push str._sPrograms_
push edx
mov dword [esp + 0x34], eax
call fcn.00407630
mov eax, dword [esp + 0x34]
add esp, 0xc
push 0
push eax
call edi
add esp, 8
test eax, eax
jne 0x41cc5d
push 0x49a82c
lea ecx, [esp + 0x18]
call fcn.00405690
push str.__bar1014
lea ecx, [esp + 0x34]
call fcn.00405690
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x3c]
call fcn.0041f950
add esp, 0x10
lea ecx, [esp + 0x30]
call fcn.00405660
lea ecx, [esp + 0x14]
call fcn.00405660
xor edx, edx
push 0x206
push edx
lea eax, reloc.NETAPI32.dll_NetApiBufferFree
push eax
mov word [esp + 0x6f4], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
push 0x1a
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
push 0
call esi
mov edx, dword [0x4ae214]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
call eax
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
lea edx, [esp + 0x34]
add eax, 0x10
push str._sMicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push edx
mov dword [esp + 0x3c], eax
call fcn.00407630
mov eax, dword [esp + 0x3c]
add esp, 0xc
push 0
push eax
call edi
add esp, 8
test eax, eax
jne 0x41cd1c
push 0x49a82c
lea ecx, [esp + 0x1c]
call fcn.00405690
push str.__bar1014
lea ecx, [esp + 0x18]
call fcn.00405690
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x3c]
call fcn.0041f950
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00405660
lea ecx, [esp + 0x18]
call fcn.00405660
lea ecx, [esp + 0x30]
call fcn.00405660
lea ecx, [esp + 0x28]
call fcn.00405660
lea ecx, [esp + 0x24]
call fcn.00405660
push 0x498b64
lea ecx, [esp + 0x18]
call fcn.00405690
lea esi, [esp + 0x34]
call fcn.004320f0
cmp dword [eax + 0x14], 8
jb 0x41cd56
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405690
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
call fcn.0042cc30
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00405660
lea ecx, [esp + 0x34]
call fcn.0041ec10
lea ecx, [esp + 0x14]
call fcn.00405660
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.0041fb00
lea ecx, [esp + 0x10]
call fcn.00405660
lea ecx, [esp + 0x2c]
call fcn.00405660
jmp 0x41c8e9
mov eax, str.refresh_icons
call fcn.00404bc0
test eax, eax
je 0x41ce38
push str.wait_time
lea ecx, [esp + 0x1c]
call fcn.00405690
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x18]
call fcn.00404c80
lea ecx, [esp + 0x18]
call fcn.00405660
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x41ce19
push eax
call dword [sym.imp.MSVCR100.dll__wtoi]
add esp, 4
cmp eax, 0x2710
jbe 0x41ce0e
mov eax, 0x2710
jmp 0x41ce12
test eax, eax
je 0x41ce19
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.0041fb00
lea ecx, [esp + 0x14]
jmp 0x41c8ed
call ebx
push ecx
mov ecx, esp
push eax
call fcn.00405690
call fcn.0041df60
add esp, 4
cmp byte [0x4afaed], 1
jne 0x41ce5e
call fcn.0041dff0
jmp 0x41c8f2
mov eax, dword [esi + 4]
call fcn.0041d800
test eax, eax
jne 0x41c439
mov edx, dword [0x4ae214]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
call eax
cmp dword [ebp + 8], 2
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
jle 0x41ceb2
mov eax, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
call fcn.0041dd60
add esp, 4
push eax
lea ecx, [esp + 0x10]
call fcn.00406470
lea ecx, [esp + 0x18]
call fcn.00405660
mov edi, dword [esp + 0xc]
cmp byte [0x4afae5], 0
je 0x41ced5
lea edi, [esp + 0x18]
call fcn.004197e0
mov esi, edi
call fcn.004198b0
call fcn.00419840
jmp 0x41c8e9
mov dword [esp + 0x28], 0
call fcn.0041a8f0
mov esi, eax
call fcn.0041a980
lea esi, [esp + 0x34]
call fcn.0040bc30
call ebx
mov ecx, esi
call fcn.00410ad0
mov edx, esi
push edx
call fcn.0040bd20
call ebx
push eax
push str.GetCommandLineW___s
push str.set_default_
mov esi, 0x25
call fcn.0040b830
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x4afaec], 0
je 0x41cf3c
call fcn.0041b870
test eax, eax
je 0x41cf3c
call fcn.00433910
cmp byte [0x4afae2], 0
je 0x41cf76
lea esi, [esp + 0x34]
call fcn.0040bc30
push ecx
lea eax, [edi - 0x10]
mov esi, esp
push eax
call fcn.00406aa0
add esp, 4
lea ecx, [esp + 0x38]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00410230
lea edx, [esp + 0x34]
push edx
call fcn.0040bd20
cmp byte [0x4afad5], 0
je 0x41cf84
call fcn.004226f0
cmp byte [0x4afad4], 0
je 0x41cf92
call fcn.004226f0
cmp byte [0x4afadc], 0
je 0x41cff5
call fcn.004179f0
push 0x498b64
lea ecx, [esp + 0x18]
call fcn.00405690
lea esi, [esp + 0x34]
call fcn.004320f0
cmp dword [eax + 0x14], 8
jb 0x41cfbf
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405690
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
call fcn.0042cc30
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00405660
lea ecx, [esp + 0x34]
call fcn.0041ec10
lea ecx, [esp + 0x14]
call fcn.00405660
cmp byte [0x4afad6], 0
je 0x41d01f
lea esi, [esp + 0x34]
call fcn.0040bc30
mov ecx, esi
push ecx
call fcn.0040ebe0
mov edx, esi
push edx
call fcn.0040e800
mov eax, esi
push eax
call fcn.0040bd20
cmp byte [0x4afad7], 0
je 0x41d041
lea esi, [esp + 0x34]
call fcn.0040bc30
mov ecx, esi
push ecx
call fcn.0040f850
mov edx, esi
push edx
call fcn.0040bd20
cmp byte [0x4afae8], 0
je 0x41d078
lea esi, [esp + 0x34]
call fcn.0040bc30
push ecx
add edi, 0xfffffff0
mov esi, esp
push edi
call fcn.00406aa0
add eax, 0x10
add esp, 4
lea ebx, [esp + 0x38]
mov dword [esi], eax
call fcn.00412340
mov eax, ebx
push eax
call fcn.0040bd20
cmp byte [0x4afae9], 0
je 0x41d0a8
lea esi, [esp + 0x34]
call fcn.0040bc30
push 1
push ecx
mov ecx, esp
push str.SetDefaultByCoverInstall
call fcn.00405690
mov eax, esi
call fcn.00410d90
mov ecx, esi
push ecx
call fcn.0040bd20
cmp byte [0x4afaea], 0
je 0x41d0d8
lea esi, [esp + 0x34]
call fcn.0040bc30
push 1
push ecx
mov ecx, esp
push str.SetDefaultByRepair
call fcn.00405690
mov eax, esi
call fcn.00410d90
mov edx, esi
push edx
call fcn.0040bd20
cmp byte [0x4afae6], 0
je 0x41d120
lea esi, [esp + 0x34]
call fcn.0040bc30
lea eax, [esp + 0xc]
push eax
mov ecx, 0x497858
call fcn.00405e60
xor ecx, ecx
add esp, 4
test al, al
setne cl
push ecx
push ecx
mov ecx, esp
push str.Fix_BaiduBrowserDefault
call fcn.00405690
mov eax, esi
call fcn.00410d90
mov edx, esi
push edx
call fcn.0040bd20
cmp byte [0x4afaeb], 0
je 0x41d165
push str.g_already_is_default_before_upgrade_was_true
push str.set_default_
mov esi, 0x25
call fcn.0040b830
add esp, 8
push 1
push ecx
mov ecx, esp
push str.AlreadyIsDefaultBeforeUpgrade
call fcn.00405690
lea esi, [esp + 0x3c]
call fcn.0040bc30
call fcn.00410d90
mov eax, esi
push eax
call fcn.0040bd20
cmp byte [0x4afad8], 0
jne 0x41d184
cmp byte [0x4afad9], 0
jne 0x41d184
cmp byte [0x4afada], 0
je 0x41d324
lea eax, [esp + 0x60]
call fcn.0042e4d0
call fcn.00432340
mov dword [esp + 0xb4], eax
call fcn.00431f60
cmp byte [0x4afad8], 0
mov dword [esp + 0xb8], eax
je 0x41d27f
cmp byte [0x4afadd], 0
je 0x41d1ea
push str.TimeDelay_SetBaiduDefault
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x41d1ea
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push esi
call edi
cmp dword [esp + 0xb8], 6
jl 0x41d226
call fcn.0042e510
test eax, eax
jne 0x41d21f
lea ecx, [esp + 0x18]
push ecx
mov edi, 0x49ca78
mov dword [esp + 0x1c], eax
call fcn.004326d0
add esp, 4
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, dword [esp + 0x18]
jmp 0x41d232
lea edx, [esp + 0x60]
push edx
jmp 0x41d22b
lea eax, [esp + 0x60]
push eax
call fcn.0042e800
mov ebx, eax
mov edi, ebx
neg edi
sbb edi, edi
neg edi
dec edi
lea esi, [esp + 0x34]
mov dword [esp + 0x28], edi
call fcn.0040bc30
push ebx
push ecx
mov ecx, esp
push str.Fix_BaiduBrowserDefault
call fcn.00405690
mov eax, esi
call fcn.00410d90
mov ecx, esi
push ecx
call fcn.0040bd20
test edi, edi
jne 0x41d27f
lea esi, [esp + 0x34]
call fcn.0040bc30
call fcn.004128b0
mov edx, esi
push edx
call fcn.0040bd20
cmp byte [0x4afad9], 0
je 0x41d301
lea eax, [esp + 0x60]
push eax
call fcn.0042e9a0
test eax, eax
je 0x41d301
call fcn.0042fe10
cmp dword [esp + 0xb8], 6
jl 0x41d2d0
call fcn.0042e510
test eax, eax
jne 0x41d2d0
lea ecx, [esp + 0x18]
push ecx
mov edi, 0x49ca54
mov dword [esp + 0x1c], eax
call fcn.004326d0
add esp, 4
mov edi, eax
neg edi
sbb edi, edi
and edi, dword [esp + 0x18]
jmp 0x41d2db
lea ebx, [esp + 0x60]
call fcn.0042e570
mov edi, eax
lea esi, [esp + 0x34]
call fcn.0040bc30
push edi
push ecx
mov ecx, esp
push str.Fix_IEDefault
call fcn.00405690
mov eax, esi
call fcn.00410d90
mov edx, esi
push edx
call fcn.0040bd20
cmp byte [0x4afada], 0
je 0x41d31b
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea esi, [esp + 0x60]
call fcn.0042d480
cmp byte [0x4afad2], 0
je 0x41d372
lea eax, [esp + 0x60]
call fcn.0042e4d0
call fcn.00432340
mov dword [esp + 0xb4], eax
call fcn.00431f60
mov dword [esp + 0xb8], eax
call fcn.0042fe10
cmp dword [esp + 0xb8], 6
jl 0x41d362
call fcn.0042e510
lea ebx, [esp + 0x60]
call fcn.0042e570
mov esi, ebx
call fcn.0042d480
cmp byte [0x4afad0], 0
je 0x41d3c0
lea eax, [esp + 0x60]
call fcn.0042e4d0
call fcn.00432340
mov dword [esp + 0xb4], eax
call fcn.00431f60
mov dword [esp + 0xb8], eax
cmp eax, 6
jl 0x41d3ad
call fcn.0042e510
lea eax, [esp + 0x60]
push eax
jmp 0x41d3b2
lea ecx, [esp + 0x60]
push ecx
call fcn.0042e800
lea esi, [esp + 0x60]
call fcn.0042d480
cmp byte [0x4afad1], 0
je 0x41d3ce
call fcn.00433570
cmp dword [ebp + 8], 2
jle 0x41d4a7
mov edx, dword [0x4ae214]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
call eax
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 8]
add eax, 0x10
lea edi, [esp + 0x2c]
mov dword [esp + 0x2c], eax
call fcn.00414800
mov esi, dword [esp + 0x2c]
cmp dword [esi - 0xc], 0
jl 0x41d49e
push str.Global5A083D3D_A2E8_4a48_9014_FD95EF044371
push esi
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
je 0x41d49e
sub eax, esi
sar eax, 1
cmp eax, reloc.NETAPI32.dll_NetApiBufferFree
je 0x41d49e
push esi
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edi, eax
test edi, edi
jne 0x41d46f
lea ecx, [esp + 0x2c]
call fcn.00405660
lea ecx, [esp + 0xc]
call fcn.00405660
push str.browserutil
push 0x498b64
lea esi, [edi + 0x25]
call fcn.0040b830
mov eax, 0x80004005
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x2c]
call fcn.00405f30
push eax
push str.SetEvent__s
push str.set_default_
mov esi, 0x25
call fcn.0040b830
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x2c]
call fcn.00405660
cmp byte [0x4afadb], 0
je 0x41d4c7
lea edi, [esp + 0x60]
call fcn.0041d750
mov eax, edi
call fcn.004200a0
mov esi, edi
call fcn.0041d7b0
cmp byte [0x4afae3], 0
je 0x41d4e8
lea esi, [esp + 0x34]
call fcn.0040bc30
mov eax, esi
call fcn.00412f90
mov edx, esi
push edx
call fcn.0040bd20
cmp byte [0x4afadf], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x41d53e
lea esi, [esp + 0x18]
call fcn.00403430
call fcn.004038b0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor edi, edi
lea ecx, [ecx]
push 0x32
call ebx
push str.behavestartwheninstall
call esi
movzx eax, ax
test ax, ax
jne 0x41d52e
inc edi
cmp edi, 0x258
jle 0x41d510
jmp 0x41d535
push eax
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
lea esi, [esp + 0x18]
call fcn.00403470
cmp byte [0x4afade], 0
je 0x41d58f
push str.TimeDelay_StartBaiduBrowser
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x41d571
push 0xdbba0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x18]
call fcn.00403430
call fcn.004039e0
call fcn.00403470
test edi, edi
je 0x41d58f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4afae0], 0
je 0x41d609
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x27
lea esp, [esp]
push 0
push str.7597C4B1_F62C_4e83_A35F_8B69C8779DC1
call ebx
test eax, eax
je 0x41d5c6
push 0x64
call edi
dec esi
jne 0x41d5b0
jmp 0x41d5ca
test esi, esi
jne 0x41d5f6
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 0x27
push 0
push str.7597C4B1_F62C_4e83_A35F_8B69C8779DC1
call ebx
test eax, eax
je 0x41d5eb
push 0
push 0
push 0x10
push eax
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
jne 0x41d5d5
lea esi, [esp + 0x18]
call fcn.00403430
call fcn.004039e0
call fcn.00403470
cmp byte [0x4afae1], 0
je 0x41d628
lea esi, [esp + 0x18]
call fcn.00403430
mov eax, esi
push eax
call fcn.00403b20
call fcn.00403470
cmp byte [0x4afae7], 0
je 0x41d713
mov eax, str.elevate_path
lea ecx, [esp + 0x18]
call fcn.004142a0
lea ecx, [esp + 0x18]
push ecx
lea ebx, [esp + 0x18]
call fcn.00404c80
mov eax, dword [eax]
lea ecx, [esp + 0x24]
call fcn.0041e730
mov ecx, ebx
call fcn.00405660
lea ecx, [esp + 0x18]
call fcn.00405660
mov eax, str.elevate_param
lea ecx, [esp + 0x18]
call fcn.004142a0
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x18]
call fcn.00404c80
mov eax, dword [eax]
lea ecx, [esp + 0x10]
call fcn.0041e730
mov ecx, ebx
call fcn.00405660
lea ecx, [esp + 0x18]
call fcn.00405660
mov eax, str.elevate_name
lea ecx, [esp + 0x18]
call fcn.004142a0
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x34]
call fcn.00404c80
mov eax, dword [eax]
lea ecx, [esp + 0x14]
call fcn.0041e730
mov ecx, ebx
call fcn.00405660
lea ecx, [esp + 0x18]
call fcn.00405660
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push 0x7530
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00418d00
lea ecx, [esp + 0x14]
call fcn.00405660
lea ecx, [esp + 0x10]
call fcn.00405660
lea ecx, [esp + 0x24]
call fcn.00405660
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xc]
call fcn.00405660
push str.browserutil
push 0x498b64
mov esi, 0x25
call fcn.0040b830
mov eax, dword [esp + 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret