Function at 0x4124b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d80d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x440040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x7c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
test eax, eax
jle 0x4124f9
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jg 0x4124f9
push 0xc
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x412510
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jg 0x412510
push 0xb
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
xor al, al
mov dword [ebp - 0x28], eax
test esi, esi
je 0x4125f9
nop dword [eax]
mov ecx, dword [esi + 4]
cmp ecx, 0x15
ja case.0x41252c.0
jmp dword [ecx*4 + 0x4128e8]
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x28], eax
test eax, 0x100
jne 0x412557
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x412557
mov eax, dword [ebp - 0x28]
and eax, 0xffffff01
mov dword [ebp - 0x28], eax
jmp case.0x41252c.1
mov eax, dword [edi]
sub eax, 2
cmp word [eax], 0xa
setne al
mov dword [ebp - 0x28], eax
jmp case.0x41252c.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x41255c
mov eax, dword [edi + 0x60]
shr eax, 1
and al, 1
mov dword [ebp - 0x28], eax
jmp case.0x41252c.1
mov ecx, edi
call fcn.004140c0
mov ecx, dword [esi + 8]
and ecx, 1
cmp al, cl
sete al
mov dword [ebp - 0x28], eax
jmp case.0x41252c.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4128d6
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x4128d6
cmp ecx, 0xd
je 0x4128d6
add eax, 2
jmp 0x4125de
push dword [edi + 0x5c]
mov edx, dword [esi + 0x1c]
lea ecx, [ebp - 0x34]
mov eax, dword [esi + 0x18]
push dword [edi + 0x70]
lea eax, [edx + eax*2]
push eax
push dword [edi + 0x50]
push dword [edi]
call fcn.00412940
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x4128d6
mov dword [edi], eax
mov eax, dword [ebp - 0x28]
test al, al
jne 0x4125f9
test esi, esi
je 0x4125f9
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x2c], esi
test esi, esi
jne 0x412520
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x412604
inc eax
mov dword [edi + 0x7c], eax
cmp byte [ebp - 0x28], 0
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b832
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4128d6
push esi
mov ecx, edi
call fcn.00413e30
test al, al
je 0x4128d6
xor al, al
mov dword [ebp - 0x28], eax
jmp 0x4125e7
mov esi, dword [edi]
lea eax, [edi + 4]
cmp ecx, 0xb
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x24], xmm0
push eax
sete byte [ebp - 0x2d]
mov dword [ebp - 0x24], esi
call fcn.00413180
mov eax, dword [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 4], 0
push dword [eax + 0x14]
call fcn.004124b0
cmp al, byte [ebp - 0x2d]
jne 0x4126b9
mov eax, dword [ebp - 0x24]
lea esi, [edi + 4]
mov dword [edi], eax
lea eax, [ebp - 0x20]
cmp esi, eax
je 0x4126b2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
push eax
push ecx
mov ecx, esi
call fcn.00414a60
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov al, 1
mov dword [ebp - 0x28], eax
jmp 0x4126be
mov eax, dword [ebp - 0x28]
mov dword [edi], esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x4128c8
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4126f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4128d0
push ecx
push edx
call fcn.0042b893
add esp, 8
mov esi, dword [ebp - 0x2c]
jmp 0x4125e0
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp - 0x2c]
mov esi, dword [edi + 0x10]
cmp dword [eax + 0x14], esi
jae 0x412700
nop
mov eax, dword [edi + 4]
dec esi
mov ecx, esi
shr ecx, 5
lea edx, [eax + ecx*4]
mov ecx, esi
mov eax, dword [edx]
and ecx, 0x1f
btr eax, ecx
mov dword [edx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], esi
jb 0x412720
mov esi, eax
jmp 0x4125e0
cmp byte [edi + 0x65], 0
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x2c], ecx
jne 0x41275d
cmp dword [ecx + 0x14], 0
je case.0x41252c.1
mov edx, dword [ecx + 0x14]
mov ecx, edx
mov eax, dword [edi + 4]
and edx, 0x1f
shr ecx, 5
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
bts eax, edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov edx, dword [edx + 0x14]
mov dword [ecx + edx*8 + 4], eax
jmp 0x4125e0
mov ecx, dword [esi + 0x14]
mov eax, dword [edi + 4]
shr ecx, 5
lea edx, [eax + ecx*4]
mov ecx, dword [esi + 0x14]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
je 0x4125e0
mov ecx, dword [edi + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [edi]
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, edx
je 0x4125de
push dword [edi + 0x5c]
push edx
mov edx, dword [edi + 0x70]
push ecx
push dword [edi + 0x50]
lea ecx, [ebp - 0x38]
push eax
call fcn.004141a0
jmp 0x4125d4
push esi
mov ecx, edi
call fcn.00413990
mov edx, dword [ebp - 0x28]
test al, al
mov eax, 1
movzx ecx, dl
cmove ecx, eax
mov al, cl
mov dword [ebp - 0x28], eax
xor esi, esi
jmp case.0x41252c.1
mov eax, dword [esi + 8]
mov ecx, edi
shr eax, 1
and al, 1
push 0
movzx eax, al
push eax
push esi
call fcn.00413bd0
jmp 0x4127e3
mov edx, dword [esi + 0x14]
cmp dword [edx + 0x24], 0
jne case.0x41252c.12
mov ecx, dword [edx + 0x20]
mov eax, dword [edi + 0x40]
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
mov ecx, edi
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
call fcn.00413bd0
jmp 0x4127e3
test dword [edi + 0x60], 0x2020
je 0x41284d
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x41285a
cmp byte [edi + 0x74], 0
je 0x412866
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x412866
mov al, 1
xor esi, esi
mov dword [ebp - 0x28], eax
jmp case.0x41252c.1
cmp byte [edi + 0x64], 0
je 0x412877
mov ecx, edi
call fcn.00413ff0
test al, al
je 0x4128be
mov eax, dword [edi]
lea esi, [edi + 4]
lea edx, [edi + 0x24]
mov dword [edi + 0x20], eax
cmp edx, esi
je 0x41289f
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 2
push eax
push ecx
mov ecx, edx
call fcn.00414a60
mov eax, dword [esi + 0xc]
mov dword [edi + 0x30], eax
lea eax, [edi + 0x14]
lea ecx, [edi + 0x34]
cmp ecx, eax
je 0x4128ba
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 3
push eax
push edx
call fcn.00414920
mov byte [edi + 0x64], 1
mov eax, dword [ebp - 0x28]
xor esi, esi
jmp case.0x41252c.1
mov esi, dword [ebp - 0x2c]
jmp case.0x41252c.1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x28], 1
jmp 0x4125f9
push 0xd
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop
fild qword [eax]
inc ecx
add bl, ah
and eax, 0x25330041
inc ecx
add byte [eax + 0x25], ch
inc ecx
add byte [ebx + 0x25], bh
inc ecx
add byte [edx - 0x48ffbedb], dl
and eax, 0x26280041
inc ecx
add bl, ah
and eax, 0x25e30041
inc ecx
add byte [edx + 0x26], cl
inc ecx
add byte [edx + 0x26], cl
inc ecx
add al, bh
daa
inc ecx
add byte [eax], cl
daa
inc ecx
add byte [edi + 0x27], al
inc ecx
add byte [ecx - 0x24ffbed9], cl
daa
inc ecx
add bl, ah
and eax, 0x27ff0041
inc ecx
add byte [esi], dl
sub byte [ecx], al
jecxz 0x41295f
inc ecx
add byte [0x55004128], bh
push ebp