Function at 0x4158b9
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x47e5d0]
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 0x415932
push 2
push 0x10
call fcn.00447990
push 2
push 0x11
mov dword [ebp - 0x50], eax
call fcn.00447990
push edi
push 0x11
mov esi, eax
call fcn.00447990
cmp eax, esi
jle 0x41592e
push edi
push 0x11
call fcn.00447990
jmp 0x41593b
push 2
jmp 0x415925
push ebx
call esi
push edi
mov dword [ebp - 0x50], eax
call esi
mov edi, eax
cmp dword [ebp - 0x60], ebx
je 0x415c15
push dword [ebp - 0x60]
call fcn.00452af1
mov esi, dword [ebp - 0x50]
pop ecx
mov ecx, edi
imul ecx, esi
shl ecx, 2
cmp eax, ecx
jb 0x415c15
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x58], eax
cmp eax, ebx
je 0x415c15
cmp dword [ebp + 0xc], ebx
je 0x415a32
lea eax, [ebp - 0x14]
cmp dword [ebp - 0x48], ebx
je 0x41599e
push 0x10
push dword [ebp - 0x48]
push eax
call fcn.00452790
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call fcn.00446f20
jmp 0x4159a9
push edi
push esi
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp - 0x60]
call fcn.00452af1
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 0x415a20
imul eax, esi
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
cmp ecx, dword [ebp - 0xc]
jge 0x415a0c
lea edi, [eax + ecx]
cmp edi, ebx
jge 0x4159e2
xor esi, esi
jmp 0x4159eb
mov esi, dword [ebp - 0x5c]
cmp edi, esi
jg 0x4159eb
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 0x4159da
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 0x4159cc
push dword [ebp - 0x58]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
inc eax
jmp 0x415c17
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 0x415c15
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.00452e00
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 0x415add
push dword [ebp - 0x38]
call fcn.00454801
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 0x415aed
mov eax, ecx
push 1
push eax
call fcn.00452b24
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x415c15
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 0x415bed
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
cmp eax, ebx
jle 0x415be4
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 0x415b9a
add eax, edi
cmp eax, ebx
je 0x415b6c
push 2
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00452790
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 0x415bcf
cmp esi, ebx
je 0x415bb8
add eax, edi
cmp eax, ebx
je 0x415bb8
test dword [ebp - 0x32], 0xfff8
jbe 0x415bb8
push ecx
push eax
push esi
call fcn.00452790
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 0x415b3f
dec dword [ebp - 0x44]
jns 0x415b28
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.00452756
pop ecx
jmp 0x415a2a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
leave
ret 0xc