Function at 0x50f1f0
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50f4c3
sub esp, 0x24
lea eax, [0x7ab6e0]
mov dword [esp], eax
call fcn.00409cb0
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 [0xadb480]
test eax, eax
jne 0x50f4a6
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 [0xadb480]
test ebp, ebp
jne 0x50f499
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, [0x7718e0]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00438a40
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 [0xadb480]
test eax, eax
jne 0x50f48a
mov dword [ebx + 0x14], edx
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
lea ecx, [0x7718e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438a40
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 [0xadb480]
test eax, eax
jne 0x50f47b
mov dword [ebx + 8], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jg 0x50f41e
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx + 0x14]
mov ebp, dword [ebx + 0x18]
cmp ebp, ecx
jle 0x50f413
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], eax
cmp eax, edx
je 0x50f354
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044d070
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x1c]
cmp ecx, ebx
jle 0x50f40c
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
je 0x50f382
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.0044d070
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
xor edx, edx
jmp 0x50f399
movzx ebx, byte [edx + ebp]
xor ebx, 0x36
mov byte [ebp + edx], bl
inc edx
cmp edx, ecx
jge 0x50f3ac
mov ebx, dword [eax + 0x18]
mov ebp, dword [eax + 0x14]
cmp edx, ebx
jb 0x50f38d
jmp 0x50f4bc
mov ecx, dword [eax + 0xc]
xor edx, edx
jmp 0x50f3c0
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 0x50f3d3
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
cmp edx, ebp
jb 0x50f3b3
jmp 0x50f4b5
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, [0x8463a0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
add esp, 0x24
ret
mov ebx, ecx
jmp 0x50f36a
mov esi, ebp
mov ebp, ecx
mov ecx, esi
jmp 0x50f338
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 0x50f328
lea edi, [ebx + 8]
mov eax, edx
call fcn.0044c870
jmp 0x50f315
lea edi, [ebx + 0x14]
mov eax, edx
call fcn.0044c870
jmp 0x50f2d5
lea edi, [ebx + 0x2c]
call fcn.0044c870
jmp 0x50f26d
lea edi, [edx + 0x24]
mov eax, ecx
call fcn.0044c870
jmp 0x50f246
call fcn.00426430
ud2
call fcn.00426430
ud2
call fcn.0044b110
jmp fcn.0050f1f0