Function at 0x447b50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
push esi
call fcn.00445fa0
push 0x4483c0
mov byte [0x68dbbc], 0
mov byte [0x68dbbd], 0
mov byte [0x68dbbe], 0
mov byte [0x68dbbf], 0
mov byte [0x6a19dc], 1
mov byte [0x68d7e4], 0
call fcn.004639b0
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.Running_Gaijin.Net_Updater
push 3
movlpd qword [ebp - 0x14], xmm0
call fcn.0044dbd0
mov eax, dword [0x696278]
add esp, 0x14
test eax, eax
je 0x447bc3
cmp eax, 0xffffffff
jne 0x447c05
push str.GaijinTrayUpdateAppMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [0x696278]
mov esi, eax
test ecx, ecx
je 0x447be5
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x696278], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x447fa0
cmp eax, 5
je 0x447fa0
mov ecx, section..data
call fcn.004466e0
lea eax, [ebp - 0x30]
push eax
call fcn.00461540
add esp, 4
lea ecx, [ebp - 0x5c]
push 0x696264
push ecx
mov ecx, eax
call fcn.0045d030
push eax
call fcn.00490ca0
add esp, 8
cmp byte [ebp - 0x39], 0
jge 0x447c4a
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x447c4a
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x45], 0
jge 0x447c60
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x447c60
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x51], 0
jge 0x447c76
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x447c76
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0xd], 0
jge 0x447c8c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x447c8c
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x19], 0
jge 0x447ca2
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x447ca2
push eax
call fcn.0044d750
add esp, 4
cmp byte [ebp - 0x25], 0
jge 0x447cb8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x447cb8
push eax
call fcn.0044d750
add esp, 4
call fcn.004479a0
test al, al
jne 0x447cea
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.Couldnt_init_locale
push 3
movlpd qword [ebp - 0x14], xmm0
call fcn.0044dbd0
mov esi, 1
jmp 0x447fc8
lea eax, [ebp - 0x18]
push eax
call fcn.0044bb60
mov esi, eax
add esp, 4
cmp byte [esi + 0xb], 0
jge 0x447d00
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
call fcn.0044bb20
add esp, 4
cmp byte [eax + 0xb], 0
jge 0x447d14
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x58]
push 2
push eax
push 0x600800
push 3
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], 1
call fcn.0044dbd0
add esp, 0x10
test byte [ebp - 1], 0x80
je 0x447d53
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x447d53
push eax
call fcn.0044d750
add esp, 4
test byte [ebp - 0xd], 0x80
je 0x447d69
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x447d69
push eax
call fcn.0044d750
add esp, 4
call fcn.0044b310
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 8
push eax
mov dword [ebp - 0x34], 0x8204
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x1f8]
call fcn.0043f630
push 0
push 0
lea ecx, [ebp - 0x1f8]
call fcn.0044c8d0
test al, al
jne 0x447de9
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.Couldnt_create_application_window
push 3
movlpd qword [ebp - 0x14], xmm0
call fcn.0044dbd0
add esp, 0x10
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1f8]
mov esi, 1
call fcn.0043f930
jmp 0x447fcb
mov byte [ebp - 0xc], 0
mov eax, 0x60082c
mov byte [ebp - 1], 0xb
inc eax
cmp byte [eax], 0
jne 0x447df6
push eax
push 0x60082c
lea ecx, [ebp - 0xc]
call fcn.004409b0
lea eax, [ebp - 0xc]
push eax
call fcn.0044b7a0
add esp, 4
test byte [ebp - 1], 0x80
je 0x447e2c
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x447e2c
push eax
call fcn.0044d750
add esp, 4
cmp dword [ebp - 0x1dc], 0
je 0x447e42
cmp byte [0x68c010], 0
jne 0x447e42
mov al, 1
jmp 0x447e44
xor al, al
push ebx
push edi
push eax
call fcn.00445ad0
add esp, 4
call fcn.0048fff0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov esi, eax
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
call dword [sym.imp.USER32.dll_WaitMessage]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call edi
test eax, eax
je 0x447e62
nop word [eax + eax]
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call ebx
test eax, eax
je 0x447f41
cmp dword [ebp - 0x74], esi
je 0x447eaf
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x447f26
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push 2
push eax
push str.External_message_0x_08X_received___u
push 3
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 2
call fcn.0044dbd0
mov eax, dword [ebp - 0x70]
add esp, 0x10
sub eax, 1
je 0x447f07
sub eax, 1
jne 0x447f26
push eax
push eax
push 0x8004
call fcn.004434f0
add esp, 0xc
jmp 0x447f26
push 0
push 0
push 0x8004
call fcn.004434f0
push 0
push 0
push 0x8001
call fcn.004434f0
add esp, 0x18
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call edi
test eax, eax
jne 0x447e80
jmp 0x447e62
pop edi
mov byte [ebp - 0xc], 0
mov eax, str.exit
mov byte [ebp - 1], 0xb
pop ebx
inc eax
cmp byte [eax], 0
jne 0x447f50
push eax
push str.exit
lea ecx, [ebp - 0xc]
call fcn.004409b0
lea eax, [ebp - 0xc]
push eax
call fcn.0044b7a0
add esp, 4
test byte [ebp - 1], 0x80
je 0x447f86
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x447f86
push eax
call fcn.0044d750
add esp, 4
call fcn.0044ced0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x1f8]
xor esi, esi
call fcn.0043f930
jmp 0x447fcb
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push 1
push eax
push str.Another_instance_detected__error_code__d
push 3
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 2
call fcn.0044dbd0
mov esi, 2
add esp, 0x10
call fcn.00463020
test eax, eax
je 0x447ffa
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push 1
push eax
push str.Detected__u_hanged_threads
push 3
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 2
call fcn.0044dbd0
add esp, 0x10
call fcn.00463060
call fcn.00446240
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret