Function at 0x4242b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9446
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x50c3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x94], ebx
push 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], 1
push eax
lea eax, [ebx + 0x38]
mov dword [ebp - 0xb4], 0
push eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x84], vtable.Gdiplus::Image.0
mov dword [ebp - 0x80], 0
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x58], 0
call sub.gdiplus.dll_GdipGetImageWidth
mov ecx, dword [ebp - 0x7c]
test eax, eax
mov dword [ebp - 0x5c], 0
cmovne ecx, eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x7c], ecx
call sub.gdiplus.dll_GdipGetImageHeight
mov ecx, dword [ebp - 0x7c]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x7c], ecx
mov ecx, ebx
call fcn.00424ee0
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp - 0x5c]
sub eax, edi
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebp - 0x58]
sub ecx, esi
push 0
push dword [ebx + 4]
shr eax, 1
push 0
push 0
push edi
push esi
push eax
shr ecx, 1
push ecx
push 0x10000000
push 0
push str.KHostSplashShow
push 0x80088
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [ebx + 0x14], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0xc8], 0x4da0ac
mov dword [ebp - 0x74], 0
push 0
push 0x26200a
push 0
push edi
push esi
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc4], edi
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push edi
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x5c]
mov byte [ebp - 4], 3
push dword [ebp - 0x58]
push 0
push 0
push dword [ebp - 0x80]
push eax
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
mov byte [ebp - 0x41], 0
mov ecx, ebx
cmovne esi, eax
lea eax, [ebp - 0x41]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], esi
push eax
call fcn.004247f0
cmp dword [ebp - 0x18], 0
je 0x42461e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x70], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x88]
push eax
push esi
mov dword [ebp - 0x88], 0
call sub.gdiplus.dll_GdipGetImageWidth
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push esi
call sub.gdiplus.dll_GdipGetImageHeight
mov eax, dword [ebp - 0x88]
fild dword [ebp - 0x88]
test eax, eax
jns 0x4244dd
fadd qword [0x4da528]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
mov eax, dword [ebp - 0x8c]
fild dword [ebp - 0x8c]
test eax, eax
jns 0x4244f9
fadd qword [0x4da528]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fld st(1)
fdiv st(1)
fld1
fld qword [ebx + 0x28]
fcompi st(1)
fstp st(0)
jbe 0x424520
mov ebx, 0xa8
mov ecx, 0x1a8
lea edi, [ebx - 0x5c]
lea edx, [ebx + 0x10]
jmp 0x424532
mov ebx, 0x54
mov ecx, 0xd4
mov edx, 0x5c
lea edi, [ebx - 0x2e]
fld qword [0x4da518]
fxch st(1)
fcompi st(1)
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], ebx
fstp st(0)
jbe 0x4245a4
sub ecx, ebx
mov dword [ebp - 0x48], ecx
fild dword [ebp - 0x48]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fdiv st(2)
fmul st(1), st(0)
fxch st(1)
call fcn.0048d540
mov esi, eax
mov eax, dword [ebp - 0x90]
sub eax, edi
sub eax, esi
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fmul qword [0x4da508]
fild dword [ebp - 0x68]
fstp qword [ebp - 0x54]
fadd qword [ebp - 0x54]
call fcn.0048d540
fmulp st(1)
mov edi, eax
call fcn.0048d540
add eax, ebx
lea ecx, [edi + esi]
jmp 0x4245fb
sub edx, edi
mov dword [ebp - 0x68], edx
fild dword [ebp - 0x68]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fdiv st(1)
fmul st(2), st(0)
fxch st(2)
call fcn.0048d540
mov esi, eax
mov eax, dword [ebp - 0x6c]
sub eax, ebx
sub eax, esi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fmul qword [0x4da508]
fild dword [ebp - 0x48]
fstp qword [ebp - 0x54]
fadd qword [ebp - 0x54]
call fcn.0048d540
mov ebx, eax
fmulp st(1)
lea eax, [ebx + esi]
mov dword [ebp - 0x48], eax
call fcn.0048d540
lea ecx, [edi + eax]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x70]
sub ecx, edi
push ecx
sub eax, ebx
push eax
push edi
push ebx
push esi
push dword [ebp - 0x64]
call sub.gdiplus.dll_GdipDrawImageRectI
push esi
call sub.gdiplus.dll_GdipDisposeImage
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x94]
push 0
lea esi, [ebx + 0x3c]
push esi
push edi
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
push dword [esi]
mov esi, dword [ebp - 0x98]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x58]
push 2
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x60]
push eax
push 0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x60], 0x1ff0000
push eax
push esi
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa0], 0
push eax
push 0
push 0
push dword [ebx + 0x14]
mov dword [ebp - 0x9c], 0
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0xa
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4246df
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4246d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424765
push edx
push ecx
call fcn.0048d1e5
add esp, 8
push dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call sub.gdiplus.dll_GdipDeleteGraphics
push edi
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 0x80]
mov dword [ebp - 0x84], vtable.Gdiplus::Image.0
call sub.gdiplus.dll_GdipDisposeImage
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x424749
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42473f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424765
push edx
push ecx
call fcn.0048d1e5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d444
mov esp, ebp
pop ebp
ret
call fcn.00498b39
int3