Function at 0x47fe50
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x56800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x24], 0
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
push eax
push dword [ebx + 0x10c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x47feb4
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
sub edi, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 8]
sub edi, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], edi
mov ebx, dword [ebx + 0x110]
push 0x20
mov dword [ebp - 0x20], ebx
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov esi, eax
mov eax, dword [0x56b568]
test eax, eax
je 0x47ff0a
lea ecx, [ebp - 0x48]
push ecx
call eax
test eax, eax
js 0x47ff0a
cmp dword [ebp - 0x48], 0
je 0x47ff0a
lea edi, [ebx + 4]
mov ebx, 4
jmp 0x47fef0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [edi + 0x18]
sub ebx, 1
jne 0x47fef0
mov ebx, dword [ebp - 0x20]
jmp 0x4800cd
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x2d
call edi
push 0x2e
mov dword [ebp - 0x28], eax
call edi
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ecx + 0x110]
mov ebx, dword [ecx + 0x7c]
mov dword [ebp - 0x38], ebx
call fcn.00416af0
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 0x1f
push ecx
call edi
xor ecx, ecx
test ebx, ebx
push 0x1f
setne cl
inc ecx
imul ecx, dword [ebp - 0x28]
sub eax, ecx
mov dword [ebp - 0x2c], eax
call edi
mov edi, dword [ebp - 0x40]
mov ebx, eax
mov eax, dword [ebp - 0x3c]
lea ecx, [edi + edi]
push dword [eax + 0x5c]
sub ebx, ecx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
push 0x44
setne cl
xor edx, edx
test cl, cl
movzx eax, cl
mov byte [ebp - 0x19], cl
setne dl
dec edx
and edx, edi
add edx, dword [ebp - 0x34]
neg eax
mov dword [ebp - 0x40], edx
sbb eax, eax
and eax, edi
movzx edi, cl
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x28]
sub dword [ebp - 0x18], eax
neg edi
mov eax, dword [ebp - 0x30]
sbb edi, edi
add eax, ebx
and edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
push eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
add eax, edi
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
push edx
push eax
push 0
push dword [ebx + 0x4c]
push esi
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebx + 0x58], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 0x54], 0
add ecx, edx
mov dword [ebx + 0x5c], edi
mov dword [ebx + 0x60], 0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
sub ebx, ecx
movzx ecx, byte [ebp - 0x19]
add esi, ebx
mov edi, dword [ebp - 0x4c]
neg ecx
mov dword [ebp - 0x18], ebx
sbb ecx, ecx
and ecx, 0xffffffc0
add ecx, 0x84
push ecx
mov ecx, dword [ebp - 0x20]
push edi
push edx
push dword [ebp - 0x40]
push esi
push 0
push dword [ecx + 0x34]
push eax
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
mov dword [edx + 0x40], ecx
movzx ecx, byte [ebp - 0x19]
neg ecx
mov dword [edx + 0x3c], 0
mov dword [edx + 0x44], 0
sbb ecx, ecx
mov dword [edx + 0x48], 0
and ecx, 0x40
add ecx, 0x44
push ecx
push edi
push dword [ebp - 0x2c]
push ebx
push esi
push 0
push dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
push 0x44
mov dword [edx + 0x28], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 0x24], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov edx, dword [ebp - 0x38]
neg edx
push edi
sbb edx, edx
and edx, dword [ebp - 0x28]
push ecx
add edx, ecx
mov ecx, dword [ebp - 0x24]
push ebx
mov ebx, dword [ebp - 0x20]
sub esi, edx
add ecx, esi
mov dword [ebp - 0x18], esi
push ecx
push 0
push dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov esi, eax
mov dword [ebx + 0xc], 0
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov eax, dword [ebp - 0x3c]
push 0x60
mov ecx, dword [eax + 0x5c]
call fcn.0041f360
mov eax, dword [eax + 8]
push eax
push 0x18
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x38]
call fcn.004dffb0
mov ecx, dword [ebp - 0x34]
mov edi, eax
mov eax, dword [ebp - 0x44]
push 4
push edi
push edi
sub eax, edi
add ecx, eax
push ecx
push dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
push 0
push dword [ebx + 0x64]
push esi
mov esi, dword [sym.imp.USER32.dll_DeferWindowPos]
call esi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
sub ecx, edi
push 4
push edi
push ecx
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
add edx, edi
push edx
push 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
push dword [ecx + 0x100]
push eax
call esi
test eax, eax
je 0x480163
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcb15
mov esp, ebp
pop ebp
ret