Function at 0x40bf0f
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xdc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x28], edx
push 0x47
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call esi
push 0xf
mov dword [esp + 0x3c], eax
call esi
add eax, 2
mov dword [esp + 0x2c], eax
sar eax, 1
push ebp
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x40c33c
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 esi, eax
mov dword [esp + 0x44], esi
test esi, esi
je 0x40c33c
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push 0x11
mov dword [esp + 0x24], ebp
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea ebp, [esi + 0x2c]
mov eax, ebx
mov dword [esp + 0x24], eax
mov esi, 0x42ab90
lea edi, [ebp - 0x2c]
lea ecx, [esp + 0x48]
push ecx
push 1
movsd dword es:[edi], dword [esi]
push eax
push dword [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x58], 0x30
mov dword [esp + 0x80], 0x40
mov dword [esp + 0x5c], 0x10
mov dword [esp + 0x60], ebx
mov dword [esp + 0x7c], ebp
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [esp + 0x50]
mov dword [ebp - 0x18], eax
test dword [esp + 0x50], 0x800
mov eax, dword [esp + 0x2c]
cmovne eax, dword [esp + 0x30]
add dword [esp + 0x18], eax
push 9
push ebp
mov dword [ebp - 0xc], eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
lea eax, [esp + 0x78]
push eax
test esi, esi
je 0x40c0b3
mov ecx, esi
sub ecx, ebp
sar ecx, 1
push ecx
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x1c], eax
cmovg eax, dword [esp + 0x1c]
add esi, 2
mov edi, eax
lea eax, [esp + 0x78]
push eax
push esi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x14], eax
cmovg eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x78]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x10], eax
cmovg eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x40c0dd
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
cmovg eax, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
add ebp, 0xac
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x40]
jl 0x40bfc3
mov eax, dword [esp + 0x14]
push dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
add eax, edi
cmp ecx, eax
push ebp
cmovg eax, ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x48
push 0x5a
push ebp
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x10
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
lea eax, [esp + 0x80]
push 0x5c
push ebx
push eax
neg esi
call fcn.00412740
add esp, 0xc
mov dword [esp + 0x80], esi
mov eax, 0x384
mov dword [esp + 0x90], 0x2bc
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x9c]
push str.Tahoma
push eax
mov byte [esp + 0x9f], 1
mov byte [esp + 0xa2], 5
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 4
mov dword [esp + 0x28], eax
pop eax
sub eax, esi
push ebp
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esp + 0x18]
mov esi, eax
push edi
push dword [esp + 0x14]
mov dword [esp + 0x1c], esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push edi
push ebp
push ebx
push ebx
push esi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edx, ebp
mov ecx, esi
call fcn.0040be69
mov ebp, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push esi
mov dword [esp + 0x38], eax
call ebp
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push 0xf0f0f0
push esi
call ebx
mov edi, eax
push dword [esp + 0x24]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x28]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x2c]
add ecx, 0xfffffffc
push ecx
push 0xffffffffffffffff
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
push dword [esp + 0x18]
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [esp + 0x18]
push edi
call ebx
push 2
push edi
call ebp
push dword [esp + 0x24]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
call ebp
mov esi, dword [esp + 0x34]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov ebx, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call ebp
push dword [esp + 0x20]
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x30], esi
jne 0x40c2a3
cmp dword [esp + 0x2c], esi
jne 0x40c2a3
push ebx
call ebp
mov ecx, esi
mov ebx, esi
mov eax, esi
mov dword [esp + 0x28], ecx
jmp 0x40c2b2
xor eax, eax
test ebx, ebx
cmovne eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x1c]
add edx, 9
add edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], edx
add edi, 0x1c
mov ebp, eax
sub eax, ebp
mov dword [edi], ecx
sub ebp, dword [edi + 4]
test dword [edi - 8], 0x800
mov dword [edi - 4], eax
mov eax, edx
push 0
pop ecx
cmovne eax, ecx
mov dword [edi - 0xc], ebx
mov dword [edi + 8], eax
lea eax, [edi - 0x1c]
mov dword [edi + 0xc], edx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x48]
push eax
push 1
push esi
push dword [esp + 0x48]
mov dword [esp + 0x5c], 0x30
mov dword [esp + 0x60], 0x100
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov eax, dword [esp + 0x18]
lea edi, [edi + 0xac]
mov ecx, dword [esp + 0x28]
inc esi
mov edx, dword [esp + 0x38]
cmp esi, dword [esp + 0x40]
jl 0x40c2d3
xor eax, eax
inc eax
jmp 0x40c33e
xor eax, eax
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411b03
add esp, 0xdc
ret