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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f02d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10092100]
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 0x1003a3fa
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 0x1003a342
test eax, eax
jne 0x1003a2fb
xor ecx, ecx
jmp 0x1003a309
push eax
call fcn.10037df0
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 0x1003a33f
test ecx, ecx
je 0x1003a32a
test edx, edx
je 0x1003a32a
push edx
push ebx
push ecx
call fcn.10047c20
add esp, 0xc
mov ecx, dword [ebp - 0x64]
xor al, al
mov edi, ebx
rep stosb byte es:[edi], al
push ebx
call fcn.10037e50
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 0x1003a373
test ebx, ebx
je 0x1003a392
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1003a392
test edi, edi
je 0x1003a392
push edi
push eax
push ebx
call fcn.10047c20
add esp, 0xc
jmp 0x1003a392
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.100481a0
xor ebx, ebx
add esp, 0xc
cmp dword [ebp - 0x54], ebx
jbe 0x1003a3dc
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 0x1003a3b0
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.10046592
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.1000a490
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.100021b0
push 0x10090fc4
lea eax, [ebp - 0x50]
push eax
call fcn.10047bab
int3