Function at 0x46276f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov eax, str.sszll
jne 0x4627a1
mov eax, 0x530978
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 8]
call sym.stub.exe_zend_parse_parameters
add esp, 0x28
cmp eax, 0xffffffff
je 0x46294b
cmp dword [ebp + 0x1c], ebx
push 1
pop ecx
je 0x4627e0
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 3
push 2
pop esi
jle 0x462810
mov eax, dword [ebp - 0x3c]
and eax, 0x100
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
and eax, 0xff
je 0x462801
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x1c], ebx
je 0x462884
cmp dword [ebp - 0x1c], ecx
jl 0x462889
cmp dword [ebp - 0x1c], esi
jg 0x462889
cmp dword [ebp - 4], ebx
je 0x462827
push dword [ebp - 4]
call sym.stub.exe__zval_dtor
push dword [ebp - 4]
call sym.stub.exe__array_init
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jge 0x462839
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
jns 0x462839
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x50]
call sym.stub.exe_pcre_get_compiled_regex
mov edi, eax
add esp, 0xc
cmp edi, ebx
mov dword [ebp - 0x48], edi
je 0x46294b
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp - 0x24]
push edi
call fcn.00416ea1
add esp, 0x10
cmp eax, ebx
jge 0x4628a9
push eax
push dword [ebp + 0x18]
call sym.stub.exe_get_active_function_name
pop ecx
push eax
push str._s:_internal_pcre_fullinfo___error__d
push esi
jmp 0x462943
cmp dword [ebp - 0x1c], ebx
je 0x462810
push dword [ebp + 0x18]
call sym.stub.exe_get_active_function_name
push eax
push str.Wrong_value_for_parameter_4_in_call_to__s__
push esi
push dword [ebp + 0x18]
push ebx
call sym.stub.exe_php_error_docref0
add esp, 0x18
jmp 0x462d45
mov eax, dword [ebp - 8]
push ebx
inc eax
push 4
mov dword [ebp - 8], eax
lea eax, [eax + eax*2]
push eax
mov dword [ebp - 0x40], eax
call sym.stub.exe__safe_emalloc
push ebx
push 4
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
call sym.stub.exe__safe_emalloc
mov esi, eax
mov eax, dword [ebp - 8]
shl eax, 2
push eax
push ebx
push esi
mov dword [ebp - 0x14], esi
call sub.MSVCRT.dll_memset
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push 8
push dword [ebp - 0x24]
push edi
call fcn.00416ea1
add esp, 0x34
cmp eax, ebx
jl 0x462931
cmp dword [ebp + 8], ebx
jle 0x46298f
lea eax, [ebp - 0x34]
push eax
push 9
push dword [ebp - 0x24]
push edi
call fcn.00416ea1
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
push 7
push dword [ebp - 0x24]
push edi
call fcn.00416ea1
add esp, 0x20
cmp eax, ebx
jne 0x46292f
mov eax, dword [ebp - 0x54]
cmp eax, ebx
jge 0x462959
push eax
push dword [ebp + 0x18]
call sym.stub.exe_get_active_function_name
pop ecx
push eax
push str._s:_internal_pcre_fullinfo___error__d
push 2
call sym.stub.exe_zend_error
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov byte [eax + 8], 6
mov dword [eax], ebx
jmp 0x462d45
cmp dword [ebp + 8], ebx
push 1
pop ecx
jle 0x46298f
mov eax, dword [ebp - 0x34]
movsx di, byte [eax]
imul edi, edi, 0xff
lea edx, [eax + 2]
movsx ax, byte [eax + 1]
add edi, eax
movzx eax, di
mov dword [esi + eax*4], edx
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x58]
mov edx, ecx
inc ecx
cmp edx, dword [ebp + 8]
mov dword [ebp - 0x34], eax
jl 0x462964
cmp dword [ebp + 0x1c], ebx
je 0x4629db
cmp dword [ebp - 0x1c], 1
jne 0x4629db
push ebx
push 4
push dword [ebp - 8]
call sym.stub.exe__safe_emalloc
add esp, 0xc
xor edi, edi
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x20], eax
jle 0x4629db
mov esi, eax
push 0x10
call sym.stub.exe__emalloc
push eax
mov dword [esi], eax
call sym.stub.exe__array_init
mov eax, dword [esi]
inc edi
pop ecx
mov word [eax + 0xa], 1
mov eax, dword [esi]
add esi, 4
pop ecx
mov byte [eax + 9], bl
cmp edi, dword [ebp - 8]
jl 0x4629b4
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x40]
mov esi, dword [ebp - 0x10]
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x18]
push dword [ebp - 0x38]
push dword [ebp - 0x44]
push dword [ebp - 0x24]
push dword [ebp - 0x48]
call fcn.00415052
add esp, 0x20
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x462a27
push str.Matched__but_too_many_substrings
push 8
push dword [ebp + 0x18]
push ebx
call sym.stub.exe_php_error_docref0
mov eax, dword [ebp - 0x40]
add esp, 0x10
cdq
push 3
pop ecx
idiv ecx
mov dword [ebp + 8], eax
cmp eax, ebx
jl 0x462c4a
inc dword [ebp - 0x34]
cmp dword [ebp - 4], ebx
je 0x462c60
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x44]
call fcn.00416fd3
add esp, 0x10
test eax, eax
jl 0x462c85
cmp dword [ebp + 0x1c], ebx
je 0x462bb9
cmp dword [ebp - 0x1c], 1
jne 0x462af7
xor edi, edi
cmp dword [ebp + 8], ebx
jle 0x462abd
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], ebx
je 0x462a98
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push ebx
push eax
sub ecx, eax
mov eax, dword [ebp - 0xc]
push ecx
push dword [eax + edi*4]
mov eax, dword [ebp - 0x20]
push dword [eax + edi*4]
call fcn.00462d4a
add esp, 0x14
jmp 0x462ab4
mov eax, dword [esi + 4]
push 1
sub eax, dword [esi]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + edi*4]
mov eax, dword [ebp - 0x20]
push dword [eax + edi*4]
call sym.stub.exe_add_next_index_stringl
add esp, 0x10
inc edi
add esi, 8
cmp edi, dword [ebp + 8]
jl 0x462a73
mov eax, dword [ebp - 8]
cmp dword [ebp + 8], eax
jge 0x462c3e
cmp edi, eax
jge 0x462c3e
mov eax, dword [ebp - 0x20]
lea esi, [eax + edi*4]
push 1
push dword [sym.stub.exe_empty_string]
push dword [esi]
call sym.stub.exe_add_next_index_string
add esp, 0xc
inc edi
add esi, 4
cmp edi, dword [ebp - 8]
jl 0x462ad7
jmp 0x462c3e
push 0x10
call sym.stub.exe__emalloc
push eax
mov dword [ebp - 0x28], eax
call sym.stub.exe__array_init
mov eax, dword [ebp - 0x28]
pop ecx
xor edi, edi
cmp dword [ebp + 8], ebx
mov word [eax + 0xa], 1
mov eax, dword [ebp - 0x28]
pop ecx
mov byte [eax + 9], bl
jle 0x462b9d
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], ebx
je 0x462b49
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi]
push dword [ecx + edi*4]
mov ecx, dword [esi + 4]
sub ecx, eax
push eax
mov eax, dword [ebp - 0xc]
push ecx
push dword [eax + edi*4]
push dword [ebp - 0x28]
call fcn.00462d4a
add esp, 0x14
jmp 0x462b94
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x462b7b
mov ecx, dword [esi + 4]
push 1
sub ecx, dword [esi]
push ecx
mov ecx, dword [ebp - 0xc]
push dword [ecx + edi*4]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + edi*4]
push dword [ebp - 0x28]
call sym.stub.exe_add_assoc_stringl_ex
add esp, 0x18
mov eax, dword [esi + 4]
push 1
sub eax, dword [esi]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + edi*4]
push dword [ebp - 0x28]
call sym.stub.exe_add_next_index_stringl
add esp, 0x10
inc edi
add esi, 8
cmp edi, dword [ebp + 8]
jl 0x462b22
push 4
push ebx
lea eax, [ebp - 0x28]
push 4
push eax
mov eax, dword [ebp - 4]
push ebx
push dword [eax]
call sym.stub.exe_zend_hash_index_update_or_next_insert
add esp, 0x18
jmp 0x462c3e
xor edi, edi
cmp dword [ebp + 8], ebx
jle 0x462c3e
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], ebx
je 0x462bea
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi]
push dword [ecx + edi*4]
mov ecx, dword [esi + 4]
sub ecx, eax
push eax
mov eax, dword [ebp - 0xc]
push ecx
push dword [eax + edi*4]
push dword [ebp - 4]
call fcn.00462d4a
add esp, 0x14
jmp 0x462c35
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x462c1c
mov ecx, dword [esi + 4]
push 1
sub ecx, dword [esi]
push ecx
mov ecx, dword [ebp - 0xc]
push dword [ecx + edi*4]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + edi*4]
push dword [ebp - 4]
call sym.stub.exe_add_assoc_stringl_ex
add esp, 0x18
mov eax, dword [esi + 4]
push 1
sub eax, dword [esi]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + edi*4]
push dword [ebp - 4]
call sym.stub.exe_add_next_index_stringl
add esp, 0x10
inc edi
add esi, 8
cmp edi, dword [ebp + 8]
jl 0x462bc3
push dword [ebp - 0xc]
call dword [0x519750]
pop ecx
jmp 0x462c60
cmp dword [ebp - 0x30], ebx
je 0x462cb5
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jge 0x462cb5
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], 0x410
mov eax, dword [ecx + 4]
cmp eax, dword [ecx]
je 0x462c74
mov dword [ebp - 0x30], ebx
cmp dword [ebp + 0x1c], ebx
mov dword [ebp - 0x18], eax
je 0x462d27
jmp 0x4629de
push dword [ebp - 0x14]
call sym.stub.exe__efree
push dword [ebp - 0x10]
call sym.stub.exe__efree
push dword [ebp - 0x48]
call sym.stub.exe__efree
push str.Get_subpatterns_list_failed
push 2
push dword [ebp + 0x18]
push ebx
call sym.stub.exe_php_error_docref0
add esp, 0x1c
jmp 0x462d45
cmp dword [ebp + 0x1c], ebx
je 0x462d27
cmp dword [ebp - 0x1c], 1
jne 0x462d27
cmp dword [ebp - 8], ebx
mov dword [ebp + 0x18], ebx
jle 0x462d1e
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
sub edi, esi
mov eax, dword [edi + esi]
cmp eax, ebx
je 0x462cfc
push 1
push ebx
push 4
push esi
push eax
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
mov eax, dword [ebp - 4]
push dword [edi + esi]
push dword [eax]
call sym.stub.exe_zend_hash_add_or_update
mov eax, dword [esi]
add esp, 0x1c
inc word [eax + 0xa]
mov eax, dword [ebp - 4]
push 4
push ebx
push 4
push esi
push ebx
push dword [eax]
call sym.stub.exe_zend_hash_index_update_or_next_insert
add esp, 0x18
inc dword [ebp + 0x18]
mov eax, dword [ebp + 0x18]
add esi, 4
cmp eax, dword [ebp - 8]
jl 0x462cd0
push dword [ebp - 0x20]
call sym.stub.exe__efree
pop ecx
push dword [ebp - 0x10]
call sym.stub.exe__efree
push dword [ebp - 0x14]
call sym.stub.exe__efree
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
mov byte [eax + 8], 1
mov dword [eax], ecx
pop edi
pop esi
pop ebx
leave
ret