Function at 0x10199a90
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x103fbc90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x10199abb
cmp dword [ebp + 0x10], 0
je 0x10199abb
cmp dword [ebp + 0x14], 0
je 0x10199abb
cmp dword [ebp + 0x1c], 0
jne 0x10199ac2
xor eax, eax
jmp 0x10199dba
movzx eax, word [ebp + 8]
push eax
call fcn.10199670
add esp, 4
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
jne 0x10199ae5
xor eax, eax
jmp 0x10199dba
movzx ecx, word [ebp + 8]
push ecx
call fcn.1019b980
add esp, 4
mov dword [ebp - 0x2e4], eax
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x2e4]
jbe 0x10199b5a
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 - 0x2e8]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x24]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x2e4]
push edx
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.103170a0
add esp, 0xc
mov ecx, dword [ebp - 0x2e4]
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 - 0x2e0], 0
jmp 0x10199bd3
mov eax, dword [ebp - 0x2e0]
add eax, 1
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
cmp ecx, dword [ebp - 0x2e4]
jae 0x10199c1f
mov edx, dword [ebp - 0x2e0]
movzx eax, byte [ebp + edx - 0xa4]
xor eax, 0x36
mov ecx, dword [ebp - 0x2e0]
mov byte [ebp + ecx - 0xa4], al
mov edx, dword [ebp - 0x2e0]
movzx eax, byte [ebp + edx - 0x124]
xor eax, 0x5c
mov ecx, dword [ebp - 0x2e0]
mov byte [ebp + ecx - 0x124], al
jmp 0x10199bc4
lea edx, [ebp - 0x2d8]
push edx
movzx eax, word [ebp + 8]
push eax
call fcn.1019b9b0
add esp, 8
mov ecx, dword [ebp - 0x2e4]
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 + 0x14]
mov dword [ebp - 0x2dc], edx
cmp dword [ebp - 0x2dc], 0
je 0x10199c94
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [eax + 0xc]
jb 0x10199c94
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp + 0x18]
sub eax, dword [edx + 0xc]
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx]
mov dword [ebp - 0x2dc], edx
jmp 0x10199c5e
cmp dword [ebp - 0x2dc], 0
je 0x10199d2f
mov eax, dword [ebp - 0x2dc]
cmp dword [eax], 0
jne 0x10199ce7
cmp dword [ebp + 0x20], 0
je 0x10199ce7
mov ecx, dword [ebp + 0x20]
add ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0xc]
sub eax, ecx
push eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 8]
add edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x2d8]
push eax
movzx ecx, word [ebp + 8]
push ecx
call fcn.1019b9e0
add esp, 0x10
jmp 0x10199d15
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0xc]
sub eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 8]
add edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x2d8]
push eax
movzx ecx, word [ebp + 8]
push ecx
call fcn.1019b9e0
add esp, 0x10
mov dword [ebp + 0x18], 0
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx]
mov dword [ebp - 0x2dc], eax
jmp 0x10199c94
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2d8]
push edx
movzx eax, word [ebp + 8]
push eax
call fcn.1019ba10
add esp, 0xc
lea ecx, [ebp - 0x2d8]
push ecx
movzx edx, word [ebp + 8]
push edx
call fcn.1019b9b0
add esp, 8
mov eax, dword [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x124]
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 - 0x2e8]
push ecx
lea edx, [ebp - 0x24]
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 + 0x1c]
push edx
lea eax, [ebp - 0x2d8]
push eax
movzx ecx, word [ebp + 8]
push ecx
call fcn.1019ba10
add esp, 0xc
mov eax, dword [ebp - 0x2e8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10314cf5
mov esp, ebp
pop ebp
ret