Function at 0x41f0af
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
cmp dword [0x507338], 0
je 0x41f484
cmp dword [0x531f3c], 0
jne 0x41f484
push ebx
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.00485a1f
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
xor eax, eax
test edi, edi
push 0x15
pop ebx
cmovne ebx, eax
mov dword [ebp - 8], ebx
call fcn.004081ec
push eax
call fcn.00419cef
push dword [0x507330]
call fcn.00419c9f
pop ecx
pop ecx
xor esi, esi
lea ecx, [ebp - 0x10]
cmp dword [0x4f7c88], 0xe
je 0x41f2d0
push 0xcc0020
push ebx
push esi
push dword [0x506d00]
push 0x14
push 0x19
pop ebx
push ebx
push esi
push esi
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x4f7c84]
mov edi, ebx
add eax, 0xffffff6a
cdq
idiv ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x41f1be
test al, 1
je 0x41f186
push 0xcc0020
push dword [ebp - 8]
lea ecx, [ebp - 0x10]
push 0x7f
push dword [0x506d00]
push 0x14
push 0xc
push esi
push ebx
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 4]
push 0x25
pop edi
cdq
sub eax, edx
sar eax, 1
jmp 0x41f1ba
push 0xcc0020
push dword [ebp - 8]
dec eax
lea ecx, [ebp - 0x10]
push 0x7f
push dword [0x506d00]
mov dword [ebp - 4], eax
push 0x14
push ebx
push esi
push edi
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 4]
add edi, ebx
test eax, eax
jg 0x41f18d
push 0xcc0020
push dword [ebp - 8]
lea ecx, [ebp - 0x10]
push 0x1a
push dword [0x506d00]
push 0x14
push 0x64
push esi
push edi
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x4f7c84]
add edi, 0x64
add eax, 0xffffff6a
cdq
idiv ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x41f261
test al, 1
je 0x41f229
push 0xcc0020
push dword [ebp - 8]
lea ecx, [ebp - 0x10]
push 0x7f
push dword [0x506d00]
push 0x14
push 0xd
push esi
push edi
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 4]
add edi, 0xd
cdq
sub eax, edx
sar eax, 1
jmp 0x41f25d
push 0xcc0020
push dword [ebp - 8]
dec eax
lea ecx, [ebp - 0x10]
push 0x7f
push dword [0x506d00]
mov dword [ebp - 4], eax
push 0x14
push ebx
push esi
push edi
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 4]
add edi, ebx
test eax, eax
jg 0x41f230
mov eax, dword [0x4f7c84]
add eax, 0xffffff6a
cdq
idiv ebx
mov eax, edx
mov dword [ebp - 4], eax
test eax, eax
je 0x41f2a1
push 0xcc0020
push 0x14
push ebx
push dword [ebp - 8]
lea ecx, [ebp - 0x10]
push 0x7f
push dword [0x506d00]
push 0x14
push eax
push esi
push edi
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
add edi, dword [ebp - 4]
push 0xcc0020
push dword [ebp - 8]
lea ecx, [ebp - 0x10]
push 0x99
push dword [0x506d00]
push 0x14
push ebx
push esi
push edi
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [ebp + 0x10]
jmp 0x41f3bb
mov eax, dword [0x4f7c84]
push 0x19
pop ebx
add eax, 0xffffffce
cdq
idiv ebx
push 0xcc0020
push 0x2a
push 0x48
push dword [0x506d00]
mov dword [ebp - 8], eax
push 0xe
push ebx
push esi
push esi
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 8]
mov ecx, ebx
mov dword [ebp - 4], ecx
push 0x39
pop edx
sub eax, 1
je 0x41f34e
mov edi, ebx
push 0xcc0020
push edx
push 0x48
push dword [0x506d00]
dec eax
lea ecx, [ebp - 0x10]
push 0xe
push ebx
push esi
push edi
mov dword [ebp - 8], eax
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 8]
add edi, ebx
push 0x39
pop edx
test eax, eax
jne 0x41f313
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov eax, dword [0x4f7c84]
add eax, 0xffffffce
cdq
idiv ebx
mov ebx, edx
test ebx, ebx
je 0x41f38d
push 0xcc0020
push 0xe
push 0x18
push 0x39
pop eax
push eax
push 0x48
push dword [0x506d00]
push 0xe
push ebx
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp - 4]
add ecx, ebx
push 0xcc0020
push 0x2a
pop eax
push 0x39
pop edx
test edi, edi
cmove eax, edx
push eax
push 0x63
push dword [0x506d00]
push 0xe
push 0x32
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.004081ec
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
call fcn.00419c9f
cmp dword [0x4f7c88], 0xe
pop ecx
jne 0x41f479
push 0x320
lea eax, [ebp - 0x330]
push esi
push eax
call fcn.0049a3b0
add esp, 0xc
call fcn.00491c69
mov esi, eax
test esi, esi
js 0x41f43a
call fcn.00492412
cmp esi, eax
jge 0x41f43a
cmp dword [0x5337d8], 0
lea eax, [ebp - 0x330]
jne 0x41f423
push eax
call fcn.00491c69
push eax
call fcn.0049232c
call fcn.00491c69
push eax
call fcn.00492515
add esp, 0xc
jmp 0x41f456
push 0x532ac0
push 0x190
push eax
call fcn.0040c4d6
call fcn.00489c91
jmp 0x41f456
push 0x190
lea eax, [ebp - 0x330]
push eax
push 0x172
call fcn.00441947
add esp, 0xc
or eax, 0xffffffff
neg edi
lea ecx, [ebp - 0x10]
sbb edi, edi
and edi, 2
push edi
push eax
lea eax, [ebp - 0x330]
push eax
push 0xffffffffffffffff
call fcn.004081ec
push eax
call fcn.0041dda5
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.00485a66
pop edi
pop esi
pop ebx
leave
ret