Function at 0x412750
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0xb0
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
mov ebp, dword [esp + 0xbc]
lea eax, [esp + 0x74]
push esi
push edi
push eax
push ebp
mov esi, ecx
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebx, eax
push 1
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [esp + 0x3c]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x990]
test dword [eax + 0xd8], 0x200000
je 0x4127c4
mov eax, dword [esi]
mov ecx, esi
push ebx
push ebp
call dword [eax + 0x1e4]
mov dword [esp + 0x10], 0x14
jmp 0x4127cc
mov dword [esp + 0x10], 0
mov ecx, dword [esi + 0x990]
push 0xa
call fcn.00403aa0
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x990]
mov edi, dword [sym.imp.USER32.dll_SetRect]
mov ebp, dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x1c], eax
cmp dword [ecx + 0x9c], 0
mov ecx, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x412839
push dword [esi + 0x468]
push 0x15
call ecx
mov ecx, dword [esp + 0x48]
sub ecx, eax
lea eax, [esp + 0x50]
push ecx
push dword [esp + 0x18]
push dword [esi + 0x460]
push eax
call edi
push dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
push ebx
call ebp
mov ecx, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, dword [esi + 0x990]
cmp dword [eax + 0xa0], 0
je 0x41287f
push 0x15
call ecx
mov ecx, dword [esp + 0x48]
sub ecx, eax
push ecx
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x48]
sub ecx, eax
lea eax, [esp + 0x50]
push ecx
push dword [esp + 0x18]
push dword [esi + 0x46c]
push eax
call edi
push dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
push ebx
call ebp
mov edi, dword [esi + 0x28]
mov eax, edi
mov ebx, dword [esi + 0x18]
cdq
idiv ebx
sub edi, dword [esi + 0x468]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x10]
mov ebp, ecx
lea eax, [edi + eax]
cdq
idiv ebx
cmp eax, ecx
cmovg ebp, eax
mov eax, dword [esp + 0x90]
dec eax
mov dword [esp + 0x14], ebp
add eax, edi
cdq
idiv ebx
mov ebx, ecx
cmp eax, ecx
cmovg ebx, eax
cmp dword [esi + 0x994], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jne 0x4128f6
mov eax, dword [esi + 0x458]
mov ecx, dword [esi + 0x900]
dec eax
cmp ebx, eax
push 0
cmovge ebx, eax
push ebx
push esi
mov dword [esp + 0x30], ebx
call fcn.004387d0
jmp 0x41290e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
dec eax
cmp ebx, eax
jl 0x41290e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
dec eax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push 1
push ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [esi + 0x45c], 0
jne 0x412947
push dword [esi + 0x18]
push dword [esi + 0x46c]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x45c], eax
push dword [esi + 0x45c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x908]
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x41296c
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x412970
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x990]
push 7
mov dword [esp + 0x30], eax
call fcn.00403aa0
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push dword [esi + 0x18]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x60]
push dword [esi + 0x46c]
push 0
push dword [esi + 0x460]
push eax
call dword [sym.imp.USER32.dll_SetRect]
cmp ebp, dword [esp + 0x24]
jg 0x412a13
mov eax, ebp
sub eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
nop dword [eax + eax]
push dword [esp + 0x20]
lea eax, [esp + 0x60]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi]
mov ecx, esi
push ebp
push ebx
call dword [eax + 0x3c]
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push ebx
push ecx
push dword [esi + 0x46c]
imul eax, ecx
add eax, dword [esi + 0x468]
push eax
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
inc dword [esp + 0x14]
inc ebp
cmp ebp, dword [esp + 0x24]
jle 0x4129c0
mov dword [esp + 0x14], ebp
mov ecx, dword [esi + 0x990]
test dword [ecx + 0xd8], 0x10000
je 0x412b1c
push 0
call fcn.00403aa0
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x15
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x48]
sub ecx, eax
lea eax, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x14]
imul ecx, dword [esi + 0x18]
push dword [esi + 0x460]
add ecx, dword [esi + 0x468]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0x4c]
push ebp
push eax
push edi
call ebx
push dword [esi + 0x468]
lea eax, [esp + 0x50]
push dword [esi + 0x460]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
push ebp
lea eax, [esp + 0x50]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x990]
push 1
call fcn.00403aa0
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x460]
mov edi, eax
push 0
push 0
dec ecx
push ecx
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_MoveToEx]
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, dword [esi + 0x460]
push ecx
dec eax
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_LineTo]
push edi
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push ebp
call ebx
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
mov eax, dword [esi + 0x18]
mov ecx, ebp
sub ecx, dword [esp + 0x10]
push dword [esi + 0x470]
imul eax, ecx
push dword [esi + 0x46c]
mov dword [esp + 0x1c], ecx
add eax, dword [esi + 0x468]
push eax
push dword [esi + 0x464]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [esp + 0x20]
lea eax, [esp + 0x60]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 0x990]
cmp dword [eax + 0xb0], 0
je 0x412d17
push dword [esi + 0x18]
lea eax, [esp + 0x60]
push dword [esi + 0x46c]
push 0
push dword [esi + 0x460]
push eax
call dword [sym.imp.USER32.dll_SetRect]
cmp ebp, dword [esp + 0x28]
jg 0x412c05
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
nop dword [eax]
push dword [esp + 0x20]
lea eax, [esp + 0x60]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi]
mov ecx, esi
push ebp
push ebx
call dword [eax + 0x1f0]
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x464]
inc eax
imul eax, dword [esi + 0x18]
mov edx, dword [esi + 0x468]
push 0xcc0020
push 0
push edi
push ebx
add eax, edx
push eax
mov eax, dword [esp + 0x24]
imul eax, dword [esi + 0x18]
push dword [esi + 0x46c]
add eax, edx
push eax
push edi
mov edi, dword [esp + 0x38]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
inc dword [esp + 0x10]
inc ebp
cmp ebp, dword [esp + 0x28]
jle 0x412ba0
mov ebp, dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 0x990]
cmp dword [eax + 0x98], 0
je 0x412c52
mov eax, dword [esi + 0x18]
push dword [esi + 0x470]
imul eax, dword [esp + 0x18]
push dword [esi + 0x464]
add eax, dword [esi + 0x468]
push eax
push dword [esi + 0x460]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
push edi
call ebp
mov eax, dword [esi + 0x990]
cmp dword [eax + 0xa4], 0
je 0x412c99
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x48]
sub ecx, eax
lea eax, [esp + 0x4c]
push ecx
push dword [esi + 0x46c]
push dword [esi + 0x470]
push dword [esi + 0x460]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
push edi
call ebp
push dword [esp + 0x1c]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
call ebp
cmp dword [esi + 0x908], 0
je 0x412cb9
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x20]
call ebp
push dword [esp + 0x38]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [esi + 0x90c], 0
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x412d5a
mov ecx, dword [esp + 0x40]
lea eax, [ecx + 8]
push eax
push dword [esp + 0x48]
push ecx
push 0x15
call ebp
mov ecx, dword [esp + 0x50]
mov ebx, dword [sym.imp.USER32.dll_SetRect]
sub ecx, eax
push ecx
lea eax, [esp + 0x7c]
push eax
call ebx
push 0x10
push 4
lea eax, [esp + 0x74]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
jmp 0x412d60
mov eax, dword [esi + 0x18]
push dword [esi + 0x470]
imul eax, dword [esp + 0x18]
push dword [esi + 0x46c]
add eax, dword [esi + 0x468]
push eax
push dword [esi + 0x464]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [esp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0x60]
push eax
push edi
call ebp
jmp 0x412c0b
mov ebx, dword [sym.imp.USER32.dll_SetRect]
cmp dword [esi + 0x910], 0
je 0x412d9b
push dword [esp + 0x48]
mov eax, dword [esp + 0x40]
add eax, 8
push eax
push 0x15
call ebp
mov ecx, dword [esp + 0x50]
sub ecx, eax
lea eax, [esp + 0x74]
push ecx
push dword [esp + 0x48]
push eax
call ebx
push 0x10
push 4
lea eax, [esp + 0x74]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov eax, dword [esi + 0x44]
cmp eax, dword [esi + 0x48]
je 0x412dbd
mov eax, dword [esi + 0x990]
cmp dword [eax + 0xac], 2
jne 0x412dbd
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x1ec]
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0xb0
ret 4