Function at 0x5bdc60
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6139b9
mov eax, dword fs:[0]
push eax
sub esp, 0x984
mov eax, dword [0x70635c]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x1c]
call fcn.004e4820
mov dword [ebp - 0x180], 0x40
cmp dword [ebp + 0x18], 3
je 0x5bdca9
cmp dword [ebp + 0x18], 2
jne 0x5bdcb3
mov dword [ebp - 0x180], 0x80
lea ecx, [ebp - 0x17c]
call fcn.004e5ed0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x180]
jle 0x5bdd08
lea ecx, [ebp - 0x17c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0054f1d0
add esp, 0x10
lea ecx, [ebp - 0x17c]
call fcn.005d1d10
mov dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x18]
push edx
call fcn.0054ef50
add esp, 4
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x180]
jle 0x5bdd1c
mov ecx, dword [ebp - 0x180]
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp - 0x180]
push edx
push 0
lea eax, [ebp - 0x144]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x180]
push ecx
push 0
lea edx, [ebp - 0xbc]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x144]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xbc]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x2c], 0
jmp 0x5bdd8c
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x180]
jge 0x5bddc9
mov edx, dword [ebp - 0x2c]
movzx eax, byte [ebp + edx - 0x144]
xor eax, 0x36
mov ecx, dword [ebp - 0x2c]
mov byte [ebp + ecx - 0x144], al
mov edx, dword [ebp - 0x2c]
movzx eax, byte [ebp + edx - 0xbc]
xor eax, 0x5c
mov ecx, dword [ebp - 0x2c]
mov byte [ebp + ecx - 0xbc], al
jmp 0x5bdd83
lea ecx, [ebp - 0x98c]
call fcn.004e6810
mov byte [ebp - 4], 1
mov dword [ebp - 0x188], 2
lea edx, [ebp - 0x144]
mov dword [ebp - 0x988], edx
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x984], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x584], edx
lea ecx, [ebp - 0x28]
call fcn.004e5ed0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x98c]
push edx
call fcn.0054f080
add esp, 0xc
lea ecx, [ebp - 0x160]
call fcn.004e5ed0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x180]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x160]
call fcn.004e77c0
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x160]
call fcn.004e4f30
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00598070
push eax
lea ecx, [ebp - 0x160]
call fcn.005d1d10
push eax
call fcn.0054f1d0
add esp, 0x10
mov byte [ebp - 0x98d], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call fcn.004e6910
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004e6910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98c]
call fcn.004e6870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.004e6910
mov al, byte [ebp - 0x98d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00606c9e
mov esp, ebp
pop ebp
ret