Function at 0x442424
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x44d2b0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
xor edx, edx
mov dword [esi], edx
mov esi, dword [edi + 0x1c]
lea ecx, [ebp - 0x2c]
mov dword [ecx], esi
mov dword [ebp - 0x28], esi
lock inc dword [esi + 4]
mov dword [eax + 8], edx
push 0x59c280
call fcn.00448c28
mov dword [ebp - 0x24], eax
mov bl, byte [ebp + 0x20]
xor eax, eax
dec eax
mov edi, dword [ebp - 0x28]
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x442382
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov edi, dword [ebp + 0x10]
movsx eax, bl
lea ecx, [eax - 0x41]
cmp ecx, 0x38
ja case.default.0x442397
mov esi, dword [ebp + 0x1c]
jmp dword [ecx*4 + 0x442ba8]
add esi, 0x10
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, esi
push dword [ebp - 0x24]
push dword [ebp + 0x18]
push edi
push eax
call fcn.00442146
jmp 0x4423de
add esi, 0x18
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, esi
push dword [ebp - 0x24]
push dword [ebp + 0x18]
push edi
push eax
call fcn.00441fc6
add esp, 0x10
jmp 0x442b5c
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 2
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
mov ecx, dword [edi]
lea edx, [eax - 1]
cmp edx, 0x1e
ja 0x44286d
mov edx, ecx
and edx, 4
jne 0x44286d
mov dword [esi + 0xc], eax
jmp 0x442b5c
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x442463
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x442438
movzx eax, word [eax]
jmp 0x442450
mov eax, dword [esi]
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
cmp ax, 0xffff
je 0x442463
xor ecx, ecx
mov ebx, 0
test edi, edi
jne 0x44246f
jmp 0x4424b3
test edi, edi
je 0x4428fa
mov cl, 1
xor esi, esi
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
mov dword [ebp - 0x28], edi
je 0x44247f
movzx eax, word [eax]
jmp 0x44249d
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x20], ecx
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov ecx, dword [ebp - 0x20]
xor ebx, ebx
cmp ax, 0xffff
sete al
je 0x4424ab
mov ebx, dword [ebp - 0x28]
cmp cl, al
je 0x4428e2
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ebx
je 0x4424cd
movzx edi, word [eax]
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4424e7
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov edi, eax
mov esi, dword [ebp - 0x24]
mov eax, dword [esi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
movzx eax, di
mov ecx, esi
push eax
push 8
call ebx
test al, al
je 0x4428dc
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
mov ebx, dword [ebp - 0x20]
je 0x442524
add eax, 2
mov dword [esi + 0xc], eax
mov edi, ebx
jmp 0x442427
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov edi, ebx
jmp 0x442427
cmp eax, 0x25
jne case.0x442397.67
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x442a04
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x4429d7
movzx eax, word [eax]
jmp 0x4429ef
lea edx, [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0x20]
push 0x57dd52
push 0x57dd42
jmp 0x442824
lea edx, [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0x20]
push 0x57dd62
push 0x57dd52
jmp 0x442824
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 2
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
mov ecx, dword [edi]
cmp eax, 0x17
jle 0x4425f4
jmp 0x44286d
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 2
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
mov ecx, dword [edi]
lea edx, [eax - 1]
cmp edx, 0xb
ja 0x44286d
mov edx, ecx
and edx, 4
jne 0x44286d
mov dword [esi + 8], eax
jmp 0x442b5c
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 2
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
mov ecx, dword [edi]
cmp eax, 0x3b
jg 0x44286d
mov edx, ecx
and edx, 4
jne 0x44286d
mov dword [esi + 4], eax
jmp 0x442b5c
lea edx, [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0x20]
push 0x57dd82
push 0x57dd78
jmp 0x442824
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 2
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
mov ecx, dword [edi]
cmp eax, 0x3c
jg 0x44286d
mov edx, ecx
and edx, 4
jne 0x44286d
mov dword [esi], eax
jmp 0x442b5c
lea edx, [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0x20]
push 0x57dd92
push 0x57dd82
jmp 0x442824
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 8]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 8]
mov ebx, dword [eax + 0x18]
jmp 0x44270b
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 4
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
test byte [edi], 4
jne 0x442b5c
add eax, 0xfffff894
mov dword [esi + 0x14], eax
jmp 0x442b5c
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 8]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [ebp - 0x24]
call ebx
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x44272c
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea ebx, [eax + ecx*2]
lea edx, [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
push ebx
push eax
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [edx]
jmp 0x44282d
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 3
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
mov ecx, dword [edi]
cmp eax, 0x16d
jg 0x44286d
mov edx, ecx
and edx, 4
jne 0x44286d
mov dword [esi + 0x1c], eax
jmp 0x442b5c
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 2
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
mov ecx, dword [edi]
dec eax
cmp eax, 0xb
ja 0x44286d
mov edx, ecx
and edx, 4
jne 0x44286d
mov dword [esi + 0x10], eax
jmp 0x442b5c
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
add ebx, 8
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, ebx
call dword [ebp - 0x28]
mov ebx, eax
movzx eax, byte [eax + 0xb]
test al, al
jns 0x4427ed
mov eax, dword [ebx + 4]
movzx ecx, byte [ebx + 0x17]
test cl, cl
jns 0x4427f8
mov ecx, dword [ebx + 0x10]
add eax, ecx
jne 0x442906
mov eax, dword [ebp + 0x18]
or byte [eax], 4
jmp 0x442b5c
lea edx, [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0x20]
push 0x57dd78
push 0x57dd62
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push eax
call fcn.00441870
add esp, 0x1c
jmp 0x442b5c
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp + 0xc]
mov edx, edi
push 1
push dword [ebp - 0x24]
mov edi, dword [ebp + 0x18]
push edi
call fcn.00442c8c
add esp, 0xc
mov ecx, dword [edi]
cmp eax, 6
jg 0x44286d
mov edx, ecx
and edx, 4
jne 0x44286d
mov dword [esi + 0x18], eax
jmp 0x442b5c
or ecx, 4
mov dword [edi], ecx
jmp 0x442b5c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, ebx
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp - 0x24]
mov esi, dword [ebp + 8]
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
jmp 0x442b6e
add esi, 0x14
mov dword [ebp - 0x10], 0xffffffff
lea edx, [ebp + 0xc]
mov ecx, esi
push dword [ebp - 0x24]
push dword [ebp + 0x18]
push edi
call fcn.004422b2
add esp, 0xc
jmp 0x442b5c
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
mov dword [ebp + 0xc], esi
test esi, esi
je 0x442973
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x442940
movzx eax, word [eax]
jmp 0x442958
mov dword [ebp + 0xc], 0
jmp 0x4429af
lea eax, [ebx + 0x18]
lea ecx, [ebp + 0xc]
mov edx, edi
push 0
push dword [ebp + 0x18]
push dword [ebp - 0x24]
push eax
push ebx
call fcn.00439a30
add esp, 0x14
mov ecx, dword [esi + 8]
sub eax, ebx
jne 0x4429ba
cmp ecx, 0xc
jne 0x4429ba
mov dword [esi + 8], 0
jmp 0x442b5c
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
cmp ax, 0xffff
je 0x44296c
test ebx, ebx
je 0x442b5c
mov edi, ebx
xor ebx, ebx
jmp 0x44297b
mov dword [ebp + 0xc], 0
mov edi, ebx
mov bl, 1
test edi, edi
je 0x4429af
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x442988
movzx eax, word [eax]
jmp 0x4429a0
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp ax, 0xffff
sete al
xor bl, al
jne 0x442b5c
mov eax, dword [ebp + 0x18]
or byte [eax], 2
jmp 0x442b5c
cmp eax, 0xc
jne 0x442b5c
cmp ecx, 0xb
jg 0x442b5c
add ecx, 0xc
mov dword [esi + 8], ecx
jmp 0x442b5c
mov eax, dword [esi]
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
cmp ax, 0xffff
je 0x4429fd
xor edx, edx
test edi, edi
jne 0x442a0c
jmp 0x442a52
mov dword [ebp + 0xc], 0
test edi, edi
je 0x442a6d
mov dl, 1
xor esi, esi
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x442a19
movzx eax, word [eax]
jmp 0x442a37
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
mov dword [ebp - 0x28], edx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov edx, dword [ebp - 0x28]
xor ecx, ecx
cmp ax, 0xffff
cmove edi, ecx
sete al
mov ecx, 6
cmp dl, al
mov edx, edi
je 0x442b57
mov dword [ebp - 0x28], edx
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x442a77
movzx eax, word [eax]
mov word [ebp - 0x20], ax
mov dword [ebp - 0x10], 0xffffffff
jmp 0x442a93
mov ecx, 6
jmp 0x442b57
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov word [ebp - 0x20], ax
mov edi, dword [ebp - 0x24]
mov eax, dword [edi]
mov ebx, dword [eax + 0x34]
mov ecx, ebx
call dword [section..00cfg]
movzx eax, word [ebp - 0x20]
mov ecx, edi
push 0
push eax
call ebx
mov ecx, 4
cmp al, 0x25
mov edi, dword [ebp - 0x28]
jne 0x442b57
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x442ace
add eax, 2
mov dword [esi + 0xc], eax
jmp 0x442ae2
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov edi, dword [ebp - 0x28]
test esi, esi
je 0x442b1c
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x442af3
movzx eax, word [eax]
jmp 0x442b07
mov eax, dword [esi]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov edi, dword [ebp - 0x28]
cmp ax, 0xffff
je 0x442b15
test edi, edi
je 0x442b5c
xor ebx, ebx
jmp 0x442b22
mov dword [ebp + 0xc], 0
mov bl, 1
test edi, edi
je 0x442b52
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x442b2f
movzx eax, word [eax]
jmp 0x442b40
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp ax, 0xffff
sete al
xor bl, al
mov ecx, 2
je 0x442b57
jmp 0x442b5c
mov ecx, 2
mov eax, dword [ebp + 0x18]
or dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0x20