Function at 0x50a500
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50a7d3
sub esp, 0x24
lea eax, [0x602d20]
mov dword [esp], eax
call fcn.00409a30
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
call ecx
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x20], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x50a7b6
mov dword [edx + 0x24], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0x28], ecx
mov ebp, dword [0x7db370]
test ebp, ebp
jne 0x50a7a9
mov dword [ebx + 0x2c], eax
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov eax, dword [eax + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov dword [esp + 8], eax
lea edx, [0x5dfee0]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00437b80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x50a79a
mov dword [ebx + 0x14], edx
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
lea ecx, [0x5dfee0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437b80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x50a78b
mov dword [ebx + 8], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jg 0x50a72e
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx + 0x14]
mov ebp, dword [ebx + 0x18]
cmp ebp, ecx
jle 0x50a723
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], eax
cmp eax, edx
je 0x50a664
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044be80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x1c]
cmp ecx, ebx
jle 0x50a71c
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
je 0x50a692
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0044be80
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
xor edx, edx
jmp 0x50a6a9
movzx ebx, byte [edx + ebp]
xor ebx, 0x36
mov byte [ebp + edx], bl
inc edx
cmp edx, ecx
jge 0x50a6bc
mov ebx, dword [eax + 0x18]
mov ebp, dword [eax + 0x14]
cmp edx, ebx
jb 0x50a69d
jmp 0x50a7cc
mov ecx, dword [eax + 0xc]
xor edx, edx
jmp 0x50a6d0
movzx ebp, byte [edx + ebx]
xor ebp, 0x5c
xchg ebp, eax
mov byte [ebx + edx], al
xchg ebp, eax
inc edx
cmp edx, ecx
jge 0x50a6e3
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
cmp edx, ebp
jb 0x50a6c3
jmp 0x50a7c5
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x20]
mov ebx, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
mov esi, dword [eax + 0x14]
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], edx
call ecx
lea eax, [0x660ee0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
add esp, 0x24
ret
mov ebx, ecx
jmp 0x50a67a
mov esi, ebp
mov ebp, ecx
mov ecx, esi
jmp 0x50a648
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov eax, dword [eax + 0x20]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp], edx
call ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
jmp 0x50a638
lea edi, [ebx + 8]
mov eax, edx
call fcn.0044b680
jmp 0x50a625
lea edi, [ebx + 0x14]
mov eax, edx
call fcn.0044b680
jmp 0x50a5e5
lea edi, [ebx + 0x2c]
call fcn.0044b680
jmp 0x50a57d
lea edi, [edx + 0x24]
mov eax, ecx
call fcn.0044b680
jmp 0x50a556
call fcn.004258a0
ud2
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.0050a500