Function at 0x4123bf
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4755d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
push 0xa
xor eax, eax
xor ebx, ebx
pop ecx
mov dword [ebp - 0x40], ebx
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x50
stosd dword es:[edi], eax
call esi
xor edi, edi
inc edi
cmp eax, edi
jle 0x412438
push 2
push 0x10
call fcn.00440179
push 2
push 0x11
mov dword [ebp - 0x50], eax
call fcn.00440179
push edi
push 0x11
mov esi, eax
call fcn.00440179
cmp eax, esi
jle 0x412434
push edi
push 0x11
call fcn.00440179
jmp 0x412441
push 2
jmp 0x41242b
push ebx
call esi
push edi
mov dword [ebp - 0x50], eax
call esi
mov edi, eax
cmp dword [ebp - 0x60], ebx
je 0x41271b
push dword [ebp - 0x60]
call fcn.00447e51
mov esi, dword [ebp - 0x50]
pop ecx
mov ecx, edi
imul ecx, esi
shl ecx, 2
cmp eax, ecx
jb 0x41271b
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x58], eax
cmp eax, ebx
je 0x41271b
cmp dword [ebp + 0xc], ebx
je 0x412538
lea eax, [ebp - 0x14]
cmp dword [ebp - 0x48], ebx
je 0x4124a4
push 0x10
push dword [ebp - 0x48]
push eax
call fcn.00447af0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call fcn.0043fa7d
jmp 0x4124af
push edi
push esi
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp - 0x60]
call fcn.00447e51
shr eax, 2
sub eax, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x10]
pop ecx
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 8]
jge 0x412526
imul eax, esi
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
cmp ecx, dword [ebp - 0xc]
jge 0x412512
lea edi, [eax + ecx]
cmp edi, ebx
jge 0x4124e8
xor esi, esi
jmp 0x4124f1
mov esi, dword [ebp - 0x5c]
cmp edi, esi
jg 0x4124f1
mov esi, edi
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_GetPixel]
inc dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + esi*4], eax
mov eax, dword [ebp - 0x4c]
inc edi
cmp eax, dword [ebp - 0xc]
jl 0x4124e0
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
cmp ecx, dword [ebp - 8]
jl 0x4124d2
push dword [ebp - 0x58]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
inc eax
jmp 0x41271d
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push esi
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x48], eax
cmp eax, ebx
je 0x41271b
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x5c]
call esi
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
push edi
push dword [ebp - 0x50]
push ebx
push ebx
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x44]
push dword [ebp - 0x5c]
call esi
push 0x2c
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00448090
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
add esp, 0xc
push ebx
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x48]
mov dword [ebp - 0x40], 0x28
push dword [ebp - 0x58]
mov dword [ebp - 0x30], ebx
call esi
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
ja 0x4125e3
push dword [ebp - 0x38]
call fcn.0044854e
pop ecx
mov ecx, eax
movzx eax, word [ebp - 0x32]
add eax, 7
imul eax, ecx
imul eax, dword [ebp - 0x3c]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x2c], eax
add eax, 0x410
mov ecx, 0x1000
cmp eax, ecx
ja 0x4125f3
mov eax, ecx
push 1
push eax
call fcn.00447e84
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x41271b
push ebx
lea eax, [ebp - 0x40]
push eax
push edi
push dword [ebp - 0x38]
mov dword [ebp - 0x30], ebx
push ebx
push dword [ebp - 0x48]
push dword [ebp - 0x58]
call esi
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], eax
cmp eax, ebx
jl 0x4126f3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
cmp eax, ebx
jle 0x4126ea
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x50]
lea esi, [ecx + edx*4]
imul eax, dword [ebp - 0x44]
movzx ecx, word [ebp - 0x32]
add eax, dword [ebp - 0x4c]
shr ecx, 3
imul eax, ecx
cmp word [ebp - 0x32], 0x10
jne 0x4126a0
add eax, edi
cmp eax, ebx
je 0x412672
push 2
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00447af0
add esp, 0xc
mov dl, byte [ebp - 0x54]
movzx ecx, word [ebp - 0x54]
shl dl, 3
movzx edx, dl
shr ecx, 2
shl edx, 8
mov eax, 0xf8
and ecx, eax
or ecx, edx
movzx edx, word [ebp - 0x54]
shr edx, 7
shl ecx, 8
and edx, eax
or ecx, edx
mov dword [esi], ecx
jmp 0x4126d5
cmp esi, ebx
je 0x4126be
add eax, edi
cmp eax, ebx
je 0x4126be
test dword [ebp - 0x32], 0xfff8
jbe 0x4126be
push ecx
push eax
push esi
call fcn.00447af0
add esp, 0xc
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, ecx
mov dword [esi], eax
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x3c]
add esi, 4
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], eax
jl 0x412645
dec dword [ebp - 0x44]
jns 0x41262e
push dword [ebp - 0x58]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.00447ab6
pop ecx
jmp 0x412530
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448080
leave
ret 0xc