Function at 0x4010a0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x190], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x170]
push ecx
mov dword [esp + 0x14], 1
call fcn.004200b0
xor ebx, ebx
cmp dword [esp + 0x16c], ebx
jbe 0x4011b4
lea eax, [esp + 0x170]
cmp byte [esp + 0x196], bl
jne 0x401103
mov eax, dword [esp + 0x190]
lea esi, [eax + 4]
mov eax, esi
lea edx, [eax + 2]
jmp 0x401110
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401110
sub eax, edx
push str._install
sar eax, 1
push esi
call fcn.004205b0
add esp, 8
cmp eax, ebx
je 0x401152
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x401152
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0xc], 5
jmp 0x4011f2
cmp dword [esp + 0x16c], ebx
jbe 0x4011b4
lea eax, [esp + 0x170]
cmp byte [esp + 0x196], bl
jne 0x401172
mov eax, dword [esp + 0x190]
lea esi, [eax + 4]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401180
sub eax, edx
push 0x4b2914
sar eax, 1
push esi
call fcn.004205b0
add esp, 8
cmp eax, ebx
je 0x4011b4
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4011b4
mov dword [esp + 0xc], 4
jmp 0x4011f2
mov edi, str._lnk
lea eax, [esp + 0x16c]
call fcn.00420650
cmp eax, 0xffffffff
je 0x4011d4
mov dword [esp + 0xc], 2
jmp 0x4011f2
mov edi, str._dmo
lea eax, [esp + 0x16c]
call fcn.00420650
cmp eax, 0xffffffff
je 0x4011f2
mov dword [esp + 0xc], 3
push str.LocalSGWPNote_APP_C6B7B0CD_0084_4732_9E48_C0A1FC8D5306
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401217
cmp esi, ebx
jne 0x401266
push str.SogouWPNoteMonitorWnd001
push str.SogouWPNoteMonitorClass001
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x40123d
mov edx, dword [esp + 0xc]
push ebx
push edx
push 0xd974
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x196], bl
jne 0x4013c2
mov eax, dword [esp + 0x190]
lea ecx, [esp + 0x170]
cmp eax, ecx
jmp 0x4013b7
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov edi, 0x20
push edi
call fcn.00489136
add esp, 4
cmp eax, ebx
je 0x4012a3
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], 1
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
jmp 0x4012a5
xor eax, eax
mov dword [0x4cb50c], eax
cmp eax, ebx
je 0x40139e
call fcn.00406400
test eax, eax
je 0x40139e
push str.SetProcessDPIAware
push str.user32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4012dc
call eax
call fcn.00409240
mov esi, eax
cmp dword [esi + 0x3c], ebx
jne 0x4012fd
push ebx
push ebx
push esi
push 0x409450
push ebx
push ebx
call fcn.0048a3f7
add esp, 0x18
mov dword [esi + 0x3c], eax
mov edx, dword [0x4cb50c]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [edx + 0x1c], eax
call fcn.0040a300
lea ecx, [esp + 0x28]
push ecx
call fcn.00402440
xor eax, eax
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0040d760
test eax, eax
je 0x401346
call fcn.0040d300
mov eax, dword [0x4cb50c]
test eax, eax
je 0x40136a
push eax
mov esi, eax
call fcn.004063a0
push esi
call fcn.00488f48
add esp, 4
mov dword [0x4cb50c], 0
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov byte [0x4cbd65], 1
call fcn.004024f0
cmp byte [esp + 0x196], 0
jmp 0x40124b
cmp byte [esp + 0x196], bl
jne 0x4013c2
mov eax, dword [esp + 0x190]
lea edx, [esp + 0x170]
cmp eax, edx
je 0x4013c2
push eax
call fcn.0048a268
add esp, 4
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00488f53
mov esp, ebp
pop ebp
ret 0x10