Function at 0x411550
Capabilities:
Check mutex on windows
Terminate thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a48b8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.RECSR202210121837mutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0xcc], edi
call esi
cmp eax, 0xb7
jne 0x4115dc
test edi, edi
je 0x4115c2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push eax
push str.RunEntryChromeSvcRun
push str._s:CreateMutex___alreadly_run:_d
call fcn.00401620
add esp, 0xc
jmp 0x411baa
push str.RECSR202210121837Event
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xc8], eax
test eax, eax
jne 0x41160c
call esi
push eax
push str.RunEntryChromeSvcRun
push str._s:CreateEvent___failed:_d
call fcn.00401620
add esp, 0xc
lea eax, [ebp - 0xa8]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xa8], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x1e
xor edx, edx
call fcn.0040a060
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xbc], 0
push eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
push eax
lea edx, [ebp - 0x1c]
movlpd qword [ebp - 0xb8], xmm0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.0040f740
mov edi, dword [ebp - 0xb4]
xorps xmm0, xmm0
mov esi, dword [ebp - 0xb8]
xor ecx, ecx
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0xac], 0
nop dword [eax]
test ecx, ecx
je 0x411807
mov eax, dword [ebp - 0xc8]
push 0x7d0
test eax, eax
je 0x4116c8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x411b20
jmp 0x4116ce
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x7d0
push str.RunEntryChromeSvcRun
push str._s:nCount_0
mov dword [ebp - 0xb4], esi
adc edi, 0
call fcn.00401620
add esp, 8
lea eax, [ebp - 0x9c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x9c], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ax, word [ebp - 0x9c]
cmp ax, word [ebp - 0x74]
jne 0x411752
mov ax, word [ebp - 0x9a]
cmp ax, word [ebp - 0x72]
jne 0x411752
mov ax, word [ebp - 0x96]
cmp ax, word [ebp - 0x6e]
jne 0x411752
cmp dword [ebp - 0xac], 0
mov esi, 1
jne 0x411754
push str.RunEntryChromeSvcRun
push str._s:nCount_0_and_JHIsSameDay__
call fcn.00401620
add esp, 8
jmp 0x4117ef
xor esi, esi
movzx eax, word [ebp - 0x94]
push eax
movzx eax, word [ebp - 0x6c]
push eax
push str.RunEntryChromeSvcRun
push str._s:nCount_0_and__JHIsSameDay___and_oldhour_d_curhour_d
call fcn.00401620
add esp, 0x10
xor edx, edx
push 0x96
call fcn.0040a060
test eax, eax
jne 0x4117b2
mov dword [ebp - 0xac], 1
test esi, esi
jne 0x4117ef
push esi
push 1
push esi
xor edx, edx
call fcn.0040b230
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
push esi
push esi
push esi
push esi
push 0x2c2
jmp 0x4117e2
push 0
push 1
push 0
xor edx, edx
mov dword [ebp - 0xac], 0
call fcn.0040b230
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
push 0
push 0
push 0
push 0
push 0x2bd
push 0
push 0
xor edx, edx
xor ecx, ecx
call fcn.0040d520
test edi, edi
jne 0x411859
mov esi, dword [ebp - 0xb4]
cmp esi, 0xa4cb80
jb 0x411ac3
jmp 0x411859
push str.RunEntryChromeSvcRun
push str._s:nCount0
call fcn.00401620
add esp, 8
xor edx, edx
push 0
push 1
push 0
call fcn.0040b230
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0040fb50
push 0
push 0
neg eax
push 0
sbb eax, eax
xor edx, edx
push 0
and eax, 5
xor ecx, ecx
push 0
add eax, 0x2bc
push eax
push 0
push 0
call fcn.0040d520
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edx, [ebp - 0x4c]
mov dword [ebp - 4], eax
call fcn.004069c0
test eax, eax
je 0x4119c5
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00403a70
push 0x14
push str.FastAuthProvider.ncx
lea ecx, [ebp - 0x64]
call fcn.00407910
lea ecx, [ebp - 0x34]
call fcn.004041e0
call fcn.004051d0
push ecx
push 0
push ecx
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x64]
call fcn.004055f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x411928
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41191e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411bca
push edx
push ecx
call fcn.0044235d
add esp, 8
xor eax, eax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x50]
mov word [ebp - 0x34], ax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], eax
cmp edx, 8
jb 0x411975
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41196b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411bca
push edx
push ecx
call fcn.0044235d
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
push 1
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea edx, [eax + 1]
call fcn.0040a060
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
sub esp, 0x14
xor edx, edx
push 0
push ecx
call fcn.0040edc0
test eax, eax
jne 0x411adf
push str.RunEntryChromeSvcRun
push str._s:JHCreateProcess___failed
call fcn.00401620
add esp, 8
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea edx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.00406050
call fcn.00405df0
call fcn.00411000
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x411a40
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411a36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411bca
push edx
push ecx
call fcn.0044235d
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp edx, 8
jb 0x411a98
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411a8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411bca
push edx
push ecx
call fcn.0044235d
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0xb8], xmm0
xor eax, eax
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xb8]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xa
lea eax, [ecx + 1]
cmovge eax, ecx
mov ecx, eax
mov dword [ebp - 0xbc], ecx
jmp 0x4116a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x411b20
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411b16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411bca
push edx
push ecx
call fcn.0044235d
add esp, 8
mov esi, dword [ebp - 0xc0]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 1
test esi, esi
je 0x411b5d
push 0x4e20
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411b56
push 0
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xc4]
test esi, esi
je 0x411b8a
push 0x4e20
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411b7f
push 0
push esi
call edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x411b90
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x411b9d
push eax
call esi
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x411baa
push eax
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004452a7
int3