Function at 0x421e50
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4893d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9b30]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
push eax
push ecx
push esi
push 0
call fcn.00437ad0
add esp, 0x10
test eax, eax
jne 0x421f23
push 1
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4be544
call fcn.00433720
mov esi, eax
push 0x30
lea eax, [esp + 0x34]
push eax
mov ecx, 0x4be544
mov dword [esp + 0x28], 0
call fcn.00433720
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ef4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421f1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42207c
call fcn.0044c39b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x421f3d
push 0x80004005
call fcn.00419200
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
lea edi, [esi + 0x3e]
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 1
call fcn.00419ca0
push edi
push 0x48fa04
call fcn.0042bae0
mov ebx, dword [esp + 0x38]
add esp, 8
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x42201e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42202b
push 2
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x4be544
call fcn.00433720
mov esi, eax
push 0x31
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x4be544
mov byte [esp + 0x28], 2
call fcn.00433720
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ff1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422016
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
jmp 0x421efb
push 0x48f9f0
call fcn.0042bae0
add esp, 4
lea edi, [ebp + 0x330]
mov ecx, 0x22b
rep movsd dword es:[edi], dword [esi]
push 0x10
lea ecx, [ebp + 0x230]
push ebx
push ecx
movsw word es:[edi], word [esi]
call fcn.00468eba
add esp, 0xc
mov ecx, ebp
call fcn.0041f9f0
lea eax, [ebx - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422077
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc