Function at 0x41b8c0
Capabilities:
Accept command line arguments
Check mutex on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x604
mov eax, dword [0x46e320]
xor eax, esp
mov dword [esp + 0x600], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0xa8]
push ecx
call fcn.0040f4f0
lea edx, [esp + 0x14]
push edx
call fcn.0041c0d0
lea eax, [esp + 0x34]
push eax
call fcn.00434ab0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041b060
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x41b945
cmp dword [esp + 0x30], eax
je 0x41bb78
mov edx, str.quit
lea edi, [esp + 0x14]
call fcn.0041b7f0
test al, al
je 0x41b9be
sub esp, 0x10
mov eax, esp
mov ecx, 0x41d680
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
mov edx, 1
mov dword [eax + 4], ecx
mov esi, 0x462d9c
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
lea esi, [esp + 0x98]
call fcn.0041d1e0
mov edx, esi
push edx
push 0x41d760
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x41b9b4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
mov edx, esi
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
lea ecx, [esp + 0x14]
push ecx
jmp 0x41bca3
mov edx, str.newpage
lea edi, [esp + 0x14]
call fcn.0041b7f0
test al, al
je 0x41ba75
mov edx, edi
push edx
mov edx, str.newpage
lea edi, [esp + 0x8c]
call fcn.0041b6a0
cmp dword [esp + 0xa0], 8
mov edi, dword [esp + 0x8c]
jae 0x41ba00
lea edi, [esp + 0x8c]
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x64], esp
sub esp, 0x10
mov eax, esp
mov ecx, 0x41ac10
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov edx, 0x462d9c
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
call fcn.0041d230
call fcn.0041d790
add esp, 0x18
test eax, eax
jne 0x41ba51
lea esi, [esp + 0x88]
call fcn.0040a890
lea edx, [esp + 0x14]
push edx
jmp 0x41bca3
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5e4]
call fcn.00409d30
lea esi, [esp + 0x88]
jmp 0x41bb73
mov edx, str.Left
lea edi, [esp + 0x14]
call fcn.0041b7f0
test al, al
je 0x41bb78
mov edx, 0x4632a8
call fcn.0041b7f0
test al, al
je 0x41bb78
mov edx, str.CaretH
call fcn.0041b7f0
test al, al
je 0x41bb78
mov ecx, edi
push ecx
mov edx, str.CaretH
lea edi, [esp + 0x70]
call fcn.0041b6a0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x41bacf
mov ebx, dword [eax + 4]
jmp 0x41bad2
lea ebx, [eax + 4]
lea edx, [esp + 0x14]
push edx
mov edx, 0x4632a8
lea edi, [esp + 0x54]
call fcn.0041b6a0
cmp dword [eax + 0x18], esi
jb 0x41baef
mov esi, dword [eax + 4]
jmp 0x41baf2
lea esi, [eax + 4]
lea eax, [esp + 0x14]
push eax
mov edx, str.Left
lea edi, [esp + 0x8c]
call fcn.0041b6a0
cmp dword [eax + 0x18], 8
jb 0x41bb13
mov edi, dword [eax + 4]
jmp 0x41bb16
lea edi, [eax + 4]
push ebx
call fcn.0044242d
add esp, 4
push esi
mov ebx, eax
call fcn.0044242d
add esp, 4
push edi
mov esi, eax
call fcn.0044242d
add esp, 4
test eax, eax
jne 0x41bb3d
test esi, esi
je 0x41bb5a
mov byte [esp + 0x5f4], 1
mov dword [esp + 0x5f8], eax
mov dword [esp + 0x5fc], esi
mov dword [esp + 0x600], ebx
lea esi, [esp + 0x88]
call fcn.0040a890
lea esi, [esp + 0x50]
call fcn.0040a890
lea esi, [esp + 0x6c]
call fcn.0040a890
call fcn.0041ada0
cmp dword [eax + 0x128], 1
je 0x41bb8a
xor ecx, ecx
jmp 0x41bb93
mov ecx, dword [eax + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
push str.BaiduIme_QuickInput_Mutex
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41bc1b
sub esp, 0x10
mov eax, esp
mov ecx, 0x41d680
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
xor edx, edx
mov dword [eax + 4], ecx
mov esi, 0x462d9c
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
lea esi, [esp + 0x98]
call fcn.0041d1e0
mov edx, esi
push edx
push 0x41d760
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x41bc0a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
mov edx, esi
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
push ecx
jmp 0x41bca3
call fcn.0041d5c0
mov eax, dword [esp + 0x10]
push eax
mov dword [0x473734], eax
call fcn.0042fad0
mov edx, dword [section..BaiduQu]
add esp, 4
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41bc70
mov eax, dword [section..BaiduQu]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41bc62
mov ecx, dword [section..BaiduQu]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x14]
push edx
jmp 0x41bca3
call fcn.0041d5c0
call fcn.00406590
call fcn.0042d1e0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea edi, [esp + 0xac]
call fcn.0041bd70
call fcn.0041d520
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x14]
push eax
call fcn.0041bce0
lea ecx, [esp + 0xa8]
call fcn.0040f8a0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x60c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00441af5
mov esp, ebp
pop ebp
ret 0x10