Function at 0x4c58b0
Capabilities:
Authenticate hmac

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4d700c]
xor eax, esp
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x80]
mov eax, dword [esp + 0x90]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
xor ebx, ebx
cmp esi, 0x10
mov dword [esp + 0x48], ebx
push edi
lea edi, [esp + 0x90]
cmovae ecx, edx
cmovae edi, edx
add eax, ecx
mov dword [esp + 0x50], eax
cmp edi, eax
je 0x4c5c7e
cmp byte [edi], 0x20
jne 0x4c5c67
mov byte [esp + 0x18], 0x58
mov cl, 0x34
xor cl, byte [esp + 0x18]
mov al, 0x20
xor al, byte [esp + 0x18]
mov dl, 0x36
mov byte [esp + 0x19], al
mov bl, dl
mov byte [esp + 0x1a], cl
mov ch, 0x2b
mov cl, byte [esp + 0x18]
mov dh, 0x2a
mov byte [esp + 0x16], 0x3c
xor dl, cl
mov al, byte [esp + 0x16]
xor ch, cl
xor al, cl
mov byte [esp + 0x17], 0
xor dh, cl
mov byte [esp + 0x21], al
mov al, byte [esp + 0x17]
mov ah, 0x2e
mov bh, 0x6e
mov byte [esp + 0x1e], ch
xor bl, cl
mov byte [esp + 0x23], 0
xor ah, cl
mov byte [esp + 0x1b], dl
xor bh, cl
mov byte [esp + 0x1f], dh
xor al, cl
mov byte [esp + 0x1c], bl
xorps xmm0, xmm0
mov byte [esp + 0x1d], ah
lea ecx, [esp + 0x19]
mov byte [esp + 0x20], bh
mov byte [esp + 0x22], al
lea edx, [ecx + 1]
mov byte [esp + 0x23], 0
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c59a2
sub ecx, edx
lea eax, [esp + 0x19]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.004b5700
mov bh, 0x23
mov byte [esp + 0x48], 0
mov cl, 0x52
mov byte [esp + 0x40], bh
mov dl, 0x75
mov byte [esp + 0x48], 0
mov ch, cl
mov dword [esp + 0x64], 0
mov dh, dl
mov dword [esp + 0x68], 0
xor cl, bh
xor ch, bh
mov al, 0x6c
mov byte [esp + 0x42], cl
mov bl, 0x50
mov byte [esp + 0x46], ch
mov ah, 0x49
lea ecx, [esp + 0x41]
xor dl, bh
xor al, bh
xor bl, bh
mov byte [esp + 0x43], dl
xor ah, bh
mov byte [esp + 0x41], al
xor dh, bh
mov byte [esp + 0x44], bl
xorps xmm0, xmm0
mov byte [esp + 0x47], dh
mov byte [esp + 0x45], ah
lea edx, [ecx + 1]
movups xmmword [esp + 0x54], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c5a21
sub ecx, edx
lea eax, [esp + 0x41]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.004b5700
mov byte [esp + 0x24], 0x2d
mov al, 0x18
xor al, byte [esp + 0x24]
mov cl, 0x5c
xor cl, byte [esp + 0x24]
mov dl, 0x61
mov byte [esp + 0x25], al
mov ch, 0x64
mov byte [esp + 0x17], dl
mov dh, ch
mov al, byte [esp + 0x17]
mov ah, 0x77
mov byte [esp + 0x26], cl
mov bl, 0x6e
mov cl, byte [esp + 0x24]
mov bh, 0x68
xor al, cl
mov byte [esp + 0x16], 0x1a
mov byte [esp + 0x2d], al
xor dl, cl
mov al, byte [esp + 0x16]
xor ah, cl
xor dh, cl
mov byte [esp + 0x29], ah
xor bl, cl
mov byte [esp + 0x2f], 0
xor ch, cl
mov byte [esp + 0x27], dl
xor bh, cl
mov byte [esp + 0x2b], dh
xor al, cl
mov byte [esp + 0x28], bl
mov byte [esp + 0x2e], al
lea eax, [esp + 0x25]
mov byte [esp + 0x2a], ch
lea edx, [eax + 1]
mov byte [esp + 0x2c], bh
mov byte [esp + 0x2f], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c5ab4
mov ebp, dword [esp + 0x68]
lea ecx, [esp + 0x54]
mov esi, dword [esp + 0x54]
sub eax, edx
mov edx, dword [esp + 0x64]
cmp ebp, 0x10
push eax
lea eax, [esp + 0x29]
cmovae ecx, esi
push eax
call fcn.004b5da0
add esp, 8
test al, al
je 0x4c5bf5
mov dh, 0x77
mov byte [esp + 0x37], 0
mov cl, 0x22
mov byte [esp + 0x30], dh
mov dl, 0xe
mov byte [esp + 0x37], 0
xor cl, dh
mov dword [esp + 0x64], 0
mov al, 0x26
mov byte [esp + 0x32], cl
mov bl, 0x34
mov dword [esp + 0x68], 0
mov ah, 0x25
mov ch, 0x19
xor al, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0x33], dl
xor ah, dh
mov byte [esp + 0x31], al
xor ch, dh
mov byte [esp + 0x34], bl
mov byte [esp + 0x36], ch
xorps xmm0, xmm0
lea ecx, [esp + 0x31]
mov byte [esp + 0x35], ah
movups xmmword [esp + 0x54], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c5b48
sub ecx, edx
lea eax, [esp + 0x31]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.004b5700
mov dh, 0x34
mov byte [esp + 0x3f], 0
mov cl, 0x41
mov byte [esp + 0x38], dh
mov dl, 0x58
mov byte [esp + 0x3f], 0
xor cl, dh
mov al, 0xc
mov bl, 0x64
mov byte [esp + 0x3a], cl
mov ah, 0x7b
mov ch, 0x6d
xor al, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0x3b], dl
xor ah, dh
mov byte [esp + 0x39], al
xor ch, dh
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3e], ch
lea ecx, [esp + 0x39]
mov byte [esp + 0x3d], ah
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c5ba7
sub ecx, edx
lea eax, [esp + 0x39]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.004b4cc0
mov ecx, dword [esp + 0x68]
cmp ecx, 0x10
jb 0x4c5bf5
mov edx, dword [esp + 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c5beb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c9e
push ecx
push edx
call fcn.004c718d
add esp, 8
cmp ebp, 0x10
jb 0x4c5c25
lea ecx, [ebp + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4c5c1b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c9e
push ecx
push esi
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x80]
cmp ecx, 0x10
jb 0x4c5c5a
mov edx, dword [esp + 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c5c50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c9e
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
inc ebx
mov dword [esp + 0x4c], ebx
inc edi
cmp edi, eax
jne 0x4c5902
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 0x90]
cmp esi, 0x10
jb 0x4c5cae
inc esi
mov eax, edx
cmp esi, 0x1000
jb 0x4c5ca4
mov edx, dword [eax - 4]
add esi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c5ca4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x84]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6ef9
add esp, 0x7c
ret