Function at 0x431e30
Capabilities:
Encrypt data using rc4 prga
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], 0xc3d2e1f0
mov dword [esp + 0x14], 0x10325476
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 8], 0x67452301
cmp ebp, 0x40
jae 0x431e70
mov ecx, eax
jmp 0x431eed
mov edi, ebp
shr edi, 6
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebp + esi]
mov dword [esp + esi + 0x20], eax
movzx ecx, byte [ebp + esi + 1]
shl ecx, 8
or ecx, eax
mov dword [esp + esi + 0x20], ecx
movzx eax, byte [ebp + esi + 2]
shl eax, 0x10
or eax, ecx
mov dword [esp + esi + 0x20], eax
movzx ecx, byte [ebp + esi + 3]
shl ecx, 0x18
or ecx, eax
mov dword [esp + esi + 0x20], ecx
add esi, 4
cmp esi, 0x40
jne 0x431e90
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00434930
add esp, 8
inc ebx
lea eax, [esi + ebp]
cmp ebx, edi
jne 0x431e80
add ebp, esi
mov ecx, ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov eax, ebp
and eax, 0x3f
mov dword [esp], eax
je 0x43201d
mov edx, ebp
and edx, 1
xor eax, eax
cmp dword [esp], 1
je 0x431ff9
mov dword [esp + 0x1c], edx
sub dword [esp], edx
xor ebx, ebx
xor eax, eax
mov dword [esp + 4], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
movzx edi, byte [ecx + eax]
mov ebp, eax
and ebp, 0xfffffffc
mov ecx, ebx
and cl, 0x10
shl edi, cl
mov edx, dword [esp + ebp + 0x20]
lea esi, [edi + edx]
and edi, edx
add edi, edi
sub esi, edi
mov dword [esp + ebp + 0x20], esi
mov edx, dword [esp + 4]
movzx edx, byte [edx + eax + 1]
or cl, 8
shl edx, cl
lea ecx, [edx + esi]
and edx, esi
add edx, edx
sub ecx, edx
mov dword [esp + ebp + 0x20], ecx
add eax, 2
add ebx, 0x10
cmp dword [esp], eax
jne 0x431fa0
mov ecx, dword [esp + 4]
add ecx, eax
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x43201d
movzx esi, byte [ecx]
mov edx, eax
and edx, 0xfffffffc
mov edi, dword [esp + edx + 0x20]
shl eax, 3
mov ecx, eax
shl esi, cl
lea eax, [esi + edi]
and esi, edi
add esi, esi
sub eax, esi
mov dword [esp + edx + 0x20], eax
lea ebx, [ebp*8]
mov ecx, ebx
and cl, 0x18
or cl, 7
mov eax, 1
shl eax, cl
mov esi, dword [esp + 0x7c]
mov ecx, ebp
and ecx, 0x3c
xor dword [esp + ecx + 0x20], eax
mov eax, ebp
not eax
or eax, 0x3f
add eax, ebp
inc eax
cmp eax, 0x37
jbe 0x432075
lea edi, [esp + 0x20]
lea eax, [esp + 8]
push edi
push eax
call fcn.00434930
add esp, 8
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea edi, [esp + 0x60]
xor eax, eax
xor ecx, ecx
rep stosw word es:[edi], ax
mov dword [esp + 0x58], ebx
shr ebp, 0x1d
mov dword [esp + 0x5c], ebp
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00434930
add esp, 8
mov eax, dword [esp + 8]
mov dword [esi], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret