Function at 0x4b1704
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd24
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404ab0
xor eax, eax
push ebp
push 0x4b1b76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc8]
xor ecx, ecx
mov edx, 0x80
call fcn.004031b8
lea eax, [ebp - 0x248]
xor ecx, ecx
mov edx, 0x40
call fcn.004031b8
mov eax, dword [ebp - 0xc]
call fcn.004048c0
cmp eax, 0x40
jle 0x4b177d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
call fcn.004b0b0c
lea edx, [ebp - 0x248]
mov eax, dword [ebp + 8]
mov ecx, 0x14
call fcn.00402d34
jmp 0x4b179a
mov eax, dword [ebp - 0xc]
call fcn.004048c0
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ac0
lea edx, [ebp - 0x248]
pop ecx
call fcn.00402d34
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov al, byte [ebp + eax - 0x248]
xor al, 0x36
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x288], al
mov eax, dword [ebp - 0x14]
mov al, byte [ebp + eax - 0x248]
xor al, 0x5c
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x2dc], al
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x40
jne 0x4b179f
mov dword [ebp - 0x20], 0x67452301
mov dword [ebp - 0x24], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
mov dword [ebp - 0x30], 0xc3d2e1f0
mov eax, dword [ebp - 8]
add eax, 0x40
shl eax, 3
xor edx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 8]
and eax, 0x3f
mov dword [ebp - 0x10], eax
mov eax, 0x38
sub eax, dword [ebp - 0x10]
test eax, eax
jg 0x4b182a
mov eax, 0x78
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x4b1835
mov eax, 0x38
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0xc8], 0x80
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.00402d34
lea eax, [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x10]
lea eax, [ebp + eax - 0xc8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x48]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov edx, dword [ebp - 0x48]
mov byte [edx + 3], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x48]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov edx, dword [ebp - 0x48]
mov byte [edx + 3], al
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b18fe
lea edx, [ebp - 0x208]
lea eax, [ebp - 0x288]
mov ecx, 0x40
call fcn.00402d34
jmp 0x4b195a
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
ja 0x4b1921
lea edx, [ebp - 0x208]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
sub eax, 0x40
mov ecx, 0x40
call fcn.00402d34
jmp 0x4b195a
mov eax, dword [ebp - 8]
add eax, 0x40
cmp eax, dword [ebp - 0x14]
jb 0x4b1944
lea edx, [ebp - 0x208]
lea eax, [ebp - 0xc8]
mov ecx, 0x40
call fcn.00402d34
jmp 0x4b195a
lea edx, [ebp - 0x208]
lea eax, [ebp - 0x88]
mov ecx, 0x40
call fcn.00402d34
lea eax, [ebp - 0x208]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x48]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov edx, dword [ebp - 0x48]
mov byte [edx + 3], al
add dword [ebp - 0x48], 4
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x10
jne 0x4b1968
mov dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x214]
mov edx, dword [ebp - 0x18]
xor eax, dword [ebp + edx*4 - 0x228]
mov edx, dword [ebp - 0x18]
xor eax, dword [ebp + edx*4 - 0x240]
mov edx, dword [ebp - 0x18]
xor eax, dword [ebp + edx*4 - 0x248]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, eax
mov edx, dword [ebp - 0x34]
shr edx, 0x1f
or eax, edx
mov edx, dword [ebp - 0x18]
mov dword [ebp + edx*4 - 0x208], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x50
jne 0x4b19b2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x208]
call fcn.004b099c
add dword [ebp - 0x14], 0x40
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
add eax, 0x48
cmp eax, dword [ebp - 0x14]
jne 0x4b18e0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x48]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov edx, dword [ebp - 0x48]
mov byte [edx + 3], al
lea eax, [ebp - 0x24]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x48]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov edx, dword [ebp - 0x48]
mov byte [edx + 3], al
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x48]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov edx, dword [ebp - 0x48]
mov byte [edx + 3], al
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x48]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov edx, dword [ebp - 0x48]
mov byte [edx + 3], al
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 3]
mov edx, dword [ebp - 0x48]
mov byte [edx], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 2]
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x48]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
mov edx, dword [ebp - 0x48]
mov byte [edx + 3], al
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2dc]
mov edx, 0x54
call fcn.004b0b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1b7d
lea eax, [ebp - 0xc]
call fcn.00404600
ret