Function at 0x437cd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x408f80
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov edi, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [edi + 4], 1
jne 0x437d75
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
movzx eax, word [ebp + 0x14]
mov ecx, esi
push dword [ebp - 0x20]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x437d63
mov edx, dword [ebp - 0x34]
shr dl, 7
mov eax, ecx
mov ecx, edx
mov esi, dword [ebp + 8]
mov dword [esi], ebx
test cl, cl
je 0x437d58
push eax
call fcn.0040b630
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
shr cl, 7
mov ebx, dword [ebp + 0xc]
jmp 0x437d46
lea esi, [ebp - 0x2c]
mov ecx, edi
push esi
call fcn.0040a530
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x456e54
call fcn.0040b090
mov esi, eax
mov edi, dword [ebp - 0x2c]
xor ebx, ebx
dec ebx
mov eax, ebx
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x437dc0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, edi
call dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [esi]
mov cl, byte [ebp + 0x18]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea ebx, [ebp - 0x2c]
push ebx
call edi
movzx ecx, byte [ebp - 0x21]
mov esi, ecx
and esi, 0x7f
test cl, cl
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
cmovs esi, edi
test esi, esi
je 0x437d6d
mov edx, edi
mov dword [ebp - 0x34], ecx
test cl, cl
mov ecx, eax
cmovs ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 0xc]
mov eax, edi
jmp 0x437e82
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], eax
mov eax, ecx
mov ecx, dword [ebp - 0x34]
jmp 0x437e50
lea ecx, [eax + 2]
mov dword [ebx + 0x18], ecx
mov word [eax], si
xor edi, edi
cmp si, 0xffff
je 0x437e41
mov edi, ebx
mov cl, byte [ebp - 0x21]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], edi
mov edx, dword [ebp - 0x20]
add edx, 2
mov ebx, ecx
and bl, 0x7f
mov dword [ebp - 0x34], ecx
test cl, cl
lea esi, [ebp - 0x2c]
mov ecx, eax
cmovs esi, eax
movzx edi, bl
mov eax, dword [ebp - 0x38]
cmovs edi, eax
lea esi, [esi + edi*2]
mov dword [ebp - 0x20], edx
cmp edx, esi
mov ebx, dword [ebp - 0x30]
je 0x437d3c
test ebx, ebx
je 0x437e1d
mov eax, dword [ebp - 0x20]
movzx esi, word [eax]
mov eax, dword [ebx + 0x18]
cmp eax, dword [ebx + 0x1c]
jne 0x437e2e
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
movzx eax, si
mov dword [ebp - 0x30], ebx
mov ecx, ebx
push eax
call edi
mov esi, eax
mov ebx, dword [ebp - 0x30]
jmp 0x437e37