Function at 0x448480
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x50
mov eax, dword [edx + 8]
cmp eax, 3
ja case.0x448493.0
jmp dword [eax*4 + 0x448cd0]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
cmp ecx, 3
ja case.0x4484aa.0
jmp dword [ecx*4 + 0x448ce0]
cmp byte [esp + 0x6c], 0
je 0x4484e1
push dword [esp + 0x68]
lea ecx, [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0x68]
push eax
push edx
call fcn.004496f0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x34]
push eax
call fcn.00437c20
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push eax
call fcn.00438430
add esp, 0x50
ret
cmp byte [esp + 0x6c], 0
je 0x448544
push dword [esp + 0x68]
lea ecx, [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0x68]
push eax
push edx
call fcn.004496f0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x34]
push eax
call fcn.00439bb0
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push eax
call fcn.0043a2e0
add esp, 0x50
ret
cmp byte [esp + 0x6c], 0
je 0x4485a7
push dword [esp + 0x68]
lea ecx, [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0x68]
push eax
push edx
call fcn.004496f0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x34]
push eax
call fcn.00438c40
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push eax
call fcn.00439410
add esp, 0x50
ret
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
cmp ecx, 3
ja case.0x4485ea.0
jmp dword [ecx*4 + 0x448cf0]
cmp byte [esp + 0x6c], 0
je 0x448621
push dword [esp + 0x68]
lea ecx, [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0x68]
push eax
push edx
call fcn.004496f0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x34]
push eax
call fcn.0043cb70
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push eax
call fcn.0043d290
add esp, 0x50
ret
cmp byte [esp + 0x6c], 0
je 0x448684
push dword [esp + 0x68]
lea ecx, [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0x68]
push eax
push edx
call fcn.004496f0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x34]
push eax
call fcn.0043be60
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push eax
call fcn.0043c4b0
add esp, 0x50
ret
cmp byte [esp + 0x6c], 0
je 0x4486e7
push dword [esp + 0x68]
lea ecx, [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0x68]
push eax
push edx
call fcn.004496f0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x34]
push eax
call fcn.0043d980
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
push eax
call fcn.0043e050
add esp, 0x50
ret
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.0x44872e.0
jmp dword [eax*4 + 0x448d00]
cmp byte [esp + 0x7c], 0
je 0x4488b2
push dword [esp + 0x78]
lea ecx, [esp + 0x48]
push dword [esp + 0x78]
push dword [esp + 0x78]
push ebp
push edx
call fcn.004496f0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
shl eax, 4
add eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
cmp ecx, eax
je 0x448cc5
mov ebp, dword [esp + 0x48]
nop word [eax + eax]
mov ebx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx]
add eax, ebx
mov esi, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], eax
cmp ebx, eax
jge 0x448899
mov eax, edx
sub eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, ebx
sub eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
nop dword [eax]
cdq
mov edi, esi
idiv dword [ebp + 0x18]
mov ecx, edx
mov edx, dword [esp + 0x44]
imul ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
mov esi, eax
imul esi, dword [esp + 0x24]
add ecx, dword [ebp]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
add esi, eax
add esi, dword [edx]
cmp dword [esp + 0x4c], 0xfe
jge 0x448840
nop dword [eax]
mov eax, ebx
dec edi
cdq
inc ebx
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
imul eax, edx
movzx edx, byte [eax + ecx + 3]
mov ecx, 0x100
mov eax, dword [esp + 0x4c]
inc eax
imul edx, eax
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
add esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
test edi, edi
jg 0x448800
jmp 0x448875
mov eax, ebx
dec edi
cdq
inc ebx
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
imul eax, edx
mov dl, byte [eax + ecx + 3]
mov ecx, 0x100
movzx eax, dl
sub ecx, eax
movzx eax, byte [esi]
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
add esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
test edi, edi
jg 0x448840
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ebx
mov esi, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
cmp ebx, dword [esp + 0x28]
jl 0x4487c0
mov ecx, dword [esp + 0x1c]
add ecx, 0x10
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x30]
jne 0x448780
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
inc eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebp
call fcn.0043b270
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp byte [esp + 0x7c], 0
mov esi, dword [esp + 0x64]
je 0x4489d2
push dword [esp + 0x78]
lea ecx, [esp + 0x48]
push dword [esp + 0x78]
push dword [esp + 0x78]
push ebp
push edx
call fcn.004496f0
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
shl ecx, 4
add ecx, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], ecx
cmp eax, ecx
je 0x448cc5
nop word [eax + eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
add ecx, ebp
mov edx, dword [eax + 8]
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
cmp ebp, ecx
jge 0x4489b9
mov ebx, dword [esp + 0x44]
mov esi, dword [ebx + 0x10]
mov eax, esi
mov ecx, dword [ebx + 0xc]
imul eax, edi
imul ecx, ebp
add eax, ecx
mov ecx, dword [esp + 0x4c]
add eax, dword [ebx]
cmp ecx, 0xfe
jge 0x4489a0
inc ecx
mov edi, 0x100
imul ebx, ecx, 0xff
shr ebx, 8
sub edi, ebx
movzx ecx, byte [eax]
dec edx
imul ecx, edi
sar ecx, 8
add cl, bl
mov byte [eax], cl
add eax, esi
test edx, edx
jg 0x448980
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
jmp 0x4489aa
mov byte [eax], 0xff
dec edx
add eax, esi
test edx, edx
jg 0x4489a0
mov edx, dword [esp + 0x28]
inc ebp
cmp ebp, dword [esp + 0x2c]
jl 0x448951
mov eax, dword [esp + 0x68]
add eax, 0x10
mov dword [esp + 0x68], eax
cmp eax, dword [esp + 0x24]
jne 0x448930
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x10]
inc eax
shl ecx, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
add ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x448cc5
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
add ecx, ebx
mov edx, dword [eax + 8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ecx
cmp ebx, ecx
jge 0x448aef
mov eax, esi
sub eax, dword [esp + 0x74]
mov dword [esp + 0x28], eax
mov eax, ebx
sub eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
nop
mov edi, dword [ebp + 0xc]
imul edi, eax
mov eax, dword [esp + 0x68]
mov esi, dword [eax + 0x10]
mov ecx, esi
mov eax, dword [eax + 0xc]
imul ecx, dword [esp + 0x30]
add edi, dword [ebp]
imul eax, ebx
add ecx, eax
mov eax, dword [esp + 0x68]
add ecx, dword [eax]
mov eax, dword [esp + 0x2c]
cmp eax, 0xfe
jge 0x448a8b
inc eax
mov edi, 0x100
imul ebx, eax, 0xff
shr ebx, 8
sub edi, ebx
movzx eax, byte [ecx]
dec edx
imul eax, edi
sar eax, 8
add al, bl
mov byte [ecx], al
add ecx, esi
test edx, edx
jg 0x448a71
mov ebx, dword [esp + 0x10]
jmp 0x448acf
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
cmp esi, edx
jne 0x448ac5
cmp dword [ebp + 8], 1
jne 0x448ac5
mov ebx, dword [esp + 0x68]
cmp dword [ebx + 8], 1
mov ebx, dword [esp + 0x10]
jne 0x448ac5
mov eax, edx
imul edx, dword [esp + 0x28]
imul eax, dword [esp + 0x14]
add edx, edi
push eax
push edx
push ecx
call fcn.005135c0
add esp, 0xc
jmp 0x448acf
mov byte [ecx], 0xff
dec eax
add ecx, esi
test eax, eax
jg 0x448ac5
mov eax, dword [esp + 0x1c]
inc ebx
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], eax
cmp ebx, dword [esp + 0x24]
jl 0x448a30
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jne 0x4489f6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x70]
inc eax
cmp byte [esp + 0x7c], 0
mov dword [esp + 0x1c], eax
je 0x448c9b
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x74]
cdq
idiv ecx
test edx, edx
lea eax, [edx + ecx]
cmovns eax, edx
sub eax, ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
cdq
idiv ecx
test edx, edx
lea eax, [edx + ecx]
cmovns eax, edx
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
shl eax, 4
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], eax
cmp ecx, eax
je 0x448cc5
nop dword [eax + eax]
mov ebx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx]
add eax, ebx
mov edi, dword [ecx + 8]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], eax
cmp ebx, eax
jge 0x448c82
mov eax, esi
sub eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, ebx
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
nop dword [eax]
cdq
idiv dword [ebp + 0x18]
mov ecx, edx
mov edx, dword [esp + 0x68]
imul ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
imul esi, eax
add ecx, dword [ebp]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0xc]
imul eax, ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
add esi, eax
add esi, dword [edx]
cmp dword [esp + 0x1c], 0xfe
jge 0x448c26
mov eax, ebx
dec edi
cdq
inc ebx
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
imul eax, edx
movzx edx, byte [eax + ecx]
mov ecx, 0x100
mov eax, dword [esp + 0x1c]
inc eax
imul edx, eax
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
add esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test edi, edi
jg 0x448be7
jmp 0x448c5a
mov eax, ebx
dec edi
cdq
inc ebx
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
imul eax, edx
mov dl, byte [eax + ecx]
mov ecx, 0x100
movzx eax, dl
sub ecx, eax
movzx eax, byte [esi]
imul ecx, eax
sar ecx, 8
add cl, dl
mov byte [esi], cl
add esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test edi, edi
jg 0x448c26
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc ebx
mov esi, dword [esp + 0x38]
inc eax
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
cmp ebx, dword [esp + 0x34]
jl 0x448bb0
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x40]
jne 0x448b70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebp
call fcn.0043ab00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret