Function at 0x4c7fb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565e10
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x639ac0]
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, ecx
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
mov dword [edi], vtable.AMD::Window.0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push 0
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x38]
push 0
push eax
mov byte [ebp - 4], 1
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], ecx
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 0xca0000
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0x18
call fcn.004f69f2
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x4c8180
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x2f
push eax
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004241b0
movups xmm0, xmmword [str.Sysinfo_Crossfire_API_Test_Window]
mov edx, dword [ebp - 0x3c]
mov ecx, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], 0x21
movups xmmword [ecx], xmm0
mov dword [ebp - 0x48], edx
movups xmm0, xmmword [0x58af34]
mov dword [ebp - 0x14], edx
movups xmmword [ecx + 0x10], xmm0
mov al, byte [0x58af44]
mov byte [ecx + 0x20], al
mov byte [ecx + 0x21], 0
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
mov byte [ebp - 4], 3
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp edx, 0xf
mov dword [esi + 0x14], 0
lea esi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x40]
cmova esi, ecx
push eax
mov dword [ebp - 0x3c], 0x2f
call fcn.004241b0
mov edx, dword [ebp - 0x40]
mov ecx, eax
mov eax, dword [ebp - 0x3c]
add esp, 0x10
mov dword [edx], ecx
mov dword [edx + 0x10], 0x21
mov dword [edx + 0x14], eax
movups xmm0, xmmword [esi]
push 0x7f00
push 0
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ecx + 0x10], xmm0
mov ax, word [esi + 0x20]
mov word [ecx + 0x20], ax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0x4c8610
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
cmp dword [eax + 0x14], 0xf
jbe 0x4c816e
mov ecx, dword [eax]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x54], ecx
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov eax, dword [ebp - 0x40]
jmp 0x4c818e
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ecx
mov esi, dword [edi + 4]
mov dword [edi + 4], eax
test esi, esi
je 0x4c8207
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x3c], esi
jbe 0x4c81a6
mov eax, dword [esi]
mov dword [ebp - 0x3c], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x4c81eb
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4c81e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c82ce
mov eax, edx
push ecx
push eax
call fcn.004f6a22
add esp, 8
push 0x18
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.004f6a22
add esp, 8
test byte [ebp - 0x4c], 1
je 0x4c8249
mov eax, dword [ebp - 0x48]
cmp eax, 0xf
jbe 0x4c8249
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x44]
mov edx, eax
cmp ecx, 0x1000
jb 0x4c823f
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x44], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4c82ce
mov eax, dword [ebp - 0x44]
push ecx
push eax
call fcn.004f6a22
add esp, 8
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x14], 0xf
jbe 0x4c8254
mov edx, dword [edx]
mov ecx, dword [edi + 4]
cmp dword [ecx + 0x14], 0xf
jbe 0x4c825f
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push closesocket
push closesocket
push 0xca0000
push edx
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi + 8], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, edi
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.004f66cd
mov esp, ebp
pop ebp
ret 0xc
call fcn.0052a1e7
int3