Function at 0x10199690
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x103fbc90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x101996c1
cmp dword [ebp + 0x10], 0
je 0x101996c1
cmp dword [ebp + 0x14], 0
je 0x101996c1
cmp dword [ebp + 0x18], 0
je 0x101996c1
cmp dword [ebp + 0x1c], 0
jne 0x101996c8
xor eax, eax
jmp 0x10199902
movzx eax, word [ebp + 8]
push eax
call fcn.10199670
add esp, 4
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
jne 0x101996eb
xor eax, eax
jmp 0x10199902
movzx ecx, word [ebp + 8]
push ecx
call fcn.1019b980
add esp, 4
mov dword [ebp - 0x2e0], eax
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x2e0]
jbe 0x10199760
lea eax, [ebp - 0x2d8]
push eax
movzx ecx, word [ebp + 8]
push ecx
call fcn.1019b9b0
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
movzx edx, word [ebp + 8]
push edx
call fcn.1019b9e0
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
movzx edx, word [ebp + 8]
push edx
call fcn.1019ba10
add esp, 0xc
mov eax, dword [ebp - 0x2e4]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x24]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x2e0]
push edx
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.103170a0
add esp, 0xc
mov ecx, dword [ebp - 0x2e0]
push ecx
push 0
lea edx, [ebp - 0x124]
push edx
call fcn.103170a0
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.10316b20
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.10316b20
add esp, 0xc
mov dword [ebp - 0x2dc], 0
jmp 0x101997d9
mov eax, dword [ebp - 0x2dc]
add eax, 1
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
cmp ecx, dword [ebp - 0x2e0]
jae 0x10199825
mov edx, dword [ebp - 0x2dc]
movzx eax, byte [ebp + edx - 0xa4]
xor eax, 0x36
mov ecx, dword [ebp - 0x2dc]
mov byte [ebp + ecx - 0xa4], al
mov edx, dword [ebp - 0x2dc]
movzx eax, byte [ebp + edx - 0x124]
xor eax, 0x5c
mov ecx, dword [ebp - 0x2dc]
mov byte [ebp + ecx - 0x124], al
jmp 0x101997ca
lea edx, [ebp - 0x2d8]
push edx
movzx eax, word [ebp + 8]
push eax
call fcn.1019b9b0
add esp, 8
mov ecx, dword [ebp - 0x2e0]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x2d8]
push eax
movzx ecx, word [ebp + 8]
push ecx
call fcn.1019b9e0
add esp, 0x10
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
movzx edx, word [ebp + 8]
push edx
call fcn.1019b9e0
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
movzx edx, word [ebp + 8]
push edx
call fcn.1019ba10
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
movzx ecx, word [ebp + 8]
push ecx
call fcn.1019b9b0
add esp, 8
mov edx, dword [ebp - 0x2e0]
push edx
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
movzx edx, word [ebp + 8]
push edx
call fcn.1019b9e0
add esp, 0x10
mov eax, dword [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2d8]
push edx
movzx eax, word [ebp + 8]
push eax
call fcn.1019b9e0
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x2d8]
push edx
movzx eax, word [ebp + 8]
push eax
call fcn.1019ba10
add esp, 0xc
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10314cf5
mov esp, ebp
pop ebp
ret