Function at 0x4657f0
Capabilities:
Check mutex on windows
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fabbc
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x544320]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x544320]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
xor ebx, ebx
lea ecx, [esp + 0x90]
mov dword [esp + 0x18], ebx
xorps xmm0, xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x98], ebx
call fcn.00487780
cmp dword [edi + 0x144], ebx
jbe 0x4659ef
mov eax, dword [edi + 0x140]
mov esi, dword [eax]
cmp esi, eax
je 0x4659ef
jmp 0x465880
push dword [esi + 8]
lea eax, [esp + 0x28]
mov ecx, 0x550e00
push eax
call fcn.004798a0
cmp dword [eax + 0x14], 8
jb 0x46589a
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [esp + 0x38], 8
jb 0x4658b9
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x465915
push dword [esi + 8]
lea eax, [esp + 0x78]
mov ecx, 0x550e00
push eax
call fcn.004797f0
mov dword [esp + 0xb0], 0
lea ecx, [esp + 0x90]
or ebx, 1
push eax
mov dword [esp + 0x1c], ebx
call fcn.004879b0
mov byte [esp + 0x13], 0
test al, al
je 0x46591a
mov byte [esp + 0x13], 1
mov dword [esp + 0xb0], 0xffffffff
test bl, 1
je 0x465944
and ebx, 0xfffffffe
cmp dword [esp + 0x88], 8
jb 0x465944
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x465997
mov byte [esi + 0x4c], 1
mov ecx, 0x550e00
push dword [esi + 8]
call fcn.0047e000
mov dword [esi + 0x24], eax
cmp dword [esi + 0x48], 0
jne 0x4659e1
mov dword [esi + 0x48], 1
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x58], eax
mov byte [esp + 0x64], 1
mov eax, dword [esi + 8]
mov dword [esp + 0x70], eax
test ecx, ecx
je 0x465b34
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x78]
jmp 0x4659db
mov byte [esi + 0x4c], 0
mov dword [esi + 0x24], 0
cmp dword [esi + 0x48], 0
je 0x4659e1
mov dword [esi + 0x48], 0
mov eax, dword [esi + 0x24]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x68], eax
mov byte [esp + 0x60], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x54], eax
test ecx, ecx
je 0x465b34
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x5c]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov esi, dword [esi]
cmp esi, dword [edi + 0x140]
jne 0x465880
cmp dword [edi + 0x14c], 0
jbe 0x465b92
mov eax, dword [edi + 0x148]
mov esi, dword [eax]
cmp esi, eax
je 0x465b92
lea esp, [esp]
push dword [esi + 8]
mov edi, dword [esi + 8]
lea eax, [esp + 0x28]
push eax
mov ecx, 0x550ec0
and edi, 0xffffff
call fcn.004798a0
cmp dword [eax + 0x14], 8
jb 0x465a33
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [esp + 0x38], 8
jb 0x465a52
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x465aac
push edi
lea eax, [esp + 0x78]
mov ecx, 0x550ec0
push eax
call fcn.004797f0
mov dword [esp + 0xb0], 1
lea ecx, [esp + 0x90]
or ebx, 2
push eax
mov dword [esp + 0x1c], ebx
call fcn.004879b0
mov byte [esp + 0x13], 0
test al, al
je 0x465ab1
mov byte [esp + 0x13], 1
mov dword [esp + 0xb0], 0xffffffff
test bl, 2
je 0x465adb
and ebx, 0xfffffffd
cmp dword [esp + 0x88], 8
jb 0x465adb
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x465b3a
mov byte [esi + 0x4c], 1
mov ecx, 0x550ec0
mov eax, dword [esi + 8]
and eax, 0xffffff
push eax
call fcn.0047e000
mov edi, dword [esp + 0x14]
mov dword [esi + 0x24], eax
cmp dword [esi + 0x48], 0
jne 0x465b84
mov dword [esi + 0x48], 1
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x54], eax
mov byte [esp + 0x60], 1
mov eax, dword [esi + 8]
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x465b34
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x70]
jmp 0x465b7e
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_function_call_void_]
mov edi, dword [esp + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x24], 0
cmp dword [esi + 0x48], 0
je 0x465b84
mov dword [esi + 0x48], 0
mov eax, dword [esi + 0x24]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x70], eax
mov byte [esp + 0x64], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x465b34
lea edx, [esp + 0x70]
push edx
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x60]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov esi, dword [esi]
cmp esi, dword [edi + 0x148]
jne 0x465a10
cmp dword [edi + 0x154], 0
jbe 0x465e04
mov eax, dword [edi + 0x150]
mov esi, dword [eax]
cmp esi, eax
je 0x465e04
nop
mov eax, dword [esi + 8]
mov ecx, 0x550f80
push dword [esi + 8]
and eax, 0xffffff
mov dword [esp + 0x58], eax
lea eax, [esp + 0x78]
push eax
call fcn.004798a0
cmp dword [eax + 0x14], 8
jb 0x465bd6
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [esp + 0x88], 8
jb 0x465bf8
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x465c5b
push dword [esp + 0x54]
lea eax, [esp + 0x40]
mov ecx, 0x550f80
push eax
call fcn.004797f0
mov dword [esp + 0xb0], 2
lea ecx, [esp + 0x90]
or ebx, 4
push eax
mov dword [esp + 0x1c], ebx
call fcn.004879b0
mov byte [esp + 0x13], 0
test al, al
je 0x465c60
mov byte [esp + 0x13], 1
mov dword [esp + 0xb0], 0xffffffff
test bl, 4
je 0x465c87
and ebx, 0xfffffffb
cmp dword [esp + 0x50], 8
jb 0x465c87
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x465da0
mov byte [esi + 0x4c], 1
mov ecx, 0x550f80
mov eax, dword [esi + 8]
and eax, 0xffffff
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004797f0
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 3
call fcn.00487780
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x28]
call fcn.004879b0
test al, al
jne 0x465cfa
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x465cf6
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
jmp 0x465d55
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xffffffff
call fcn.00484840
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x1c]
push eax
push 0x47dee0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x465d55
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x24], edi
cmp dword [esi + 0x48], 0
jne 0x465df2
mov eax, edi
mov dword [esi + 0x48], 1
mov edi, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov byte [esp + 0x60], 1
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x70], eax
test ecx, ecx
je 0x465b34
mov eax, dword [ecx]
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x78]
push edx
call dword [eax + 8]
jmp 0x465df6
mov byte [esi + 0x4c], 0
mov dword [esi + 0x24], 0
cmp dword [esi + 0x48], 0
je 0x465df6
mov dword [esi + 0x48], 0
mov eax, dword [esi + 0x24]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x58], eax
mov byte [esp + 0x64], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x8c], eax
test ecx, ecx
je 0x465b34
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x94]
push edx
call dword [eax + 8]
jmp 0x465df6
mov edi, dword [esp + 0x14]
mov esi, dword [esi]
cmp esi, dword [edi + 0x150]
jne 0x465bb0
cmp dword [edi + 0x15c], 0
jbe 0x46607b
mov eax, dword [edi + 0x158]
mov esi, dword [eax]
cmp esi, eax
je 0x46607b
mov eax, dword [esi + 8]
mov ecx, 0x551040
push dword [esi + 8]
and eax, 0xffffff
mov dword [esp + 0x90], eax
lea eax, [esp + 0x78]
push eax
call fcn.004798a0
cmp dword [eax + 0x14], 8
jb 0x465e4a
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [esp + 0x88], 8
jb 0x465e6c
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x465ed2
push dword [esp + 0x8c]
lea eax, [esp + 0x40]
mov ecx, 0x551040
push eax
call fcn.004797f0
mov dword [esp + 0xb0], 4
lea ecx, [esp + 0x90]
or ebx, 8
push eax
mov dword [esp + 0x1c], ebx
call fcn.004879b0
mov byte [esp + 0x13], 0
test al, al
je 0x465ed7
mov byte [esp + 0x13], 1
mov dword [esp + 0xb0], 0xffffffff
test bl, 8
je 0x465efe
and ebx, 0xfffffff7
cmp dword [esp + 0x50], 8
jb 0x465efe
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x466017
mov byte [esi + 0x4c], 1
mov ecx, 0x551040
mov eax, dword [esi + 8]
and eax, 0xffffff
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004797f0
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 5
call fcn.00487780
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x28]
call fcn.004879b0
test al, al
jne 0x465f71
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x465f6d
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
jmp 0x465fcc
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xffffffff
call fcn.00484840
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x1c]
push eax
push 0x47dee0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x465fcc
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x24], edi
cmp dword [esi + 0x48], 0
jne 0x466069
mov eax, edi
mov dword [esi + 0x48], 1
mov edi, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov byte [esp + 0x60], 1
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x465b34
mov eax, dword [ecx]
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x70]
push edx
call dword [eax + 8]
jmp 0x46606d
mov byte [esi + 0x4c], 0
mov dword [esi + 0x24], 0
cmp dword [esi + 0x48], 0
je 0x46606d
mov dword [esi + 0x48], 0
mov eax, dword [esi + 0x24]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x6c], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x9c], eax
test ecx, ecx
je 0x465b34
mov eax, dword [ecx]
lea edx, [esp + 0x5c]
push edx
lea edx, [esp + 0x70]
push edx
lea edx, [esp + 0xa4]
push edx
call dword [eax + 8]
jmp 0x46606d
mov edi, dword [esp + 0x14]
mov esi, dword [esi]
cmp esi, dword [edi + 0x158]
jne 0x465e21
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004f009a
mov esp, ebp
pop ebp
ret