Function at 0x101c6150
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x138
call fcn.101d14f0
mov eax, dword [0x10274398]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x9c], 0
cmp dword [ebp + 0x14], 0
je 0x101c619e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x101c619e
cmp dword [ebp + 0xc], 0
je 0x101c6197
cmp dword [ebp + 0x10], 0
jge 0x101c619e
xor eax, eax
jmp 0x101c6452
cmp dword [ebp + 0x14], 0
je 0x101c61ae
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x101c61c7
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x101c61c0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
jmp 0x101c61c7
xor eax, eax
jmp 0x101c6452
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.100a3730
add esp, 4
and eax, 2
je 0x101c61df
xor eax, eax
jmp 0x101c6452
cmp dword [ebp + 0xc], 0
je 0x101c63f5
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp + 0x14]
push edx
call fcn.100463b0
add esp, 4
mov dword [ebp - 0x138], eax
xor eax, eax
cmp dword [ebp - 0x138], 0x90
setle al
test eax, eax
jne 0x101c621f
xor eax, eax
jmp 0x101c6452
cmp dword [ebp - 0x138], 0
jge 0x101c622f
xor eax, eax
jmp 0x101c6452
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [ebp + 0x10]
jge 0x101c629a
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call fcn.10043930
add esp, 0xc
test eax, eax
je 0x101c6291
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.10043950
add esp, 0xc
test eax, eax
je 0x101c6291
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.10043b20
add esp, 0xc
test eax, eax
jne 0x101c6298
xor eax, eax
jmp 0x101c6452
jmp 0x101c62d0
cmp dword [ebp + 0x10], 0
jl 0x101c62a9
cmp dword [ebp + 0x10], 0x90
jle 0x101c62b0
xor eax, eax
jmp 0x101c6452
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.101d1c90
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0x90
je 0x101c6300
mov eax, 0x90
sub eax, dword [ebp - 0xa0]
push eax
push 0
mov ecx, dword [ebp - 0xa0]
lea edx, [ebp + ecx - 0x98]
push edx
call fcn.101d19d0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x101c6312
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x90
jge 0x101c6335
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp + ecx - 0x98]
xor edx, 0x36
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x130], dl
jmp 0x101c6309
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call fcn.10043930
add esp, 0xc
test eax, eax
je 0x101c6377
mov edx, dword [ebp + 0x14]
push edx
call fcn.100463b0
add esp, 4
push eax
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call fcn.10043950
add esp, 0xc
test eax, eax
jne 0x101c637c
jmp 0x101c641b
mov dword [ebp - 4], 0
jmp 0x101c638e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x90
jge 0x101c63b1
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp + ecx - 0x98]
xor edx, 0x5c
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x130], dl
jmp 0x101c6385
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.10043930
add esp, 0xc
test eax, eax
je 0x101c63f3
mov edx, dword [ebp + 0x14]
push edx
call fcn.100463b0
add esp, 4
push eax
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
call fcn.10043950
add esp, 0xc
test eax, eax
jne 0x101c63f5
jmp 0x101c641b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.10043f50
add esp, 8
test eax, eax
jne 0x101c6411
jmp 0x101c641b
mov dword [ebp - 0x134], 1
cmp dword [ebp - 0x9c], 0
je 0x101c644c
push 0x90
lea ecx, [ebp - 0x98]
push ecx
call fcn.10074490
add esp, 8
push 0x90
lea edx, [ebp - 0x130]
push edx
call fcn.10074490
add esp, 8
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101d14d7
mov esp, ebp
pop ebp
ret