Function at 0x411830
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x479bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
mov dword [ebp - 0x30], ebx
call esi
mov edi, eax
push ebx
mov dword [ebp - 0x20], edi
call esi
mov esi, eax
mov dword [ebp - 0x24], esi
test edi, edi
je 0x4119f3
test esi, esi
je 0x4119f3
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
push 0
push 1
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_CreateBitmap]
push dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [ebp - 0x28], eax
call edi
push dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
push ebx
mov dword [ebp - 0x34], eax
call edi
push 0
push 1
push dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x18]
push esi
push ebx
call fcn.00411cc0
add esp, 0x18
push dword [ebp - 0x28]
push esi
call edi
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xff00ff
call ebx
push eax
push esi
call edi
push 0xf00021
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x18]
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_PatBlt]
push esi
mov esi, dword [ebp - 0x24]
push esi
call edi
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call edi
push eax
call ebx
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push 0xb8074a
push 0
push 0
push dword [ebp - 0x20]
dec ecx
push ecx
mov ecx, dword [ebp - 0x18]
dec ecx
push ecx
push 1
push 1
push esi
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
call esi
push 0x10
call edi
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x24]
call edi
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xb8074a
push 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0
push 0
push dword [ebp - 0x24]
call esi
mov esi, dword [ebp - 0x24]
push ebx
push esi
call edi
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
push dword [ebp - 0x34]
push esi
call edi
push dword [ebp - 0x38]
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4119ed
push eax
call ebx
push dword [ebp - 0x30]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [ebp - 0x20]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
jmp 0x411a11
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test edi, edi
je 0x411a0b
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
jmp 0x411a11
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
test esi, esi
je 0x411a18
push esi
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004380f8
mov esp, ebp
pop ebp
ret