Function at 0x45a6a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
push dword [edi + 0x54]
mov dword [esp + 0x30], 0x80004001
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edx, dword [edi + 0x7c]
mov dword [esp + 0xc], eax
test edx, edx
je 0x45a735
mov ecx, dword [edx + 0x18]
mov esi, dword [edx + 0x14]
mov eax, dword [edx + 0x20]
push 0xcc0020
push ecx
sub eax, ecx
push esi
push dword [edx]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [edi + 0x7c]
push eax
mov eax, dword [edx + 0x1c]
sub eax, dword [edx + 0x14]
cdq
xor eax, edx
sub eax, edx
push eax
push ecx
push esi
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x45aaa3
push 0xfffffffffffffff0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0xc00000
je 0x45aaab
mov esi, dword [edi + 0x6c]
test esi, esi
je 0x45a775
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x45a76f
mov dword [esi + 8], eax
mov esi, dword [esp + 0x28]
jmp 0x45a785
mov eax, dword [edi]
mov ecx, edi
push str.CaptionHeight
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
test esi, esi
jle 0x45aaab
lea eax, [esp + 0x6c]
mov ecx, edi
push eax
call fcn.00459f30
mov dword [esp + 0x90], 0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
neg ecx
neg eax
push ecx
push eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
movdqu xmm0, xmmword [esp + 0x70]
mov dword [esp + 0x4c], vtable.URect.0
movdqu xmmword [esp + 0x50], xmm0
psrldq xmm0, 4
movd eax, xmm0
mov byte [esp + 0x90], 1
push 0x28
add eax, esi
mov byte [edi + 0x84], 1
mov dword [esp + 0x60], eax
call fcn.004952af
add esp, 4
test eax, eax
je 0x45a821
push ecx
xorps xmm0, xmm0
lea ecx, [esp + 0x50]
push ecx
push dword [esp + 0x14]
movdqu xmmword [eax], xmm0
mov ecx, eax
movdqu xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.00477be0
jmp 0x45a823
xor eax, eax
lea ecx, [esp + 0x28]
mov dword [edi + 0x7c], eax
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
push ecx
movq qword [esp + 0x34], xmm0
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov byte [esp + 0x90], 2
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x45a999
push ecx
push 0x64
push 0x64
push 1
push eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x44]
call fcn.0046e3d0
add esp, 0x14
mov dword [esp + 0x44], vtable.UColor.0
mov dword [esp + 0x48], 0
mov byte [esp + 0x90], 3
lea eax, [esp + 0x2c]
mov esi, dword [edi + 0x6c]
push eax
mov dword [esp + 0x30], 0
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x45a8b3
mov dword [esi + 8], eax
mov esi, dword [edi + 0x6c]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x30]
push 0
dec eax
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapGetPixel]
test eax, eax
je 0x45a8e0
mov dword [esi + 8], eax
mov byte [esp + 0x90], 2
jmp 0x45aa17
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], eax
mov eax, dword [edi]
push ecx
push str.BorderColor
mov ecx, edi
call dword [eax + 0xc]
lea eax, [esp + 0x48]
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x38]
push eax
movq qword [esp + 0x3c], xmm0
call fcn.00458e50
mov esi, dword [edi + 0x6c]
lea eax, [esp + 0x2c]
movdqu xmm0, xmmword [esp + 0x50]
push eax
mov dword [esp + 0x30], 0
push dword [esi + 4]
movdqu xmmword [esp + 0x20], xmm0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x45a944
mov dword [esi + 8], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
sub eax, esi
add edi, dword [esp + 0x2c]
cdq
mov ecx, eax
mov eax, dword [esp + 0x20]
xor ecx, edx
sub eax, edi
sub ecx, edx
cdq
push ecx
xor eax, edx
sub eax, edx
push eax
push esi
mov esi, dword [esp + 0x48]
push edi
push esi
push dword [esp + 0x44]
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov ecx, dword [esp + 0x34]
test eax, eax
push esi
cmovne ecx, eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov byte [esp + 0x90], 2
jmp 0x45aa17
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push str.CaptionColor
push ecx
mov ecx, edi
call dword [eax + 0x34]
cmp dword [esp + 0x68], 0
je 0x45aa17
lea eax, [esp + 0x68]
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x38]
push eax
movq qword [esp + 0x3c], xmm0
call fcn.00458e50
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x50]
sub eax, edi
mov ecx, dword [esp + 0x54]
cdq
mov esi, eax
mov eax, dword [esp + 0x5c]
xor esi, edx
sub eax, ecx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
push eax
push esi
mov esi, dword [esp + 0x44]
push ecx
push edi
push esi
push dword [esp + 0x44]
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov ecx, dword [esp + 0x34]
test eax, eax
push esi
cmovne ecx, eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov esi, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp dword [esi + 0x78], eax
je 0x45aa37
mov dword [esi + 0x78], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x78]
push ecx
mov ecx, esi
call fcn.0045a2a0
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x7c]
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esi + 0x7c]
push 0xcc0020
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x20]
mov edi, dword [ecx + 0x14]
sub eax, esi
push esi
cdq
push edi
push dword [ecx]
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ecx + 0x1c]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
push eax
push esi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [esp + 0x10]
mov byte [edi + 0x84], 0
mov dword [esp + 0x2c], 0
push dword [esp + 0xc]
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret