Function at 0x46a420
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 0x4fca4c
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x547320]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x547320]
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.00488bf0
cmp dword [edi + 0x144], ebx
jbe 0x46a61f
mov eax, dword [edi + 0x140]
mov esi, dword [eax]
cmp esi, eax
je 0x46a61f
jmp 0x46a4b0
push dword [esi + 8]
lea eax, [esp + 0x28]
mov ecx, 0x5534d0
push eax
call fcn.004743e0
cmp dword [eax + 0x14], 8
jb 0x46a4ca
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [esp + 0x38], 8
jb 0x46a4e9
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 0x46a545
push dword [esi + 8]
lea eax, [esp + 0x78]
mov ecx, 0x5534d0
push eax
call fcn.00474330
mov dword [esp + 0xb0], 0
lea ecx, [esp + 0x90]
or ebx, 1
push eax
mov dword [esp + 0x1c], ebx
call fcn.00488e20
mov byte [esp + 0x13], 0
test al, al
je 0x46a54a
mov byte [esp + 0x13], 1
mov dword [esp + 0xb0], 0xffffffff
test bl, 1
je 0x46a574
and ebx, 0xfffffffe
cmp dword [esp + 0x88], 8
jb 0x46a574
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x46a5c7
mov byte [esi + 0x4c], 1
mov ecx, 0x5534d0
push dword [esi + 8]
call fcn.00478a90
mov dword [esi + 0x24], eax
cmp dword [esi + 0x48], 0
jne 0x46a611
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 0x46a764
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x68]
push edx
lea edx, [esp + 0x78]
jmp 0x46a60b
mov byte [esi + 0x4c], 0
mov dword [esi + 0x24], 0
cmp dword [esi + 0x48], 0
je 0x46a611
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 0x46a764
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 0x46a4b0
cmp dword [edi + 0x14c], 0
jbe 0x46a7c2
mov eax, dword [edi + 0x148]
mov esi, dword [eax]
cmp esi, eax
je 0x46a7c2
lea esp, [esp]
push dword [esi + 8]
mov edi, dword [esi + 8]
lea eax, [esp + 0x28]
push eax
mov ecx, 0x553590
and edi, 0xffffff
call fcn.004743e0
cmp dword [eax + 0x14], 8
jb 0x46a663
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [esp + 0x38], 8
jb 0x46a682
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 0x46a6dc
push edi
lea eax, [esp + 0x78]
mov ecx, 0x553590
push eax
call fcn.00474330
mov dword [esp + 0xb0], 1
lea ecx, [esp + 0x90]
or ebx, 2
push eax
mov dword [esp + 0x1c], ebx
call fcn.00488e20
mov byte [esp + 0x13], 0
test al, al
je 0x46a6e1
mov byte [esp + 0x13], 1
mov dword [esp + 0xb0], 0xffffffff
test bl, 2
je 0x46a70b
and ebx, 0xfffffffd
cmp dword [esp + 0x88], 8
jb 0x46a70b
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x46a76a
mov byte [esi + 0x4c], 1
mov ecx, 0x553590
mov eax, dword [esi + 8]
and eax, 0xffffff
push eax
call fcn.00478a90
mov edi, dword [esp + 0x14]
mov dword [esi + 0x24], eax
cmp dword [esi + 0x48], 0
jne 0x46a7b4
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 0x46a764
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x70]
jmp 0x46a7ae
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 0x46a7b4
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 0x46a764
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 0x46a640
cmp dword [edi + 0x154], 0
jbe 0x46aa34
mov eax, dword [edi + 0x150]
mov esi, dword [eax]
cmp esi, eax
je 0x46aa34
nop
mov eax, dword [esi + 8]
mov ecx, 0x553650
push dword [esi + 8]
and eax, 0xffffff
mov dword [esp + 0x58], eax
lea eax, [esp + 0x78]
push eax
call fcn.004743e0
cmp dword [eax + 0x14], 8
jb 0x46a806
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [esp + 0x88], 8
jb 0x46a828
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 0x46a88b
push dword [esp + 0x54]
lea eax, [esp + 0x40]
mov ecx, 0x553650
push eax
call fcn.00474330
mov dword [esp + 0xb0], 2
lea ecx, [esp + 0x90]
or ebx, 4
push eax
mov dword [esp + 0x1c], ebx
call fcn.00488e20
mov byte [esp + 0x13], 0
test al, al
je 0x46a890
mov byte [esp + 0x13], 1
mov dword [esp + 0xb0], 0xffffffff
test bl, 4
je 0x46a8b7
and ebx, 0xfffffffb
cmp dword [esp + 0x50], 8
jb 0x46a8b7
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x46a9d0
mov byte [esi + 0x4c], 1
mov ecx, 0x553650
mov eax, dword [esi + 8]
and eax, 0xffffff
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00474330
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 3
call fcn.00488bf0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x28]
call fcn.00488e20
test al, al
jne 0x46a92a
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x46a926
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
jmp 0x46a985
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xffffffff
call fcn.00485cb0
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x1c]
push eax
push 0x478970
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x46a985
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 0x46aa22
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 0x46a764
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 0x46aa26
mov byte [esi + 0x4c], 0
mov dword [esi + 0x24], 0
cmp dword [esi + 0x48], 0
je 0x46aa26
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 0x46a764
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 0x46aa26
mov edi, dword [esp + 0x14]
mov esi, dword [esi]
cmp esi, dword [edi + 0x150]
jne 0x46a7e0
cmp dword [edi + 0x15c], 0
jbe 0x46acab
mov eax, dword [edi + 0x158]
mov esi, dword [eax]
cmp esi, eax
je 0x46acab
mov eax, dword [esi + 8]
mov ecx, 0x553710
push dword [esi + 8]
and eax, 0xffffff
mov dword [esp + 0x90], eax
lea eax, [esp + 0x78]
push eax
call fcn.004743e0
cmp dword [eax + 0x14], 8
jb 0x46aa7a
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp dword [esp + 0x88], 8
jb 0x46aa9c
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 0x46ab02
push dword [esp + 0x8c]
lea eax, [esp + 0x40]
mov ecx, 0x553710
push eax
call fcn.00474330
mov dword [esp + 0xb0], 4
lea ecx, [esp + 0x90]
or ebx, 8
push eax
mov dword [esp + 0x1c], ebx
call fcn.00488e20
mov byte [esp + 0x13], 0
test al, al
je 0x46ab07
mov byte [esp + 0x13], 1
mov dword [esp + 0xb0], 0xffffffff
test bl, 8
je 0x46ab2e
and ebx, 0xfffffff7
cmp dword [esp + 0x50], 8
jb 0x46ab2e
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp byte [esp + 0x13], 0
je 0x46ac47
mov byte [esi + 0x4c], 1
mov ecx, 0x553710
mov eax, dword [esi + 8]
and eax, 0xffffff
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00474330
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 5
call fcn.00488bf0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x28]
call fcn.00488e20
test al, al
jne 0x46aba1
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x46ab9d
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
jmp 0x46abfc
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xffffffff
call fcn.00485cb0
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x1c]
push eax
push 0x478970
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x46abfc
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 0x46ac99
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 0x46a764
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 0x46ac9d
mov byte [esi + 0x4c], 0
mov dword [esi + 0x24], 0
cmp dword [esi + 0x48], 0
je 0x46ac9d
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 0x46a764
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 0x46ac9d
mov edi, dword [esp + 0x14]
mov esi, dword [esi]
cmp esi, dword [edi + 0x158]
jne 0x46aa51
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.004f188a
mov esp, ebp
pop ebp
ret