Function at 0x44b160
Capabilities:
Check mutex on windows
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x539598
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x59099c]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59099c]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, dword [esp + 0x120]
test esi, esi
mov edi, dword [esp + 0x118]
mov eax, dword [esp + 0x11c]
mov ebp, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], esi
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 1
je 0x44b1d1
call fcn.00449090
push str._RecvMutex
lea ecx, [esp + 0x98]
push edi
push ecx
call fcn.0040dd15
mov ebx, 0x10
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x44b1f6
mov eax, dword [eax + 4]
jmp 0x44b1f9
add eax, 4
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp dword [esp + 0xac], ebx
mov esi, eax
mov dword [esp + 0x20], esi
jb 0x44b226
mov edx, dword [esp + 0x98]
push edx
call fcn.0050b609
add esp, 4
test esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
je 0x44b261
mov edi, edi
push 0x3e8
push esi
call edi
test eax, eax
jne 0x44b250
mov byte [esp + 0x16], 1
mov eax, dword [esp + 0x18]
push str._RecvEvent
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.0040dd15
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x44b285
mov eax, dword [eax + 4]
jmp 0x44b288
add eax, 4
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventA]
push eax
push 0
push 0x1f0003
call esi
cmp dword [esp + 0x90], ebx
mov edi, eax
mov dword [esp + 0x40], edi
jb 0x44b2b4
mov edx, dword [esp + 0x7c]
push edx
call fcn.0050b609
add esp, 4
mov eax, dword [esp + 0x18]
push str._NextEvent
push eax
lea ecx, [esp + 0xd4]
push ecx
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], 0
mov byte [esp + 0x88], 0
call fcn.0040dd15
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x44b2f6
mov eax, dword [eax + 4]
jmp 0x44b2f9
add eax, 4
push eax
push 0
push 0x1f0003
call esi
cmp dword [esp + 0xe4], ebx
mov dword [esp + 0x44], eax
jb 0x44b320
mov edx, dword [esp + 0xd0]
push edx
call fcn.0050b609
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], ebx
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
jb 0x44b34e
add eax, 4
mov eax, dword [eax]
jmp 0x44b351
add eax, 4
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 0xbb8
push 0
push 0
push 0xf001f
push eax
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
mov eax, dword [ebp + 0xa8]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x34], esi
call ebx
push 0
push ebp
call fcn.0044aa70
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xa8]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
je 0x44ba44
test esi, esi
je 0x44ba44
mov ecx, dword [ebp + 0xa8]
push 0xffffffffffffffff
push ecx
call ebx
mov edi, dword [esp + 0x124]
cmp edi, 3
jne 0x44b435
add dword [ebp + 0x84], 1
mov ecx, dword [ebp + 0x84]
xor eax, eax
lea edx, [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push edx
lea eax, [esp + 0x70]
push eax
lea ebx, [ebp + 0x54]
mov dword [esp + 0x5c], ecx
call fcn.0044c570
mov esi, eax
cmp dword [esi], 0
jne 0x44b411
call fcn.0050bbb1
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp edx, dword [ecx + 4]
jne 0x44b420
call fcn.0050bbb1
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x30]
add esi, 0x10
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
cmp edi, 5
mov ebx, dword [ebp + 0x84]
mov dword [esp + 0x4c], ebx
je 0x44b4b7
push 0x34
call fcn.00509a64
add esp, 4
test eax, eax
je 0x44b468
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
mov esi, eax
jmp 0x44b46a
xor esi, esi
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x28], esi
call fcn.0040a999
cmp edi, 3
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], 1
jne 0x44b4a4
mov dword [esi + 0x24], ebx
jmp 0x44b4ab
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x24], ecx
lea esi, [ebp + 0x44]
lea ebx, [esp + 0x1c]
call fcn.004386a0
mov edx, dword [ebp + 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 0xa8]
add dword [0x5eee04], 1
push 0xffffffffffffffff
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 0x48]
cmp esi, dword [ebp + 0x4c]
jbe 0x44b4f7
call fcn.0050bbb1
mov dword [esp + 0x38], esi
mov esi, dword [ebp + 0x4c]
cmp dword [ebp + 0x48], esi
mov ebx, dword [esp + 0x18]
lea edi, [ebp + 0x44]
jbe 0x44b50f
call fcn.0050bbb1
cmp edi, edi
je 0x44b518
call fcn.0050bbb1
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x44b7b9
cmp eax, dword [edi + 8]
jb 0x44b52e
call fcn.0050bbb1
cmp dword [ebx + 0x18], 0x10
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x28], ecx
jb 0x44b549
mov edx, dword [ebx + 4]
add ebx, 4
jmp 0x44b54e
add ebx, 4
mov edx, ebx
mov edi, dword [esi + 0x14]
cmp edi, ecx
mov eax, edi
jae 0x44b559
mov ecx, edi
mov ebx, 0x10
cmp dword [esi + 0x18], ebx
jb 0x44b568
mov eax, dword [esi + 4]
jmp 0x44b56b
lea eax, [esi + 4]
push ecx
push edx
push eax
call fcn.00509d38
add esp, 0xc
test eax, eax
jne 0x44b58f
mov eax, dword [esp + 0x28]
cmp edi, eax
jb 0x44b58f
xor edx, edx
cmp edi, eax
setne dl
mov eax, edx
test eax, eax
je 0x44b5a7
mov eax, dword [esp + 0x38]
cmp eax, dword [ebp + 0x4c]
jb 0x44b59d
call fcn.0050bbb1
add dword [esp + 0x38], 4
jmp 0x44b4fb
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx + 0x14]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp dword [esi + 0x20], eax
mov dword [esp + 0x24], esi
jl 0x44b627
cmp dword [esi + 0x18], ebx
jb 0x44b5d3
mov edx, dword [esi + 4]
push edx
call fcn.0050b609
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push esi
mov byte [esi + 4], 0
call fcn.0050b609
mov edx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x4c]
lea ecx, [edx + 4]
sub eax, ecx
sar eax, 2
add esp, 4
test eax, eax
jle 0x44b611
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edx
call fcn.005098ba
add esp, 0x10
add dword [ebp + 0x4c], 0xfffffffc
mov eax, dword [ebp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x44ba28
cmp byte [esi + 0x30], 0
je 0x44b6f3
cmp dword [ebp + 0x24], ebx
jb 0x44b63b
mov eax, dword [ebp + 0x10]
jmp 0x44b63e
lea eax, [ebp + 0x10]
mov ebx, dword [esp + 0x2c]
push 0x100
push eax
lea ecx, [ebx + 0x14]
push ecx
call fcn.0050f7b0
mov edx, dword [esi + 0x1c]
mov dword [ebx], edx
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x14]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0x20]
sub eax, ecx
add esp, 0xc
cmp eax, 0xaa4
mov dword [ebx + 0xc], ecx
jle 0x44b682
mov eax, 0xaa4
mov dword [ebx + 0x10], eax
mov ecx, dword [esi + 0x24]
mov dword [ebx + 4], ecx
mov edi, dword [esi + 0x28]
mov eax, dword [edi + 8]
test eax, eax
je 0x44b69c
mov edx, dword [edi + 0xc]
sub edx, eax
jne 0x44b6a0
xor edi, edi
jmp 0x44b6b3
test eax, eax
je 0x44b6ab
mov ecx, dword [edi + 0xc]
sub ecx, eax
jne 0x44b6b0
call fcn.0050bbb1
mov edi, dword [edi + 8]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
push edx
add eax, edi
push eax
add ebx, 0x114
push ebx
call fcn.0050bcb0
add esp, 0xc
mov byte [esi + 0x30], 0
mov esi, dword [esp + 0x40]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44b6ec
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp + 0xa8]
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ecx
call edi
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x44b716
mov edx, dword [esp + 0x20]
push edx
call edi
mov byte [esp + 0x16], 0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0xb0]
mov dword [esp + 0x68], edx
xor edx, edx
cmp byte [esp + 0x16], dl
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
setne dl
push eax
mov dword [esp + 0x68], ecx
push 0
lea ecx, [esp + 0x68]
push ecx
add edx, 2
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
mov dword [esp + 0x1c], 0
je 0x44b9b9
cmp eax, 1
jne 0x44b8c2
mov edi, ebp
call fcn.0044bd30
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [ebp + 0x8c]
je 0x44b9b9
mov eax, dword [ebp + 0xa8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x8c]
push ecx
push ebp
call fcn.0044aa70
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x44b9b9
cmp dword [esp + 0x124], 3
jne 0x44ba35
mov ecx, dword [ebp + 0x58]
lea esi, [ebp + 0x54]
lea ebx, [esp + 0x4c]
lea eax, [esp + 0x54]
mov dword [esp + 0x70], ecx
call fcn.0044c950
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x44b7ea
cmp eax, esi
je 0x44b7ef
call fcn.0050bbb1
mov edx, dword [esp + 0x70]
cmp dword [ebx + 4], edx
sete al
test al, al
jne 0x44ba35
mov eax, dword [edi + 4]
test eax, eax
je 0x44b6f3
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
je 0x44b6f3
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x44b835
call fcn.0050bbb1
cmp esi, dword [edi + 8]
jb 0x44b83c
call fcn.0050bbb1
mov eax, dword [esi]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xf4]
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
call fcn.0040a999
mov dword [esp + 0x110], ebx
mov eax, dword [ebp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x3c]
push 5
push ebx
push ecx
lea edx, [esp + 0xf4]
push edx
mov ecx, ebp
call fcn.0044b160
mov dword [esp + 0x110], 0xffffffff
cmp dword [esp + 0x100], 0x10
jb 0x44ba16
mov eax, dword [esp + 0xec]
push eax
call fcn.0050b609
add esp, 4
jmp 0x44ba16
cmp eax, 2
jne 0x44b8da
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
add dword [esi + 0x20], edx
mov byte [esi + 0x30], 1
jmp 0x44b9b9
cmp eax, 0x102
jne 0x44b9b9
mov edi, dword [esp + 0x18]
push str._DoneEvent
lea eax, [esp + 0xb4]
push edi
push eax
mov dword [esp + 0x28], 1
call fcn.0040dd15
mov ebx, 0x10
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x44b916
mov eax, dword [eax + 4]
jmp 0x44b919
add eax, 4
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
cmp dword [esp + 0xc8], ebx
mov esi, eax
jb 0x44b942
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0050b609
add esp, 4
test esi, esi
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], 0
mov byte [esp + 0xb4], 0
jne 0x44b9b2
mov edx, dword [ebp + 0xa8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esi, [ebp + 0x28]
push edi
push esi
call fcn.0040dd83
add esp, 8
test al, al
je 0x44b99e
push 0x5604fd
call fcn.0050b770
add esp, 4
push eax
push 0x5604fd
mov ecx, esi
call fcn.0040b689
mov eax, dword [ebp + 0xa8]
push eax
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x44b9b9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x16], 0
je 0x44b9de
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44b9ce
cmp byte [eax + 0x30], 0
je 0x44ba28
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x16], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [ebp + 0x8c]
jne 0x44ba0f
mov edx, dword [ebp + 0xa8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, ebp
call fcn.0044bb90
mov eax, dword [ebp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp byte [esp + 0x16], 0
jne 0x44ba28
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x16], 1
cmp byte [esp + 0x17], 0
jne 0x44b4cc
jmp 0x44ba49
mov edx, dword [ebp + 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x44ba49
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44ba67
mov eax, dword [eax + 0x14]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
jne 0x44ba67
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x44]
push edx
call esi
mov eax, dword [esp + 0x40]
push eax
call esi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x44ba9c
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call esi
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0050bc9c
add esp, 0x100
ret 0x10