Function at 0x101b9700
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x138
call fcn.10010ae0
mov eax, dword [0x1023d1a4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x9c], 0
cmp dword [ebp + 0x14], 0
je 0x101b974e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x101b974e
cmp dword [ebp + 0xc], 0
je 0x101b9747
cmp dword [ebp + 0x10], 0
jge 0x101b974e
xor eax, eax
jmp 0x101b9a02
cmp dword [ebp + 0x14], 0
je 0x101b975e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
jmp 0x101b9777
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x101b9770
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
jmp 0x101b9777
xor eax, eax
jmp 0x101b9a02
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.10033da0
add esp, 4
and eax, 2
je 0x101b978f
xor eax, eax
jmp 0x101b9a02
cmp dword [ebp + 0xc], 0
je 0x101b99a5
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp + 0x14]
push edx
call fcn.10039d70
add esp, 4
mov dword [ebp - 0x138], eax
xor eax, eax
cmp dword [ebp - 0x138], 0x90
setle al
test eax, eax
jne 0x101b97cf
xor eax, eax
jmp 0x101b9a02
cmp dword [ebp - 0x138], 0
jge 0x101b97df
xor eax, eax
jmp 0x101b9a02
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [ebp + 0x10]
jge 0x101b984a
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.100372e0
add esp, 0xc
test eax, eax
je 0x101b9841
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.10037300
add esp, 0xc
test eax, eax
je 0x101b9841
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.100374d0
add esp, 0xc
test eax, eax
jne 0x101b9848
xor eax, eax
jmp 0x101b9a02
jmp 0x101b9880
cmp dword [ebp + 0x10], 0
jl 0x101b9859
cmp dword [ebp + 0x10], 0x90
jle 0x101b9860
xor eax, eax
jmp 0x101b9a02
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x98]
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0x90
je 0x101b98b0
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 sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x101b98c2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x90
jge 0x101b98e5
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 0x101b98b9
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.100372e0
add esp, 0xc
test eax, eax
je 0x101b9927
mov edx, dword [ebp + 0x14]
push edx
call fcn.10039d70
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.10037300
add esp, 0xc
test eax, eax
jne 0x101b992c
jmp 0x101b99cb
mov dword [ebp - 4], 0
jmp 0x101b993e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x90
jge 0x101b9961
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 0x101b9935
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.100372e0
add esp, 0xc
test eax, eax
je 0x101b99a3
mov edx, dword [ebp + 0x14]
push edx
call fcn.10039d70
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.10037300
add esp, 0xc
test eax, eax
jne 0x101b99a5
jmp 0x101b99cb
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.10037900
add esp, 8
test eax, eax
jne 0x101b99c1
jmp 0x101b99cb
mov dword [ebp - 0x134], 1
cmp dword [ebp - 0x9c], 0
je 0x101b99fc
push 0x90
lea ecx, [ebp - 0x98]
push ecx
call fcn.100679a0
add esp, 8
push 0x90
lea edx, [ebp - 0x130]
push edx
call fcn.100679a0
add esp, 8
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10010586
mov esp, ebp
pop ebp
ret