Function at 0x64d400
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
push str.java_key_store_api_768531A4012D
call fcn.0044a410
mov bl, byte [esp + 0x8c]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x8c]
add esp, 4
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x13], 0
mov dword [esp + 0x34], eax
mov byte [esp + 0x60], 0
mov byte [esp + 0x14], 1
mov byte [esp + 0x40], 1
mov byte [esp + 0x30], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x48], 0
mov al, byte [esp + 0x11]
test al, al
jne 0x64d527
mov al, byte [esp + 0x11]
test al, al
jne 0x64d622
mov al, byte [esp + 0x12]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
test al, al
mov dword [esp + 0x18], ecx
and al, 0x18
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edi
jne 0x64d7b9
mov cl, byte [esp + 0x14]
mov dword [esp + 0x44], 0x70a72771
mov eax, dword [esp + 0x20]
test cl, cl
mov dword [esp + 0x1c], eax
jne 0x64d59d
mov dl, byte [esp + 0x13]
test dl, dl
je 0x64d4f2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
and eax, 0xff
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*2 + 3]
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x12]
test al, al
sete byte [esp + 0x14]
jmp 0x64d63a
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
add ecx, eax
test dl, dl
mov dword [esp + 0x28], ecx
je 0x64d51b
call fcn.005b9510
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
call section..text
jmp 0x64d59d
mov ecx, dword [esp + 0x34]
test bl, bl
mov dword [esp + 0x20], ecx
je 0x64d541
mov al, byte [esp + 0x11]
mov dword [esp + 0x58], ebp
test al, al
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], ebp
jne 0x64d5d2
jmp 0x64d56c
mov al, byte [esp + 0x11]
mov dword [esp + 0x3c], ebp
test al, al
jne 0x64d717
mov al, byte [esp + 0x12]
mov dl, byte [esp + 0x48]
test al, al
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x14], dl
sete byte [esp + 0x11]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x88]
test al, al
mov dword [esp + 0x18], ecx
je 0x64d6fb
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], 0x70a72771
mov ecx, dword [esp + 0x44]
mov eax, edi
xor eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x14]
test al, al
je 0x64d7f4
mov al, byte [esp + 0x30]
xor esi, esi
xor ecx, ecx
test al, al
sete cl
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x14]
mov edx, dword [esp + 0x28]
test cl, cl
mov dword [esp + 0x64], edx
je 0x64d66e
mov al, byte [esp + 0x48]
test al, al
jne 0x64d779
mov eax, str.autocad_map_viever_178536A2140D
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov al, byte [esp + 0x11]
mov esi, dword [esp + 0x28]
test al, al
jne 0x64d6d8
mov al, byte [esp + 0x14]
mov dword [esp + 0x20], esi
test al, al
jne 0x64d6fb
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x13]
mov esi, dword [esp + 0x70]
test dl, dl
je 0x64d6d8
cmp ecx, dword [esp + 0x38]
setbe bl
test bl, bl
jne 0x64d4f2
push ecx
call fcn.005ba500
mov eax, dword [esp + 0x30]
add esp, 4
xor eax, 2
mov dword [esp + 0x2c], eax
jmp 0x64d7f4
mov dl, byte [esp + 0x40]
mov byte [esp + 0x14], dl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [esp + 0x48]
and eax, 0xff
mov edx, 0xb7
sub edx, eax
mov al, byte [esp + 0x13]
cmp ecx, edx
mov dword [esp + 0x24], ecx
sete bl
test al, al
jne 0x64d460
mov eax, dword [esp + 0x54]
test bl, bl
mov dword [esp + 0x28], eax
je 0x64d612
push ebp
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x60]
and eax, 0xff
lea ecx, [eax + eax*8 + 0x67]
mov al, byte [esp + 0x40]
test al, al
mov dword [esp + 0x2c], ecx
jne 0x64d6f3
jmp 0x64d460
mov ebp, dword [esp + 0x74]
mov cl, byte [esp + 0x14]
xor eax, eax
mov dword [esp + 0x28], esi
cmp ebp, eax
mov dword [esp + 0x3c], eax
setne bl
test cl, cl
je 0x64d762
test bl, bl
je 0x64d478
mov cl, byte [esp + 0x12]
mov eax, dword [esp + 0x1c]
test cl, cl
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], 0x49377df6
je 0x64d820
mov al, byte [esp + 0x30]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
test al, al
mov eax, edi
sete byte [esp + 0x13]
or eax, ecx
xor edi, ecx
cmp eax, edi
mov dword [esp + 0x34], eax
setae bl
test bl, bl
je 0x64d430
mov dword [esp + 0x24], 0x85
mov dword [esp + 0x38], 0x53f91426
mov dword [esp + 0x68], 0x53f914a3
jmp 0x64d83e
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x30]
test al, al
mov dword [esp + 0x5c], 0xcd1bec52
sete byte [esp + 0x12]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x11]
test al, al
mov dword [esp + 0x20], edx
jne 0x64d4b1
mov ecx, dword [esp + 0x18]
mov eax, str.autocad_map_viever_178536A2140D
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, eax
mov al, byte [esp + 0x60]
mov dword [esp + 0x1c], ebp
test al, al
jne 0x64d4c1
mov ecx, dword [esp + 0x50]
mov al, byte [esp + 0x11]
test ecx, ecx
setne bl
test al, al
mov dword [esp + 0x24], 0x85
je 0x64d6fb
mov dl, byte [esp + 0x40]
mov dword [esp + 0x38], 0x53f91426
mov dword [esp + 0x68], 0x53f914a3
mov byte [esp + 0x13], dl
mov dword [esp + 0x64], ebp
jmp 0x64d850
mov eax, dword [esp + 0x14]
and eax, 0xff
push eax
mov eax, str.Autocad
push eax
mov eax, str.Attempted_an_unsupported_operation
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, dword [esp + 0x24]
pop ebp
pop ebx
add esp, 0x68
ret 0x10
mov cl, byte [esp + 0x14]
test cl, cl
je 0x64d83e
mov ecx, dword [esp + 0x20]
add eax, 0x49377df6
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jmp 0x64d541
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
mov al, byte [esp + 0x12]
sub edi, ecx
test al, al
je 0x64d8a5
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
xor edx, eax
push edx
call fcn.0064d330
mov dword [esp + 0x28], eax
mov dword [0xa531c0], eax
call fcn.004dcdb0
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
and eax, 0xff
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
lea ecx, [ecx + ecx*2 + 0xee]
push ecx
push 0x9000133
mov dword [esp + 0x7c], ecx
call fcn.00603de0
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x64d4c1
mov dword [esp + 0x74], edi
jmp 0x64d46c