Function at 0x1266f70
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov dword [ebp - 0x14], 0x40
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
cmp eax, 0x20
jbe 0x1266f98
xor eax, eax
jmp 0x12671ce
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.01237a7c
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0127b8e0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jbe 0x1267015
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0125da50
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.01266d40
add esp, 0x14
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
push 0
lea ecx, [ebp - 0x10]
call fcn.0125da50
mov esi, eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
call edx
add esi, eax
push esi
call fcn.0123e420
add esp, 0xc
jmp 0x126704b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0125da50
push eax
call fcn.0123c600
add esp, 0xc
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp + 0x10]
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.0125da50
add eax, dword [ebp + 0x10]
push eax
call fcn.0123e420
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call fcn.01237a7c
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 4]
call fcn.0127b8e0
mov edx, dword [ebp - 0x14]
push edx
call fcn.01237a7c
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
call fcn.0127b8e0
mov dword [ebp - 0x18], 0
jmp 0x1267093
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x12670dd
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0128ef50
movzx ebx, byte [eax]
xor ebx, 0x5c
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 4]
call fcn.0128ef50
mov byte [eax], bl
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.0128ef50
movzx ebx, byte [eax]
xor ebx, 0x36
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.0128ef50
mov byte [eax], bl
jmp 0x126708a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
call fcn.01237a7c
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0127b8e0
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 8]
call fcn.0125da50
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
lea ecx, [ebp - 0xc]
call fcn.0125da50
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 4]
call fcn.0125da50
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push eax
lea ecx, [ebp - 0xc]
call fcn.0125da50
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0xc]
call fcn.012924d0
lea ecx, [ebp - 8]
call fcn.012924d0
lea ecx, [ebp - 4]
call fcn.012924d0
lea ecx, [ebp - 0x10]
call fcn.012924d0
mov eax, dword [ebp - 0x2c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret