Function at 0x41cf77
Capabilities:
Capture screenshot
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
or esi, 0xffffffff
xor ebx, ebx
cmp dword [ebp + 0x14], esi
push edi
je 0x41cf8f
cmp dword [ebp + 0x18], esi
jne 0x41cfc1
xor eax, eax
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
push 0x18
push dword [ebp + 0x1c]
call dword [0x4640c4]
cmp dword [ebp + 0x14], esi
jne 0x41cfb6
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x18], esi
jne 0x41cfc1
mov eax, dword [ebp - 0x54]
mov dword [ebp + 0x18], eax
push 0x38
call fcn.00452e60
mov esi, eax
push 0x38
push ebx
push esi
call fcn.00452e6c
mov eax, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 8], eax
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
push ebx
push esi
mov dword [esi], 0x28
push dword [ebp + 8]
mov word [esi + 0xc], 1
mov word [esi + 0xe], 0x20
mov dword [esi + 0x28], 0xff0000
mov dword [esi + 0x2c], 0xff00
mov dword [esi + 0x30], 0xff
mov dword [esi + 0x10], 3
mov dword [ebp - 0x24], ebx
call dword [0x46407c]
cmp eax, ebx
mov dword [ebp - 0x34], eax
jne 0x41d037
push esi
call fcn.00444c28
pop ecx
jmp 0x41d35b
push dword [ebp + 8]
call dword [0x4640c8]
push dword [ebp - 0x34]
mov edi, dword [0x4640e8]
mov dword [ebp - 4], eax
push eax
call edi
push ebx
mov dword [ebp - 0x28], eax
call dword [0x464590]
push 0xc
push eax
mov dword [ebp - 0x30], eax
call dword [0x4640ac]
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
push ebx
call dword [0x4644a4]
cmp dword [ebp - 0x2c], 0x10
jne 0x41d0f5
push dword [ebp + 8]
call dword [0x4640c8]
push dword [ebp + 0x18]
mov dword [ebp - 8], eax
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [0x4640e4]
push eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 8]
call edi
push 0xcc0020
mov dword [ebp - 0x30], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp - 8]
call dword [0x4640c0]
push 0xcc0020
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp - 4]
call dword [0x4640c0]
push dword [ebp - 0x30]
push dword [ebp - 8]
call edi
push dword [ebp - 0x2c]
call dword [0x4640ec]
push dword [ebp - 8]
call dword [0x4640bc]
jmp 0x41d114
push 0xcc0020
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp - 4]
call dword [0x4640c0]
push 0x38
push ebx
push esi
call fcn.00452e6c
add esp, 0xc
mov dword [esi], 0x28
push ebx
push esi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
push dword [ebp + 8]
call dword [0x464080]
test eax, eax
je 0x41d343
cmp word [esi + 0xe], 0x20
jne 0x41d343
mov eax, dword [ebp + 0x2c]
mov dword [esi], 0x28
imul eax, dword [esi + 4]
shl eax, 2
push eax
call fcn.00452e60
pop ecx
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
mov dword [esi + 0x10], ebx
push dword [ebp + 0x2c]
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
push dword [ebp + 8]
call dword [0x464080]
test eax, eax
jne 0x41d198
push esi
call fcn.00444c28
push dword [ebp - 0x10]
call fcn.00444c28
pop ecx
jmp 0x41d349
cmp dword [ebp + 0x18], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp - 8], ebx
mov byte [ebp + 0x1f], bl
mov dword [ebp - 0xc], ebx
jbe 0x41d2ee
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x2c]
shl eax, 2
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x28]
shr ecx, 1
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
shl eax, 2
jmp 0x41d1cf
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0xc], ecx
jae 0x41d1da
mov ecx, dword [ebp - 0x20]
mov dword [ebp + 0x24], ecx
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x2c]
jae 0x41d1e8
add dword [ebp + 0x24], eax
xor ecx, ecx
cmp dword [ebp + 0x2c], ebx
mov dword [ebp - 0x30], ecx
jbe 0x41d2d0
mov eax, dword [ebp + 0x28]
shr eax, 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x28]
add eax, eax
cmp ecx, eax
jae 0x41d21c
mov eax, dword [ebp + 0x24]
mov dword [ebp - 8], ecx
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x10]
mov dl, byte [edx + eax + 3]
mov byte [ebp + 0x1f], dl
jmp 0x41d21f
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0x14]
mov edx, ecx
shr edx, 2
sub edi, edx
cmp edi, dword [ebp - 0x38]
jae 0x41d241
mov edx, dword [ebp - 8]
mov edi, dword [ebp + 0x24]
add edx, edi
add dword [ebp - 8], 4
mov dl, byte [edx + eax + 3]
mov byte [ebp + 0x1f], dl
movzx edx, byte [ebp + 0x1f]
mov dword [ebp - 0x14], 0xff
mov dword [ebp - 0x40], edx
sub dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x24]
add ecx, edx
mov dword [ebp + 0x2c], ebx
add ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea edi, [ecx + eax]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x44], edi
movzx eax, byte [eax + ecx]
imul eax, dword [ebp - 0x40]
cdq
mov ecx, 0xff
idiv ecx
mov ecx, eax
movzx eax, byte [edi]
imul eax, dword [ebp - 0x14]
cdq
mov edi, 0xff
idiv edi
add cl, al
mov eax, dword [ebp - 0x44]
inc dword [ebp + 0x2c]
inc dword [ebp - 0x18]
cmp dword [ebp + 0x2c], 3
mov byte [eax], cl
jb 0x41d26a
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x14]
add ecx, 4
shl eax, 2
cmp ecx, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp + 0x2c], eax
jb 0x41d1fe
mov edi, dword [0x4640e8]
mov eax, dword [ebp + 0x2c]
inc dword [ebp - 0xc]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0xc]
shl eax, 2
add dword [ebp - 0x20], eax
cmp ecx, dword [ebp + 0x18]
jb 0x41d1cc
push 0xcc0020
push ebx
push ebx
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
push esi
call fcn.00444c28
push dword [ebp - 0x10]
call fcn.00444c28
pop ecx
pop ecx
push dword [ebp - 0x28]
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [0x4640bc]
push dword [ebp - 0x24]
mov esi, dword [0x4640ec]
call esi
push dword [ebp - 0x34]
call esi
push 1
pop eax
jmp 0x41d35d
push esi
call fcn.00444c28
pop ecx
push dword [ebp - 0x28]
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [0x4640bc]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret