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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100979dd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100c29e4]
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 0x1002fc5a
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 0x1002fba2
test eax, eax
jne 0x1002fb5b
xor ecx, ecx
jmp 0x1002fb69
push eax
call fcn.1001c110
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 0x1002fb9f
test ecx, ecx
je 0x1002fb8a
test edx, edx
je 0x1002fb8a
push edx
push ebx
push ecx
call fcn.10067550
add esp, 0xc
mov ecx, dword [ebp - 0x64]
xor al, al
mov edi, ebx
rep stosb byte es:[edi], al
push ebx
call fcn.1001c170
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 0x1002fbd3
test ebx, ebx
je 0x1002fbf2
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1002fbf2
test edi, edi
je 0x1002fbf2
push edi
push eax
push ebx
call fcn.10067550
add esp, 0xc
jmp 0x1002fbf2
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.10067ad0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x54], ebx
jbe 0x1002fc3c
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 [eax + ebx]
xor al, 0x5c
mov byte [ecx + ebx], al
mov eax, dword [esi + 0x14]
xor byte [eax + ebx], 0x36
inc ebx
cmp ebx, dword [ebp - 0x54]
jb 0x1002fc10
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.10065d4c
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.1000dbd0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.1000e440
push 0x100b6df4
lea eax, [ebp - 0x50]
push eax
call fcn.1006712e
int3