Function at 0x452220
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b85bd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x4523ba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov edi, eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x3c]
mov ebx, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x24]
mov edi, eax
mov ecx, ebx
mov eax, dword [ebx]
add edi, edi
call dword [eax + 0x20]
mov ebx, dword [esi + 0x14]
add eax, edi
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x64], edi
cmp edi, eax
je 0x452302
test eax, eax
jne 0x4522bb
xor ecx, ecx
jmp 0x4522c9
push eax
call fcn.00440c30
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x58]
cmp eax, edi
mov dword [ebp - 0x5c], ecx
mov edx, edi
cmovb edx, eax
test ebx, ebx
je 0x4522ff
test ecx, ecx
je 0x4522ea
test edx, edx
je 0x4522ea
push edx
push ebx
push ecx
call fcn.00479d20
add esp, 0xc
mov ecx, dword [ebp - 0x64]
xor al, al
mov edi, ebx
rep stosb byte es:[edi], al
push ebx
call fcn.00440c90
mov eax, dword [ebp - 0x58]
add esp, 4
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x68]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0xffffffff
cmp edi, dword [ebp - 0x54]
ja 0x452333
test ebx, ebx
je 0x452352
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x452352
test edi, edi
je 0x452352
push edi
push eax
push ebx
call fcn.00479d20
add esp, 0xc
jmp 0x452352
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
push edi
push dword [ebp - 0x60]
mov ecx, eax
mov edx, dword [eax]
push dword [esi + 0x14]
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, eax
mov ecx, dword [ebp - 0x54]
sub ecx, edi
push ecx
mov ecx, dword [esi + 0x14]
add ecx, edi
push 0
push ecx
call fcn.0047a2a0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x54], ebx
jbe 0x45239c
nop
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov edi, dword [esi + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
lea ecx, [eax + edi]
mov eax, dword [esi + 0x14]
mov al, byte [ebx + eax]
xor al, 0x5c
mov byte [ecx + ebx], al
mov eax, dword [esi + 0x14]
xor byte [ebx + eax], 0x36
inc ebx
cmp ebx, dword [ebp - 0x54]
jb 0x452370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045c4df
mov esp, ebp
pop ebp
ret 0xc
push str.HMAC:_can_only_be_used_with_a_block_based_hash_function
lea ecx, [ebp - 0x28]
call fcn.00401b10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.00402820
push 0x4e4adc
lea eax, [ebp - 0x50]
push eax
call fcn.00479ca6
int3