Function at 0x471bb4
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
lea eax, [ebp - 0xc8]
xor ecx, ecx
mov edx, 0x80
call fcn.00403114
lea eax, [ebp - 0x248]
xor ecx, ecx
mov edx, 0x40
call fcn.00403114
mov eax, dword [ebp - 0xc]
call fcn.00404b8c
cmp eax, 0x40
jle 0x471c17
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
call fcn.00469f34
lea edx, [ebp - 0x248]
mov eax, dword [ebp + 8]
mov ecx, 0x14
call fcn.00402a48
jmp 0x471c34
mov eax, dword [ebp - 0xc]
call fcn.00404b8c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d84
lea edx, [ebp - 0x248]
pop ecx
call fcn.00402a48
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 0x471c39
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 0x471cc4
mov eax, 0x78
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x471ccf
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.00402a48
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, 3
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x44]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0xc8], al
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jne 0x471d04
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, 3
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x44]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x10]
add edx, 4
add edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0xc8], al
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jne 0x471d36
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x471d83
lea edx, [ebp - 0x208]
lea eax, [ebp - 0x288]
mov ecx, 0x40
call fcn.00402a48
jmp 0x471ddf
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
ja 0x471da6
lea edx, [ebp - 0x208]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
sub eax, 0x40
mov ecx, 0x40
call fcn.00402a48
jmp 0x471ddf
mov eax, dword [ebp - 8]
add eax, 0x40
cmp eax, dword [ebp - 0x14]
jb 0x471dc9
lea edx, [ebp - 0x208]
lea eax, [ebp - 0xc8]
mov ecx, 0x40
call fcn.00402a48
jmp 0x471ddf
lea edx, [ebp - 0x208]
lea eax, [ebp - 0x88]
mov ecx, 0x40
call fcn.00402a48
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x208]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
shl eax, 0x18
mov edx, dword [ebp - 0x44]
movzx edx, byte [edx + 1]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 0x44]
movzx edx, byte [edx + 2]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x44]
movzx edx, byte [edx + 3]
or eax, edx
mov edx, dword [ebp - 0x18]
mov dword [ebp + edx*4 - 0x208], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x10
jne 0x471de4
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 0x471e35
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.00469dc4
add dword [ebp - 0x14], 0x40
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
add eax, 0x48
cmp eax, dword [ebp - 0x14]
jne 0x471d65
lea eax, [ebp - 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 3]
mov byte [eax], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 2]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 1]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx]
mov byte [eax + 3], dl
lea eax, [ebp - 0x24]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 3]
mov byte [eax], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 2]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 1]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx]
mov byte [eax + 3], dl
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 3]
mov byte [eax], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 2]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 1]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx]
mov byte [eax + 3], dl
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 3]
mov byte [eax], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 2]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 1]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx]
mov byte [eax + 3], dl
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], eax
add dword [ebp - 0x48], 4
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 3]
mov byte [eax], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 2]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx + 1]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov dl, byte [edx]
mov byte [eax + 3], dl
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2dc]
mov edx, 0x54
call fcn.00469f60
mov esp, ebp
pop ebp
ret 4