Function at 0x409de7
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x42f064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x43024c]
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov ecx, 0x43024c
mov dword [ebp - 0x80], esi
mov dword [ebp - 0xa0], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x24]
cmp eax, 1
jne 0x409e29
push 0x79
jmp 0x409e34
cmp eax, 2
jne 0x409e32
push 0x7b
jmp 0x409e34
push 0x7a
lea eax, [ebp - 0x6c]
push eax
call fcn.004027b4
push 7
pop ecx
push 0xa
mov esi, str.ech1u
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x42a36c
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x5c]
push eax
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
sub esi, dword [ebp - 0x5c]
sub edi, dword [ebp - 0x58]
push eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x78], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0xa4], eax
call ebx
push 0x42a6f4
xor eax, eax
push eax
push eax
push eax
push eax
push 1
push eax
push eax
push eax
push 0x2bc
push eax
push eax
push 0xa
push 0x18
mov esi, 0x190
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
push dword [ebp - 0x60]
call ebx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x24], 2
jne 0x409f1c
lea esi, [eax + 0x30]
lea eax, [ebp - 0x8c]
push eax
call fcn.00402874
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call fcn.00402874
push eax
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov esi, dword [ebp - 0x8c]
add esi, 0x28
mov eax, 0x190
cmp esi, eax
jge 0x409f1c
mov esi, eax
mov eax, dword [ebp - 0x70]
sub eax, esi
cdq
sub eax, edx
mov ecx, eax
lea eax, [edi - 0x96]
cdq
sub eax, edx
mov edi, eax
sar ecx, 1
lea eax, [esi + 0x12c]
sar edi, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x70], eax
jle 0x409f4b
sub ecx, 0x1e
mov dword [ebp - 0x64], ecx
jmp 0x409f57
cmp dword [ebp - 0x70], esi
jg 0x409f57
and dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x64]
mov eax, 0x118
cmp edi, eax
jle 0x409f64
mov edi, eax
jmp 0x409f6f
cmp dword [ebp - 0x78], 0x96
jg 0x409f6f
xor edi, edi
push 0
push 0
add ecx, esi
push 5
mov dword [ebp - 0x68], ecx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x94], eax
call ebx
push 0xc48b61
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
call ebx
push dword [ebp - 0x78]
mov esi, dword [sym.imp.GDI32.dll_Rectangle]
push dword [ebp - 0x70]
push 0
push 0
push dword [ebp - 0x60]
call esi
push 0xffefe3
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x84], eax
call ebx
lea eax, [edi + 0x95]
push eax
mov eax, dword [ebp - 0x68]
dec eax
push eax
lea eax, [edi + 1]
push eax
mov eax, dword [ebp - 0x64]
inc eax
push eax
push dword [ebp - 0x60]
call esi
push 0xffd1ad
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x7c], eax
call ebx
lea eax, [edi + 0x94]
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffffe
push eax
lea eax, [edi + 2]
push eax
mov eax, dword [ebp - 0x64]
add eax, 2
push eax
push dword [ebp - 0x60]
call esi
push 0xcf9365
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
call ebx
lea eax, [edi + 0x8f]
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff9
push eax
lea eax, [edi + 7]
push eax
mov eax, dword [ebp - 0x64]
add eax, 7
push eax
push dword [ebp - 0x60]
call esi
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x88], eax
push eax
push dword [ebp - 0x60]
call ebx
lea eax, [edi + 0x8e]
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff8
push eax
lea eax, [edi + 8]
push eax
mov eax, dword [ebp - 0x64]
add eax, 8
push eax
push dword [ebp - 0x60]
call esi
push dword [ebp - 0x90]
push dword [ebp - 0x60]
call ebx
lea eax, [edi + 0x40]
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xffffffe2
push eax
lea eax, [edi + 0x3c]
push eax
mov eax, dword [ebp - 0x64]
add eax, 0x1e
push eax
push dword [ebp - 0x60]
call esi
push dword [ebp - 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x98]
call esi
push dword [ebp - 0x84]
call esi
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x90]
call esi
push dword [ebp - 0x88]
call esi
push 1
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x88], ecx
jle 0x40a11c
push ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.00402a00
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x88]
push eax
lea eax, [edi + 0x1e]
push eax
mov eax, dword [ebp - 0x64]
add eax, 0x20
push eax
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_TextOutW]
push 0x42a6f4
xor eax, eax
push eax
push eax
push eax
push eax
push 1
push eax
push eax
push eax
push 0x190
push eax
push eax
push 9
push 0x16
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
push dword [ebp - 0x60]
call ebx
push 0x666666
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x24], 2
jne 0x40a190
lea esi, [eax + 0x30]
mov eax, dword [esi]
push dword [eax - 0xc]
call fcn.00402874
push eax
mov eax, dword [ebp - 0x64]
add edi, 0x50
push edi
add eax, 0x28
push eax
jmp 0x40a1d9
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x40a1ea
mov ecx, dword [ecx - 0xc]
test ecx, ecx
jle 0x40a1ea
mov edx, dword [ebp - 0x64]
add edx, 0x28
push ecx
lea esi, [eax + 0x28]
mov dword [ebp - 0x68], edx
call fcn.00402874
push eax
lea eax, [edi + 0x50]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_TextOutW]
mov esi, dword [ebp - 0x80]
add esi, 0x2c
mov eax, dword [esi]
push dword [eax - 0xc]
call fcn.00402874
push eax
add edi, 0x69
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_TextOutW]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x40a231
mov eax, dword [ebp - 0x64]
add eax, 0x28
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [edi + 0x50]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_TextOutW]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x4c]
push eax
add edi, 0x69
push edi
push dword [ebp - 0x68]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_TextOutW]
push dword [ebp - 0x9c]
mov edi, dword [ebp - 0x60]
push edi
call ebx
push dword [ebp - 0x7c]
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x84]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xcc0020
xor eax, eax
push eax
push eax
push edi
push dword [ebp - 0x78]
push dword [ebp - 0x70]
push eax
push eax
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0xa4]
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x74]
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.004018b4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414657
leave
ret