Function at 0x484610
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67376b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x74b738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x28]
push 0x6eb1e4
push 0x6eb1dc
push 4
mov dword [ebp - 0x28], 0x786e60a8
mov dword [ebp - 0x24], 0x89815b9a
mov dword [ebp - 0x20], 0x51fa9000
mov dword [ebp - 0x1c], 0x59279c81
mov dword [ebp - 0x18], 0x54175e08
mov dword [ebp - 0x14], 0x3f
call fcn.0044fd40
test eax, eax
jle 0x48468f
cmp eax, 6
jne 0x484836
call fcn.00509500
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4847c2
push 0x27
push str.f:master_luinst_ui_marketmainwnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0042a9a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 3
push 0x6d1880
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0042a9a0
mov byte [ebp - 4], 1
call fcn.00509500
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x15d
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042c590
mov esi, eax
push str.OnMsgInstallBreak
push esi
mov byte [ebp - 4], 2
call fcn.0042c400
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00428ee0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x484773
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x484769
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x484769
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x4847c2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4847b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4847b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00669e69
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, 0xa
nop dword [eax]
push 0
call ebx
push str.InstallEndMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
je 0x4847f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x484856
sub edi, 1
jne 0x4847d0
mov ebx, dword [ebp - 0x44]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.004835a0
mov esi, eax
test esi, esi
je 0x48482a
mov ecx, dword [esi]
push esi
call dword [ecx + 0x24]
mov ecx, dword [esi]
push esi
call dword [ecx + 0xc]
cmp eax, 2
je 0x484836
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
push 5
push eax
call dword [ecx + 0xc]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00669a1e
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x44]
lea edi, [ebx + 0x84]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x7c]
lea ecx, [ebx + 0x78]
cmp dword [ecx + 8], eax
je 0x484880
mov dword [eax], esi
add dword [ecx + 4], 4
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x484801
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.00423b80
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x484801