Function at 0x403e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x36
push 1
push fcn.004012d0
call fcn.00401190
add esp, 0xc
call eax
mov dword [ebp - 0x20], eax
push pe_nt_image_headers32
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0x7b
push 0
push fcn.004012d0
call fcn.00401190
add esp, 0xc
call eax
mov dword [ebp - 0x24], eax
push pe_nt_image_headers32
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 0x7b
push 0
push fcn.004012d0
call fcn.00401190
add esp, 0xc
call eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
jmp 0x403e85
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x100
jge 0x403eb1
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0x10]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + edx]
mov byte [eax], dl
jmp 0x403e7c
mov dword [ebp - 0x14], 0
jmp 0x403ec3
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x100
jge 0x403f1e
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x403ef3
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 1], al
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 1]
mov byte [ecx], dl
jmp 0x403eba
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
jmp 0x403f37
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + 0x14]
jae 0x403fe9
mov edx, dword [ebp - 0x18]
add edx, 1
and edx, 0x800000ff
jns 0x403f59
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0xc]
and ecx, 0x800000ff
jns 0x403f78
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 1], al
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov dl, byte [ebp - 1]
mov byte [ecx], dl
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
movzx eax, byte [edx]
add ecx, eax
and ecx, 0x800000ff
jns 0x403fc5
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x28]
movzx ecx, byte [eax]
xor edx, ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
mov byte [eax], dl
jmp 0x403f2e
mov ecx, dword [ebp - 0x24]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0x7c
push 0
push fcn.004012d0
call fcn.00401190
add esp, 0xc
call eax
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 0x7c
push 0
push fcn.004012d0
call fcn.00401190
add esp, 0xc
call eax
mov esp, ebp
pop ebp
ret