Function at 0x41af50
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
jne 0x41af82
test esi, esi
je 0x41b1ad
test edi, edi
je 0x41b1ad
push 0
call fcn.00404d28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.004049f8
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x41b1a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x41afbe
push 0
push 1
push 1
push edi
push esi
call fcn.004049e0
mov dword [ebp - 0xc], eax
jmp 0x41afcc
push edi
push esi
mov eax, dword [ebp - 0x18]
push eax
call fcn.004049f0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41afd7
call fcn.004187fc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404b48
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x41b15f
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x41b04d
mov eax, dword [ebx + 0x14]
call fcn.00418008
push eax
push edi
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
xor edx, edx
xor eax, eax
call fcn.00408754
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404ce0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
call fcn.00417980
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404b80
mov eax, dword [ebx + 0x14]
call fcn.00417fcc
call fcn.00417980
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404b58
jmp 0x41b061
push 0xff0062
push edi
push esi
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404b00
cmp dword [ebp - 4], 0
je 0x41b155
mov eax, dword [ebp - 0x18]
push eax
call fcn.004049f8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41b082
call fcn.004187fc
xor eax, eax
push ebp
push 0x41b14e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041ad7c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00404b48
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
je 0x41b0de
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00404b50
mov eax, dword [ebp - 0x20]
push eax
call fcn.00404b20
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404b50
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404b20
test ebx, ebx
je 0x41b10e
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
call fcn.00417980
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00404b80
mov eax, dword [ebx + 0x14]
call fcn.00417fcc
call fcn.00417980
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00404b58
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push edi
push esi
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004049d0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00404b48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b155
mov eax, dword [ebp - 0x20]
push eax
call fcn.00404a30
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b1ad
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404a30
mov eax, dword [ebp - 0x18]
push eax
push 0
call fcn.00404f28
ret
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc