Function at 0x460e20
Capabilities:
Authenticate hmac

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2d0
mov esi, dword [esp + 0x2f0]
mov eax, dword [0x567b10]
xor eax, esp
mov dword [esp + 0x2cc], eax
mov edi, 0
cmp esi, 3
jb 0x460e6d
mov ecx, dword [esp + 0x2ec]
movzx eax, word [ecx]
xor eax, 0xbbef
movzx ecx, byte [ecx + 2]
xor ecx, 0xbf
xor edx, edx
or cx, ax
sete dl
lea edi, [edx + edx*2]
lea ecx, [esp + 0x44]
push 0
push 0x36
push str.__t____t___importinclude___________________
call fcn.00518f60
lea eax, [esp + 0x2ac]
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a4], 0
mov dword [esp + 0x2a8], 4
lea eax, [esp + 0xe0]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0x2e8]
add eax, 0xc0
lea ecx, [esp + 0x4c]
push dword [esp + 0x300]
push dword [esp + 0x300]
mov dword [esp + 0x20], eax
push eax
call fcn.004b8430
mov al, 1
mov dword [esp + 0xc], eax
mov dword [esp], 0
mov dword [esp + 0x10], 0
xor ebx, ebx
nop word cs:[eax + eax]
cmp ebx, esi
cmova ebx, esi
jae 0x460f50
mov eax, esi
sub eax, ebx
add ebx, dword [esp + 0x2ec]
push eax
push 0xa
push ebx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x460f50
mov ebx, eax
sub ebx, dword [esp + 0x2ec]
cmp ebx, 0xffffffff
je 0x460f50
mov dword [esp + 0x14], 0
mov eax, ebx
jmp 0x460f5d
mov ebx, 0xffffffff
mov al, 1
mov dword [esp + 0x14], eax
mov eax, esi
sub eax, edi
mov ecx, esi
cmp edi, esi
ja 0x460f67
mov ecx, edi
mov dword [esp + 4], edi
mov edx, esi
sub edx, ecx
cmp edx, eax
cmovae edx, eax
add ecx, dword [esp + 0x2ec]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x3c]
push 0
push 6
push str.__t_n_v_f_r
call fcn.004232a0
mov edi, dword [esp + 0x40]
cmp eax, edi
cmovae eax, edi
sub edi, eax
add eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
push 6
push str.__t_n_v_f_r
call fcn.004235e0
add eax, 1
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
cmovae eax, ecx
sub edi, eax
cmp ecx, edi
mov eax, 0
cmovb edi, eax
mov esi, ecx
sub esi, edi
neg edi
lea eax, [ecx + edi]
add eax, 0xffffffee
cmp eax, 4
ja case.0x460feb.20
jmp dword [eax*4 + 0x5578d8]
push esi
push str.___clang_format_on
jmp 0x461066
movdqu xmm0, xmmword [ebp]
pcmpeqb xmm0, xmmword [0x555bd0]
movdqu xmm1, xmmword [ebp + 3]
pcmpeqb xmm1, xmmword [str.clang_format_off___clang_format__n_n_n_n]
pand xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jmp 0x461091
test esi, esi
sete cl
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, 0xffffffff
cmp eax, 2
setb al
test esi, esi
jne 0x4610a2
and cl, al
xor edx, edx
test byte [esp], 1
je 0x4610b6
jmp 0x4611c0
push esi
push str.__clang_format_on__
push ebp
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4610a2
mov dword [esp], 0
jmp 0x4610a2
push esi
push str.__clang_format_off__
push ebp
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov ecx, dword [esp]
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [esp], ecx
cmp byte [ebp + esi - 1], 0x5c
sete dl
xor ecx, ecx
test byte [esp], 1
jne 0x4611c0
test dl, dl
jne 0x4611c0
mov edi, ecx
mov dword [esp + 8], edx
lea ecx, [esp + 0x44]
push 0
lea eax, [esp + 0x2a4]
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.00519110
test al, al
je 0x4611d0
mov eax, dword [esp + 0x2a0]
mov edi, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
test byte [esp + 0x10], 1
sete al
and al, byte [esp + 0xc]
movzx ebp, al
lea ecx, [esp + 0x4c]
push ebp
push esi
push edi
call fcn.004b8620
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x4c]
push ebp
push esi
push edi
call fcn.004b89f0
mov dword [esp + 0x20], edi
mov ebp, dword [esp + 0x1c]
test ebp, ebp
mov edx, dword [esp + 0x10]
movzx edx, dl
mov ecx, 1
cmove edx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 4]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0xd8]
lea eax, [edx + 1]
lea esi, [esp + 0x20]
cmp eax, dword [esp + 0xdc]
ja 0x46128f
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
lea edx, [ecx + ecx*8]
lea edx, [edx + edx*2]
add edx, ecx
movdqu xmm0, xmmword [esi]
movdqu xmm1, xmmword [esi + 0xc]
movdqu xmmword [eax + edx + 0xc], xmm1
movdqu xmmword [eax + edx], xmm0
add dword [esp + 0xd8], 1
mov esi, dword [esp + 0x2f0]
jmp 0x461271
mov esi, dword [esp + 0x2f0]
mov edi, dword [esp + 4]
jmp 0x461275
cmp dword [esp + 0xd8], 0
sete al
mov ecx, edi
or cl, al
jne 0x461266
mov ecx, dword [esp + 0x2e8]
lea edx, [esp + 0xd4]
push dword [esp + 0x308]
push dword [esp + 0x308]
push dword [esp + 0x2f8]
push dword [esp + 0x2f8]
push dword [esp + 0x310]
push dword [esp + 0x310]
push dword [esp + 0x310]
push dword [esp + 0x310]
call fcn.00461460
add esp, 0x20
mov dword [esp + 0xd8], 0
cmp esi, 0xf
jae 0x46124d
mov dword [esp + 0xc], 0
jmp 0x461266
push 0xf
push 0x555e60
push ebp
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
sete al
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x2f0]
mov edi, dword [esp + 4]
mov edx, dword [esp + 8]
add ebx, 1
cmp ebx, esi
sete al
mov ecx, dword [esp + 0x14]
or cl, al
jne 0x4612fa
test dl, dl
cmove edi, ebx
jmp 0x460f10
mov ecx, dword [esp + 0xd4]
lea esi, [edx + edx*8]
lea esi, [esi + esi*2]
add esi, edx
add esi, ecx
lea ebp, [esp + 0x20]
cmp esi, ebp
seta dl
cmp ecx, ebp
ja 0x4612b1
test dl, dl
jne 0x4612d1
lea ecx, [esp + 0xd4]
push 0x1c
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00424880
lea esi, [esp + 0x20]
jmp 0x46117b
lea esi, [esp + 0x20]
sub esi, ecx
lea ecx, [esp + 0xd4]
push 0x1c
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.00424880
add esi, dword [esp + 0xd4]
jmp 0x46117b
cmp dword [esp + 0xd8], 0
mov edi, dword [esp + 0x304]
je 0x46134d
lea edx, [esp + 0xd4]
mov ecx, dword [esp + 0x2e8]
push dword [esp + 0x308]
push edi
push esi
push dword [esp + 0x2f8]
push dword [esp + 0x310]
push dword [esp + 0x310]
push dword [esp + 0x310]
push dword [esp + 0x310]
call fcn.00461460
add esp, 0x20
mov esi, dword [esp + 0x2e4]
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x48
call fcn.00533f15
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
sub esp, 0xc
mov dl, byte [esp + 0x2c]
mov byte [esp + 8], dl
mov dword [esp + 4], eax
mov dword [esp], ecx
mov ecx, esi
call fcn.00468e30
mov ecx, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
je 0x4613c0
mov dword [eax], eax
mov eax, dword [esi]
mov ecx, eax
jmp 0x4613eb
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4613c0
mov dword [eax], edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, edx
mov edx, dword [edx + 8]
cmp byte [edx + 0xd], 0
je 0x4613e0
mov dword [eax + 8], ecx
lea ecx, [esp + 0x4c]
call fcn.00462480
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0xe0]
cmp eax, ecx
je 0x461413
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x2a0]
lea ecx, [esp + 0x2ac]
cmp eax, ecx
je 0x46142f
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [esp + 0x44]
call fcn.00518fe0
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.00533ace
mov eax, esi
add esp, 0x2d0
pop esi
pop edi
pop ebx
pop ebp
ret