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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
or esi, 0xffffffff
xor ebx, ebx
cmp dword [ebp + 0x24], esi
push edi
je 0x41fa57
cmp dword [ebp + 0x28], esi
jne 0x41fa89
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], 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 - 0x54]
push eax
push 0x18
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [ebp + 0x24], esi
jne 0x41fa7e
mov eax, dword [ebp - 0x50]
mov dword [ebp + 0x24], eax
cmp dword [ebp + 0x28], esi
jne 0x41fa89
mov eax, dword [ebp - 0x4c]
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x14], esi
jne 0x41fa94
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x14], eax
push 0x38
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
push 0x38
push ebx
push esi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x28]
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 [sym.imp.GDI32.dll_CreateDIBSection]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jne 0x41fb0a
push esi
call fcn.0044b020
pop ecx
jmp 0x41fe7e
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x30]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], eax
push eax
call edi
push 0x38
push ebx
push esi
mov dword [ebp - 0x1c], eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esi], 0x28
push ebx
push esi
push ebx
push dword [ebp + 0x28]
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x41fe66
cmp word [esi + 0xe], 0x20
jne 0x41fe66
mov eax, dword [esi + 4]
mov dword [esi], 0x28
imul eax, dword [ebp + 0x28]
shl eax, 2
push eax
mov dword [ebp - 0x2c], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebp - 0x2c]
mov dword [ebp - 8], eax
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x10
mov dword [esi + 0x10], ebx
push ebx
push esi
push dword [ebp - 8]
push dword [ebp + 0x28]
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x41fbba
push esi
call fcn.0044b020
push dword [ebp - 8]
call fcn.0044b020
pop ecx
jmp 0x41fe6c
mov eax, dword [ebp + 0x24]
imul eax, dword [ebp + 0x28]
shl eax, 2
push eax
mov dword [ebp + 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebp + 0x18]
mov dword [ebp + 0x20], eax
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x10
cmp dword [ebp + 0x28], ebx
mov dword [ebp + 0x18], ebx
jbe 0x41fc44
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 8]
shl eax, 2
push eax
mov eax, dword [esi + 4]
imul eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x1c]
lea eax, [ecx + eax*4]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x41fc30
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp - 8]
shl eax, 2
push eax
mov eax, dword [esi + 4]
imul eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x1c]
lea eax, [ecx + eax*4]
push eax
push dword [ebp - 0xc]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x24]
inc dword [ebp + 0x18]
shl eax, 2
add dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x28]
jb 0x41fbeb
push dword [ebp - 8]
call fcn.0044b020
pop ecx
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0xc
push eax
mov dword [ebp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push dword [ebp + 0x18]
mov dword [ebp + 0x1c], eax
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp + 0x1c], 0x10
jne 0x41fcf0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0x28]
mov dword [ebp + 0x18], eax
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x2c], eax
push dword [ebp + 0x18]
call edi
push 0xcc0020
mov dword [ebp + 0x1c], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x28]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push ebx
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x28]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call edi
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x41fd0f
push 0xcc0020
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x28]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0x28], ebx
jbe 0x41fe18
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
mov edx, eax
mov eax, dword [ebp + 0x24]
shl edx, 2
shl eax, 2
add ecx, 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
cmp edx, ebx
mov dword [ebp - 0x28], ecx
jbe 0x41fe00
shr eax, 1
mov dword [ebp + 0x1c], edx
mov dword [ebp - 0x20], eax
sub dword [ebp + 0x1c], eax
cmp ecx, dword [ebp + 0x1c]
mov eax, ecx
jle 0x41fd65
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x14]
lea eax, [ecx + eax*4]
jmp 0x41fd6d
cmp ecx, dword [ebp - 0x20]
jle 0x41fd6d
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], 0xff
mov dword [ebp + 0x18], ebx
mov dl, byte [edx + eax]
movzx edx, dl
sub dword [ebp - 0xc], edx
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x18]
add edx, ecx
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebp + 0x20]
add ecx, eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
lea edi, [ecx + eax]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x3c], edi
movzx eax, byte [eax + ecx]
imul eax, dword [ebp - 0x38]
cdq
mov ecx, 0xff
idiv ecx
mov ecx, eax
movzx eax, byte [edi]
imul eax, dword [ebp - 0xc]
cdq
mov edi, 0xff
idiv edi
add cl, al
mov eax, dword [ebp - 0x3c]
inc dword [ebp + 0x18]
inc dword [ebp - 8]
cmp dword [ebp + 0x18], 3
mov byte [eax], cl
jb 0x41fd9b
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, eax
add ecx, 4
shl edx, 2
cmp ecx, edx
mov dword [ebp - 0x28], ecx
jb 0x41fd53
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0x24]
add dword [ebp - 0x18], edx
shl eax, 2
add dword [ebp - 0x10], eax
add dword [ebp - 0x14], eax
dec dword [ebp - 0x2c]
jne 0x41fd3b
push 0xcc0020
push ebx
push ebx
push dword [ebp - 4]
push dword [ebp + 0x28]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
call fcn.0044b020
push dword [ebp + 0x20]
call fcn.0044b020
pop ecx
pop ecx
push dword [ebp - 0x1c]
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
pop eax
jmp 0x41fe80
push esi
call fcn.0044b020
pop ecx
push dword [ebp - 0x1c]
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret