Function at 0x493ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d40eb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5000a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x503b4c]
test edi, edi
jne 0x493e06
push 0x120
call fcn.0049cf47
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x493df7
mov ecx, edi
call fcn.0040bcd0
mov dword [edi + 0xf0], vtable.CSingletonBase_class_CMainFrame_.0
mov dword [edi], vtable.CMainFrame.0
mov dword [edi + 0x34], vtable.CMainFrame.1.0
mov dword [edi + 0xf0], vtable.CMainFrame.2.0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0xfc], edi
mov dword [edi + 0xf8], vtable.TXEventObserverObj_class_CMainFrame_.0
mov dword [edi + 0x110], 0
lea esi, [edi + 0x114]
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049cf47
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x11c], 0
mov dword [edi + 0x100], method.CBaseImage.virtual_60
mov dword [edi + 0x104], 0
jmp 0x493df9
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x503b4c], edi
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x493f37
push 1
mov ecx, edi
call fcn.0040f880
push 0xc0
call fcn.0049cf47
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x493e46
mov ecx, eax
call fcn.0041b870
mov esi, eax
jmp 0x493e48
xor esi, esi
push 2
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0041c700
push 3
push 0x83
mov ecx, esi
call fcn.0041b4f0
movaps xmm0, xmmword [0x4d6850]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.0041c890
push esi
mov ecx, edi
call fcn.0040f8a0
push 0
mov ecx, edi
call fcn.0040db30
lea eax, [ebp - 0x30]
push eax
call fcn.00471ba0
add esp, 4
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 4], 6
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x4d6bb0]
push 0
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push 0x40000
push SysReAllocString
mov dword [ecx], 0
movups xmmword [ebp - 0x20], xmm0
push dword [eax]
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
push 0
mov dword [eax], ecx
mov ecx, edi
call fcn.0040c0d0
mov edx, dword [ebp - 0x28]
or ecx, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x493f08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x493f37
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x493f37
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x493f37
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 1
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0040f910
push eax
call fcn.00473660
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d3ed
mov esp, ebp
pop ebp
ret