Function at 0x41b960
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.0040f690
lea edx, [esp + 0x14]
push edx
call fcn.0041c170
lea eax, [esp + 0x34]
push eax
call fcn.00407490
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041b100
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 0x41b9e5
cmp dword [esp + 0x30], eax
je 0x41bc18
mov edx, str.quit
lea edi, [esp + 0x14]
call fcn.0041b890
test al, al
je 0x41ba5e
sub esp, 0x10
mov eax, esp
mov ecx, 0x41d720
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.0041d280
mov edx, esi
push edx
push 0x41d800
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x41ba54
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 0x41bd43
mov edx, str.newpage
lea edi, [esp + 0x14]
call fcn.0041b890
test al, al
je 0x41bb15
mov edx, edi
push edx
mov edx, str.newpage
lea edi, [esp + 0x8c]
call fcn.0041b740
cmp dword [esp + 0xa0], 8
mov edi, dword [esp + 0x8c]
jae 0x41baa0
lea edi, [esp + 0x8c]
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x64], esp
sub esp, 0x10
mov eax, esp
mov ecx, 0x41acb0
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.0041d2d0
call fcn.0041d830
add esp, 0x18
test eax, eax
jne 0x41baf1
lea esi, [esp + 0x88]
call fcn.0040a8d0
lea edx, [esp + 0x14]
push edx
jmp 0x41bd43
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5e4]
call fcn.00409da0
lea esi, [esp + 0x88]
jmp 0x41bc13
mov edx, str.Left
lea edi, [esp + 0x14]
call fcn.0041b890
test al, al
je 0x41bc18
mov edx, 0x4632a8
call fcn.0041b890
test al, al
je 0x41bc18
mov edx, str.CaretH
call fcn.0041b890
test al, al
je 0x41bc18
mov ecx, edi
push ecx
mov edx, str.CaretH
lea edi, [esp + 0x70]
call fcn.0041b740
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x41bb6f
mov ebx, dword [eax + 4]
jmp 0x41bb72
lea ebx, [eax + 4]
lea edx, [esp + 0x14]
push edx
mov edx, 0x4632a8
lea edi, [esp + 0x54]
call fcn.0041b740
cmp dword [eax + 0x18], esi
jb 0x41bb8f
mov esi, dword [eax + 4]
jmp 0x41bb92
lea esi, [eax + 4]
lea eax, [esp + 0x14]
push eax
mov edx, str.Left
lea edi, [esp + 0x8c]
call fcn.0041b740
cmp dword [eax + 0x18], 8
jb 0x41bbb3
mov edi, dword [eax + 4]
jmp 0x41bbb6
lea edi, [eax + 4]
push ebx
call fcn.0044243d
add esp, 4
push esi
mov ebx, eax
call fcn.0044243d
add esp, 4
push edi
mov esi, eax
call fcn.0044243d
add esp, 4
test eax, eax
jne 0x41bbdd
test esi, esi
je 0x41bbfa
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.0040a8d0
lea esi, [esp + 0x50]
call fcn.0040a8d0
lea esi, [esp + 0x6c]
call fcn.0040a8d0
call fcn.0041ae40
cmp dword [eax + 0x128], 1
je 0x41bc2a
xor ecx, ecx
jmp 0x41bc33
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 0x41bcbb
sub esp, 0x10
mov eax, esp
mov ecx, 0x41d720
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.0041d280
mov edx, esi
push edx
push 0x41d800
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x41bcaa
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 0x41bd43
call fcn.0041d660
mov eax, dword [esp + 0x10]
push eax
mov dword [0x473734], eax
call fcn.0042fb40
mov edx, dword [section..BaiduQu]
add esp, 4
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41bd10
mov eax, dword [section..BaiduQu]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41bd02
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 0x41bd43
call fcn.0041d660
call fcn.004065a0
call fcn.0042d1d0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea edi, [esp + 0xac]
call fcn.0041be10
call fcn.0041d5c0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x14]
push eax
call fcn.0041bd80
lea ecx, [esp + 0xa8]
call fcn.0040fa40
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.00441b05
mov esp, ebp
pop ebp
ret 0x10