Function at 0x440a40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b898
push 0x459fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
push str.KaseyaSyscheckCacheSema
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x440ac1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_Failed_to_create_data_mutex_in_getSyscheckDataFromCache__._Code:__d_n
call fcn.0043ed20
add esp, 8
mov eax, 0xfffffffc
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1388
push edi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
cmp eax, 0x80
jne 0x440ade
push 0x1388
push edi
call esi
test eax, eax
je 0x440b13
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_Failed_to_obtain_data_mutex_in_getSyscheckDataFromCache__._Code:__d_n
call fcn.0043ed20
add esp, 8
mov eax, 0xfffffffb
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x440b1f
or esi, 0xffffffff
jmp 0x440e5d
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 4], 0
mov eax, dword [0x4cd0d4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x440e50
cmp dword [eax + 0x114], 6
jne 0x440e26
mov ecx, dword [eax + 0x230]
test ecx, ecx
je 0x440e26
mov ecx, dword [eax + 0x244]
cmp ecx, dword [ebx + 0x244]
jne 0x440e26
mov edx, dword [eax + 0x238]
cmp edx, dword [ebx + 0x238]
jne 0x440e26
mov ecx, dword [eax + 0x23c]
cmp ecx, dword [ebx + 0x23c]
jne 0x440e26
mov edx, dword [eax + 0x240]
cmp edx, dword [ebx + 0x240]
jne 0x440e26
mov ecx, dword [eax + 0x234]
cmp ecx, dword [ebx + 0x234]
jne 0x440e26
mov esi, dword [ebx + 0x124]
mov eax, dword [eax + 0x124]
mov edi, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x440be4
test cl, cl
je 0x440be0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x440be4
add eax, 2
add esi, 2
test cl, cl
jne 0x440bc0
xor eax, eax
jmp 0x440be9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x440e23
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x254]
mov dword [ebx + 0x254], eax
mov eax, dword [edi + 0x248]
test eax, eax
je 0x440e1c
cmp eax, dword [ebx + 0x248]
je 0x440e1c
mov eax, dword [ebx + 0x22c]
test eax, eax
jne 0x440c9c
mov eax, dword [edi + 0x230]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440c30
sub eax, edx
lea esi, [eax + 1]
mov dword [ebp - 0x2c], esi
push esi
push 1
call fcn.00459dd1
add esp, 8
mov dword [ebx + 0x22c], eax
test eax, eax
je 0x440c82
mov edx, dword [edi + 0x230]
lea ebx, [ebx]
mov cl, byte [edx]
mov byte [eax], cl
inc edx
inc eax
test cl, cl
jne 0x440c60
mov ecx, dword [edi + 0x248]
mov dword [ebx + 0x248], ecx
mov dword [ebp - 0x1c], 3
jmp 0x440e50
push esi
push str.ERROR:_getSyscheckDataFromCache___Failed_to_allocate__d_bytes_to_return_system_check_data._n
call fcn.0043ed20
add esp, 8
mov dword [ebp - 0x1c], 0xfffffffd
jmp 0x440e50
mov dword [ebp - 0x1c], 1
mov eax, dword [ebx + 0x230]
test eax, eax
je 0x440cc0
push eax
call fcn.0045932f
add esp, 4
mov dword [ebx + 0x230], 0
mov edx, dword [edi + 0x230]
push edx
call fcn.0046794a
add esp, 4
mov dword [ebx + 0x230], eax
test eax, eax
je 0x440de0
mov ecx, dword [ebx + 0x244]
add ecx, 0xfffffffd
cmp ecx, 3
ja case.default.0x440cef
jmp dword [ecx*4 + 0x440e80]
mov ecx, dword [ebx + 0x22c]
push ecx
push eax
call fcn.0044db90
add esp, 8
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x440d1a
cmp dword [ebx + 0x244], 3
je 0x440d23
test eax, eax
je 0x440d81
cmp dword [ebx + 0x244], 4
jne 0x440d81
mov dword [ebp - 0x1c], 0
mov eax, dword [edi + 0x248]
mov dword [ebx + 0x248], eax
jmp 0x440e50
mov esi, dword [ebx + 0x22c]
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x440d46
sub ecx, edi
push ecx
push esi
push eax
call fcn.0045b6d0
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x440d6e
cmp dword [ebx + 0x244], 6
je 0x440d77
test eax, eax
je 0x440d7e
cmp dword [ebx + 0x244], 5
jne 0x440d7e
mov dword [ebp - 0x1c], 0
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x248]
mov dword [ebx + 0x248], eax
jmp 0x440e50
mov esi, dword [ebx + 0x22c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x440dbc
test cl, cl
je 0x440db8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x440dbc
add eax, 2
add esi, 2
test cl, cl
jne 0x440d98
xor eax, eax
jmp 0x440dc1
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x440dd5
cmp dword [ebx + 0x244], 2
je 0x440d77
test eax, eax
je 0x440d7e
cmp dword [ebx + 0x244], 2
je 0x440d7e
jmp 0x440d77
mov eax, dword [edi + 0x230]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440df0
sub eax, edx
push eax
push str.ERROR:_getSyscheckDataFromCache___Failed_to_allocate__d_bytes_to_copy_current_system_check_output._n
call fcn.0043ed20
add esp, 8
mov dword [ebp - 0x1c], 0xfffffffd
mov eax, dword [edi + 0x248]
mov dword [ebx + 0x248], eax
jmp 0x440e50
mov dword [ebp - 0x1c], 2
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov eax, ecx
jmp 0x440b35
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret