Function at 0x41b1ad
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x531f3c], 0
jne 0x41b3fe
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
call fcn.00419cef
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
add eax, 0xfffffff8
pop ecx
push 0x14
pop edi
mov dword [ebp - 0x10], eax
lea eax, [esi - 0xe]
push 4
mov dword [ebp - 0x18], 0xb
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
cmp byte [0x4f7c4f], cl
sete cl
xor edx, edx
inc edx
cmp eax, dword [ebp + 8]
cmove ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0041b400
push dword [0x507190]
call fcn.00419c9f
add esp, 0x10
lea eax, [esi - 0x3a]
cdq
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
push 0x1d
pop ecx
idiv ecx
mov ecx, edx
mov dword [ebp - 4], ecx
test eax, eax
jle 0x41b297
push 0xcc0020
push 0x2a
push 0x7f
push dword [0x506d00]
dec eax
push 0x1d
push 0xb
push edi
push 0
push ebx
mov dword [ebp - 8], eax
call esi
mov eax, dword [ebp + 0x10]
push 0xcc0020
push 0x2a
push 0x8b
push dword [0x506d00]
add eax, 0xfffffff8
push 0x1d
push 8
push edi
push eax
push ebx
call esi
mov eax, dword [ebp - 8]
add edi, 0x1d
test eax, eax
jg 0x41b24c
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41b2e8
push 0xcc0020
push 0x1d
push 0xb
push 0x2a
push 0x7f
push dword [0x506d00]
push ecx
push 0xb
push edi
push 0
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp + 0x10]
push 0xcc0020
push 0x1d
push 8
push 0x2a
push 0x8b
push dword [0x506d00]
add eax, 0xfffffff8
push dword [ebp - 4]
push 8
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
add edi, dword [ebp - 4]
push 0xcc0020
push 0x2a
push 0x9e
push dword [0x506d00]
push 0x18
push 0xb
push edi
push 0
push ebx
call esi
mov eax, dword [ebp + 0x10]
push 0xcc0020
push 0x2a
push 0xaa
push dword [0x506d00]
add eax, 0xfffffff8
push 0x18
push 8
push edi
push eax
push ebx
call esi
push 0xcc0020
push 0x2a
push 0
push dword [0x506d00]
add edi, 0x18
push 0xe
push 0x7d
push edi
push 0
push ebx
call esi
mov eax, dword [ebp + 0x10]
push 0x19
pop ecx
push 0x7d
lea eax, [eax - 0xfa]
cdq
idiv ecx
pop esi
mov ecx, edx
mov dword [ebp - 4], ecx
test eax, eax
jle 0x41b389
push 0xcc0020
push 0x48
push 0x7f
push dword [0x506d00]
dec eax
push 0xe
push 0x19
push edi
push esi
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 8]
add esi, 0x19
test eax, eax
jg 0x41b35c
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41b3af
push 0xcc0020
push 0xe
push 0x19
push 0x48
push 0x7f
push dword [0x506d00]
push 0xe
push ecx
push edi
push esi
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
add esi, dword [ebp - 4]
push 0xcc0020
push 0x39
push 0
push dword [0x506d00]
push 0xe
push 0x7d
push edi
push esi
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test byte [ebp + 0x18], 1
je 0x41b3f3
push 0xcc0020
push 0x48
push 0x76
push dword [0x506d00]
lea eax, [edi + 2]
push 7
push 7
push eax
lea eax, [esi + 0x70]
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
call fcn.00419c9f
pop ecx
pop edi
pop esi
pop ebx
leave
ret