Function at 0x404fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xff4
push 0x7d0
push 0
lea eax, [ebp - 0xfe8]
push eax
call dword [0x415014]
add esp, 0xc
push 0x41840c
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x41841c
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418434
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x41843c
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418448
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418450
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418458
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418460
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418470
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418478
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418480
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418494
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4184a4
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4184b8
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x4184c8
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4184e0
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4184e8
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x7d0
push 0
lea eax, [ebp - 0xfe8]
push eax
call dword [0x415014]
add esp, 0xc
mov dword [ebp - 0xff0], 0
push 0x4184f4
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418504
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x41851c
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418524
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418530
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418538
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push str.YQVAZj3W8KZBJWm5rg
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418548
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push str.cAlGQTHE6IJAbGi8
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418560
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418568
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push str.YQVAdivI9LZYCXWRoEDn5Q
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x41858c
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4185a0
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x4185b0
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4185c8
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4185d0
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x7d0
push 0
lea eax, [ebp - 0xfe8]
push eax
call dword [0x415014]
add esp, 0xc
mov dword [ebp - 0x40c], 0
jmp 0x4052b7
mov ecx, dword [ebp - 0x40c]
add ecx, 1
mov dword [ebp - 0x40c], ecx
cmp dword [ebp - 0x40c], 0x100
jge 0x405304
mov edx, dword [ebp - 0x40c]
mov eax, dword [ebp - 0x40c]
mov dword [ebp + edx*4 - 0x408], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004140a0
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x40c]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx]
mov edx, dword [ebp - 0x40c]
mov dword [ebp + edx*4 - 0x818], ecx
jmp 0x4052a8
push str.ShNARyjA6oI
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push str.YxhdQRTX66BJH3Q
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418604
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x41860c
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418618
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push str.YQVAZj3W8KZBOG6ypA
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418628
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418630
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418640
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418648
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418650
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418664
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418674
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418688
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418698
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x4186b0
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4186b8
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x7d0
push 0
lea edx, [ebp - 0xfe8]
push edx
call dword [0x415014]
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x40545f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jge 0x4054d4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xff0]
add edx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 4]
add edx, dword [ebp + eax*4 - 0x818]
and edx, 0x800000ff
jns 0x405492
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xff0], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x408]
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xff0]
mov edx, dword [ebp + ecx*4 - 0x408]
mov dword [ebp + eax*4 - 0x408], edx
mov eax, dword [ebp - 0xff0]
mov ecx, dword [ebp - 0x40c]
mov dword [ebp + eax*4 - 0x408], ecx
jmp 0x405456
push 0x4186c4
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x4186d4
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4186ec
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4186f4
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push str.ZRJNRTD28LFFAmCLrm_ryqf9VjU
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418708
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418710
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418718
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418728
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418730
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418738
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push str.bA9cW0TK4Q
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push str.YilnZQjk3Q
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418770
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push str.ThRARX6Kq_QbQj7u7xq0ivW5
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418798
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x4187a0
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x7d0
push 0
lea ecx, [ebp - 0xfe8]
push ecx
call dword [0x415014]
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004140a0
add esp, 4
add eax, 1
push eax
call fcn.00413ee0
add esp, 4
mov dword [ebp - 0xff4], eax
mov eax, dword [ebp - 0xff4]
mov dword [ebp - 0x410], eax
mov dword [ebp - 0xff0], 0
mov ecx, dword [ebp - 0xff0]
mov dword [ebp - 4], ecx
push 0x4187ac
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push str.CQYENX3A5_BIW2K9B26k_Cg
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4187d4
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4187dc
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x4187e8
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4187f0
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4187f8
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418800
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push str.YQVAcy3J4YJYGHW2o1j2wbXO
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418818
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418820
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418834
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418844
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418858
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418868
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418880
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418888
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x7d0
push 0
lea ecx, [ebp - 0xfe8]
push ecx
call dword [0x415014]
add esp, 0xc
mov dword [ebp - 0x40c], 0
jmp 0x4057be
mov edx, dword [ebp - 0x40c]
add edx, 1
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp + 8]
push eax
call fcn.004140a0
add esp, 4
cmp dword [ebp - 0x40c], eax
jge 0x4058da
mov ecx, dword [ebp - 4]
add ecx, 1
and ecx, 0x800000ff
jns 0x4057ec
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xff0]
add eax, dword [ebp + edx*4 - 0x408]
and eax, 0x800000ff
jns 0x40580d
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0xff0], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x408]
mov dword [ebp - 0x414], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xff0]
mov edx, dword [ebp + ecx*4 - 0x408]
mov dword [ebp + eax*4 - 0x408], edx
mov eax, dword [ebp - 0xff0]
mov ecx, dword [ebp - 0x414]
mov dword [ebp + eax*4 - 0x408], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + edx*4 - 0x408]
mov ecx, dword [ebp - 0xff0]
add eax, dword [ebp + ecx*4 - 0x408]
and eax, 0x800000ff
jns 0x405872
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0xfec], eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x40c]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xfec]
cmp dword [ebp + ecx*4 - 0x408], eax
jne 0x4058ae
mov edx, dword [ebp - 0x410]
add edx, dword [ebp - 0x40c]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x40c]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x4058d5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x40c]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xfec]
xor eax, dword [ebp + ecx*4 - 0x408]
mov edx, dword [ebp - 0x410]
add edx, dword [ebp - 0x40c]
mov byte [edx], al
jmp 0x4057af
push 0x418894
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4188a4
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4188bc
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x4188c4
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4188d0
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4188d8
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push str.YBJRUAjM5rFNHn4
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x4188e8
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x4188f8
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418900
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418908
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x41891c
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x41892c
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418940
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x418950
lea edx, [ebp - 0xfe8]
push edx
call dword [section..rdata]
push 0x418968
lea eax, [ebp - 0xfe8]
push eax
call dword [section..rdata]
push 0x418970
lea ecx, [ebp - 0xfe8]
push ecx
call dword [section..rdata]
push 0x7d0
push 0
lea edx, [ebp - 0xfe8]
push edx
call dword [0x415014]
add esp, 0xc
mov eax, dword [ebp - 0x410]
add eax, dword [ebp - 0x40c]
mov byte [eax], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x410]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret