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

Disassembly:
sub esp, 0x90
xor edx, edx
mov word [esp + 0x30], dx
mov eax, 1
mov word [esp + 0x32], ax
push ebx
mov word [esp + 0x3a], dx
push esi
mov word [esp + 0x40], dx
push edi
push ebp
mov ecx, 2
mov word [esp + 0x4a], cx
mov word [esp + 0x44], cx
cmp dword [0x4b199c], edx
mov word [esp + 0x4c], ax
mov word [esp + 0x4e], dx
jne 0x43b6dc
mov edi, 0x500fb8
mov ecx, 0x100
mov dword [0x4b199c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, 0x501c00
mov eax, 0xffffffff
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x24], eax
mov ecx, dword [eax + 8]
and ecx, 0x1f0000
shr ecx, 0x10
mov eax, dword [ecx*4 + 0x676608]
test eax, eax
je 0x43b33d
mov ecx, eax
mov eax, ecx
push ecx
shl eax, 6
add eax, ecx
lea eax, [ecx + eax*2]
shl eax, 5
add eax, 0x653620
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.004388a0
mov ecx, dword [esi + 0x14]
add esp, 8
test ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jle 0x43b6c5
mov dword [esp + 0x2c], 0x4da028
mov dword [esp + 0x10], 0x4daa48
mov ebp, 0x4de32c
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
and eax, 0xfdffffff
cmp eax, 0x34000609
jne 0x43b694
mov eax, dword [ebp]
mov ecx, dword [0x4cfd38]
push eax
call fcn.0047db10
mov eax, dword [esp + 0x10]
mov dword [ebp], 0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov ebx, dword [esp + 0x1c]
call dword [ebx]
mov ecx, dword [esp + 0x10]
push 3
push 2
push 3
call dword [ebx + 4]
mov ecx, dword [esp + 0x10]
push 0
push 0
call dword [ebx + 0x18]
mov edi, dword [esp + 0x24]
add edi, 4
mov dword [esp + 0x28], 0
mov esi, dword [edi]
mov eax, dword [esp + 0x20]
shr esi, 0x10
mov eax, dword [eax + 0x1e0]
mov edx, esi
dec eax
sar esi, 6
and edx, 0x3f
shl edx, 4
test eax, eax
jle 0x43b436
mov ecx, dword [esp + 0x20]
add ecx, 0x28
cmp dword [ecx], edx
je 0x43b436
cmp dword [ecx + 4], esi
je 0x43b436
add ecx, 0x3c
inc dword [esp + 0x28]
cmp dword [esp + 0x28], eax
jl 0x43b420
lea ebx, [esp + 0x5c]
mov eax, dword [esp + 0x28]
shl eax, 2
mov dword [esp + 0x30], 0
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
lea edx, [ecx + ecx*4]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x50]
shr eax, 0x10
add ebx, 8
add edi, 4
lea esi, [ecx + eax*8]
movsx eax, word [esi]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x74]
movsx ecx, word [esi + 2]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
fild dword [esp + 0x14]
add ecx, dword [esp + 0x54]
fchs
fstp dword [esp + 0x78]
movsx edx, word [esi + 4]
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x90], 0x3f800000
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fstp dword [esp + 0x7c]
movsx edx, word [ecx + 0x1a]
mov eax, dword [edi - 4]
and eax, 0xff
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], 0
fild qword [esp + 0x14]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x74]
push edx
fidiv dword [esp + 0x18]
fstp dword [esp + 0x9c]
movsx ecx, word [ecx + 0x1c]
mov al, byte [edi - 3]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
mov ecx, dword [esp + 0x18]
fidiv dword [esp + 0x1c]
fstp dword [esp + 0xa4]
call dword [esp + 0x60]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebx - 8], ecx
inc dword [esp + 0x30]
mov dword [ebx - 4], eax
lea eax, [esp + 0x74]
cmp ebx, eax
jb 0x43b45e
movsx ecx, word [esp + 0x64]
movsx eax, word [esp + 0x6c]
add ecx, eax
mov esi, 3
movsx eax, word [esp + 0x5c]
add eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
idiv esi
mov word [ecx], ax
movsx ecx, word [esp + 0x5e]
movsx eax, word [esp + 0x66]
add ecx, eax
movsx eax, word [esp + 0x6e]
add eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
idiv esi
mov word [ecx + 2], ax
movsx ecx, word [esp + 0x70]
movsx eax, word [esp + 0x60]
add ecx, eax
movsx eax, word [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
idiv esi
mov word [ecx + 4], ax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
mov esi, dword [eax + 0x14]
push ecx
push 0
mov ecx, dword [esp + 0x18]
call esi
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x10]
push eax
push 1
call esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
call dword [eax + 0x1c]
mov eax, dword [esp + 0x10]
push 0
mov dword [ebp - 0x50], 0x90
mov dword [ebp + 0x2c], 2
push eax
mov ecx, dword [0x4cfd38]
call fcn.0047d840
mov dword [ebp], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + eax*4 + 0x1ec]
lea ecx, [ebp + 8]
mov dword [ebp + 4], edx
mov dword [ebp - 0xc], 0x3f800000
mov dword [ebp - 8], 0x3f800000
mov dword [ebp - 4], 0x3f800000
mov dword [ecx], 0x3f800000
mov dword [ebp + 0xc], 0x3f800000
mov dword [ebp + 0x10], 0x3f800000
lea edx, [ebp + 0x18]
mov eax, dword [ecx]
mov dword [edx], eax
lea edi, [ebp + 0x83ac]
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
lea esi, [ebp - 0x54]
mov eax, dword [ecx + 0xc]
add ebp, 0x84
mov ecx, 0x21
mov dword [edx + 0xc], eax
rep movsd dword es:[edi], dword [esi]
add dword [esp + 0x2c], 8
add dword [esp + 0x10], 0x38
inc dword [esp + 0x3c]
cmp dword [esp + 0x10], 0x4de248
jae 0x43b6c5
mov eax, dword [esp + 0x24]
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
and eax, 0xff00
shr eax, 6
add eax, 4
add dword [esp + 0x24], eax
cmp dword [esp + 0x38], ecx
jg 0x43b395
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa4]
mov dword [0x4b1998], eax
mov dword [ecx + 0x10], 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret