Function at 0x62e90180
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
test edx, edx
je 0x62e90648
mov ebp, dword [esp + 0x64]
test ebp, ebp
js 0x62e90530
mov edi, dword [esp + 0x68]
test edi, edi
je 0x62e90688
mov edi, dword [esp + 0x68]
mov ebx, dword [edi]
cmp dword [esp + 0x64], ebx
jbe 0x62e90510
mov edi, dword [esp + 0x74]
lea edx, [edi - 8]
and edx, 0xfffffff7
jne 0x62e90440
test eax, 0xfffefc00
jne 0x62e90608
movzx edx, al
lea ecx, [edx - 1]
cmp ecx, 2
ja 0x62e90668
cmp edx, 3
je 0x62e90570
cmp edx, 2
je 0x62e90488
test ah, 1
je 0x62e906a8
movzx eax, byte [esp + 0x74]
mov edx, dword [esp + 0x24]
mov ebp, 2
lea ecx, [eax - 1]
mov eax, dword [esp + 0x20]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
mov byte [esp + 0x30], al
test al, al
je 0x62e90280
mov edi, ecx
mov ebp, 3
shr edi, 5
and edi, 1
mov esi, edi
shl edi, cl
xor esi, 1
shl esi, cl
mov ecx, edi
mov edx, esi
not ecx
not edx
mov eax, ecx
and edx, dword [esp + 0x20]
and eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
or eax, edx
mov dword [esp + 0x20], edx
jne 0x62e90280
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
lea esi, [esi]
nop
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, 9
cmp eax, esi
mov eax, 0
mov esi, 1
sbb eax, edi
mov edi, 0
jae 0x62e902e7
lea esi, [esi]
mov eax, 0xa
imul ecx, edi, 0xa
add ebp, 1
mul esi
mov dword [esp + 8], eax
mov edi, edx
mov esi, eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___udivdi3
mov ecx, 9
cmp ecx, eax
mov eax, 0
sbb eax, edx
jb 0x62e902a8
mov eax, ebp
movzx ebp, al
add ebp, ebx
cmp dword [esp + 0x64], ebp
jb 0x62e905e8
lea eax, [ebx + 1]
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
lea edx, [ebx + 2]
mov dword [esp + 0x34], eax
lea eax, [ebx*4]
add ebp, eax
cmp byte [esp + 0x30], 0
mov dword [esp + 0x2c], edx
lea ecx, [ecx + eax + 4]
je 0x62e9033e
add ebx, 3
mov dword [ebp], 0x2d
mov ebp, ecx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x60]
lea ecx, [ebx + eax + 8]
mov ebx, dword [esp + 0x34]
mov eax, 1
cmp eax, esi
mov eax, 0
sbb eax, edi
jae 0x62e903f4
lea esi, [esi]
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x24]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___udivmoddi4
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x30], ebx
add ebx, 1
mov ecx, eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
add ecx, 0x30
mov dword [ebp + ebx*4 - 4], ecx
mov ebp, edi
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call sym.___udivdi3
mov esi, eax
mov eax, 0x13
cmp eax, dword [esp + 0x2c]
mov eax, 0
sbb eax, ebp
mov edi, edx
jb 0x62e90358
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x60]
shl ebx, 2
add eax, 3
add ebp, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
lea ecx, [eax + ebx + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x30], ecx
call sym.___udivdi3
mov ecx, dword [esp + 0x30]
add eax, 0x30
mov dword [ebp], eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x2c]
mov dword [ecx], 0
mov dword [eax], edi
add esp, 0x4c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [edi - 0x20]
and edx, 0xffffffdf
je 0x62e901df
mov dword [esp + 0x10], str.libfvalue_utf32_string_with_index_copy_from_integer
mov dword [esp + 0xc], str._s:_unsupported_integer_value_size.
mov dword [esp + 8], 0xe
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 0x72
mov dword [esp], eax
call dbg.libcerror_error_set
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x74]
shr edx, 2
test eax, 0x10000
je 0x62e906f8
lea eax, [edx + 1]
movzx eax, al
add eax, ebx
cmp dword [esp + 0x64], eax
jb 0x62e905e8
movzx eax, byte [esp + 0x74]
mov edi, dword [esp + 0x60]
lea ecx, [eax - 4]
lea esi, [esi]
nop
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov esi, ebx
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
add ebx, 1
mov edx, eax
and edx, 0xf
movzx eax, dl
lea ebp, [eax + 0x57]
add eax, 0x30
cmp dl, 0xa
cmovae eax, ebp
mov dword [edi + ebx*4 - 4], eax
sub cl, 4
jns 0x62e904c0
lea eax, [esi + 2]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
lea ecx, [eax + ebx*4]
jmp 0x62e9041e
mov dword [esp + 0x10], str.libfvalue_utf32_string_with_index_copy_from_integer
mov dword [esp + 0xc], str._s:_invalid_UTF_32_string_index_value_out_of_bounds.
mov dword [esp + 8], 0xc
jmp 0x62e90464
mov dword [esp + 0x10], str.libfvalue_utf32_string_with_index_copy_from_integer
mov dword [esp + 0xc], 0x62f2a08c
mov dword [esp + 8], 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 0x61
mov dword [esp], eax
call dbg.libcerror_error_set
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov edx, ebp
or edx, edi
jne 0x62e905d0
lea eax, [ebx + 6]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x64], eax
jb 0x62e905e8
mov edi, dword [esp + 0x60]
lea eax, [ebx*4]
mov dword [edi + ebx*4], 0x66
lea ecx, [edi + eax + 0x14]
mov dword [edi + eax + 4], 0x61
mov dword [edi + eax + 8], 0x6c
mov dword [edi + eax + 0xc], 0x73
mov dword [edi + eax + 0x10], 0x65
jmp 0x62e9041e
lea eax, [ebx + 5]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x64], eax
jae 0x62e906c0
lea esi, [esi]
mov dword [esp + 0x10], str.libfvalue_utf32_string_with_index_copy_from_integer
mov dword [esp + 0xc], str._s:_UTF_32_string_size_too_small.
mov dword [esp + 8], 5
jmp 0x62e90548
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], str.libfvalue_utf32_string_with_index_copy_from_integer
mov dword [esp], eax
mov dword [esp + 0xc], 0x62f2993c
mov dword [esp + 8], 8
mov dword [esp + 4], 0x61
call dbg.libcerror_error_set
add esp, 0x4c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], str.libfvalue_utf32_string_with_index_copy_from_integer
mov dword [esp + 0xc], 0x62f2a070
mov dword [esp + 8], 1
jmp 0x62e90548
mov dword [esp + 0x10], str.libfvalue_utf32_string_with_index_copy_from_integer
mov dword [esp + 0xc], str._s:_unsupported_string_format_type.
mov dword [esp + 8], 8
jmp 0x62e90548
mov dword [esp + 0x10], str.libfvalue_utf32_string_with_index_copy_from_integer
mov dword [esp + 0xc], 0x62f2a0c4
mov dword [esp + 8], 1
jmp 0x62e90548
mov byte [esp + 0x30], 0
mov ebp, 2
jmp 0x62e90280
mov edi, dword [esp + 0x60]
lea eax, [ebx*4]
mov dword [edi + ebx*4], 0x74
lea ecx, [edi + eax + 0x10]
mov dword [edi + eax + 4], 0x72
mov dword [edi + eax + 8], 0x75
mov dword [edi + eax + 0xc], 0x65
jmp 0x62e9041e
lea eax, [edx + 3]
movzx eax, al
add eax, ebx
cmp dword [esp + 0x64], eax
jb 0x62e905e8
mov edi, dword [esp + 0x60]
lea eax, [ebx*4]
mov dword [edi + ebx*4], 0x30
add ebx, 2
mov dword [edi + eax + 4], 0x78
jmp 0x62e904ac