Function at 0x461b10
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x104
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor eax, eax
push edi
mov ebx, ecx
mov dword [esp + 0x40], edx
push 0x47
mov dword [esp + 0x48], ebx
xor ebp, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
call esi
push 0xf
mov dword [esp + 0x50], eax
call esi
add eax, 2
mov dword [esp + 0x20], eax
sar eax, 1
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov dword [esp + 0x48], eax
test eax, eax
jle 0x462010
imul ecx, eax, 0xac
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [esp + 0x54], edi
test edi, edi
je 0x462010
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x11
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
xor ebx, ebx
mov dword [esp + 0x2c], eax
add edi, 0x2c
movups xmm0, xmmword [0x4b4d54]
lea eax, [esp + 0x58]
push eax
push 1
movups xmmword [edi - 0x2c], xmm0
push ebx
push dword [esp + 0x50]
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x90], 0x40
mov dword [esp + 0x6c], 0x10
mov dword [esp + 0x70], 0
mov dword [esp + 0x8c], edi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [esp + 0x60]
mov dword [edi - 0x18], eax
test dword [esp + 0x60], 0x800
mov eax, dword [esp + 0x20]
cmovne eax, dword [esp + 0x24]
push 9
push edi
mov dword [edi - 0xc], eax
add ebp, eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov dword [esp + 0x38], eax
test eax, eax
je 0x461cbf
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
sub ecx, edi
sar ecx, 1
push ecx
push edi
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x14], eax
mov esi, dword [esp + 0x38]
cmovg eax, dword [esp + 0x14]
add esi, 2
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
mov esi, dword [esp + 0x34]
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x1c], eax
cmovg eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
cmovg eax, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0x18], edx
jmp 0x461ceb
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
cmovg eax, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x14], eax
inc ebx
add edi, 0xac
cmp ebx, dword [esp + 0x48]
jl 0x461bc2
mov eax, dword [esp + 0x1c]
push dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x28], ebp
cmp edx, eax
push esi
cmovg eax, edx
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x48
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x10
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
lea eax, [esp + 0x88]
push 0x5c
push 0
push eax
neg esi
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x88], esi
lea eax, [esp + 0xa4]
mov dword [esp + 0x90], 0x384
mov dword [esp + 0x94], 0x384
mov dword [esp + 0x98], 0x2bc
push str.Tahoma
push eax
mov byte [esp + 0xa7], 1
mov byte [esp + 0xaa], 5
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, dword [esp + 0x28]
mov edi, 4
sub edi, esi
mov dword [esp + 0x14], eax
push ebx
mov dword [esp + 0x24], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
push edi
mov esi, eax
push ebx
mov dword [esp + 0x28], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push ebx
push ebp
push edi
push 0
push 0
push esi
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_BitBlt]
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x461e05
mov dword [esp + 0x18], eax
jmp 0x461eb3
push str.GradientFill
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4db834], eax
test eax, eax
jne 0x461e2e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x18], 0
jmp 0x461eb3
mov ecx, dword [esp + 0x20]
push 1
push 1
mov dword [esp + 0x104], ecx
lea ecx, [esp + 0x40]
push ecx
push 2
lea ecx, [esp + 0xfc]
mov dword [esp + 0xfc], 0
push ecx
push esi
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0xb9006400
mov dword [esp + 0x110], 0xff00
mov dword [esp + 0x118], ebp
mov dword [esp + 0x11c], 0x45000000
mov dword [esp + 0x120], 0x7d00
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x18], eax
mov ebp, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push esi
call ebp
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xf0f0f0
push esi
call ebx
push dword [esp + 0x14]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x40]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x24]
push eax
push dword [esp + 0x44]
add ecx, 0xfffffffc
push ecx
push 0xffffffffffffffff
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
mov esi, dword [esp + 0x20]
push esi
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push esi
call ebx
push 2
push esi
call ebp
push dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
mov ebx, dword [esp + 0x2c]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call edi
push dword [esp + 0x28]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x18], 0
jne 0x461f6f
cmp dword [esp + 0x38], 0
jne 0x461f6f
push esi
call edi
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
jmp 0x461f80
xor eax, eax
cmp dword [esp + 0x14], eax
cmovne eax, dword [esp + 0x20]
mov edx, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x4c]
xor edi, edi
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
add ebp, 9
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x14]
add ebp, eax
mov eax, dword [esp + 0x24]
add esi, 0x1c
mov ebx, eax
sub eax, ebx
mov dword [esi - 0xc], ecx
sub ebx, dword [esi + 4]
mov ecx, 0
test dword [esi - 8], 0x800
mov dword [esi - 4], eax
mov eax, ebp
cmovne eax, ecx
mov dword [esi], edx
mov dword [esi + 8], eax
lea eax, [esi - 0x1c]
mov dword [esi + 0xc], ebp
mov dword [esp + 0x78], eax
lea eax, [esp + 0x58]
push eax
push 1
push edi
push dword [esp + 0x50]
mov dword [esp + 0x6c], 0x30
mov dword [esp + 0x70], 0x100
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov eax, dword [esp + 0x24]
lea esi, [esi + 0xac]
mov ecx, dword [esp + 0x14]
inc edi
mov edx, dword [esp + 0x20]
cmp edi, dword [esp + 0x48]
jl 0x461fa3
mov eax, 1
jmp 0x462012
xor eax, eax
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x104
ret