Function at 0x10057b30
Capabilities:
Authenticate hmac

Disassembly:
sub esp, 0x2d8
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x2d4], eax
push ebx
mov ebx, dword [esp + 0x2e0]
lea edx, [esp + 0x194]
push ebp
mov ebp, dword [esp + 0x2f0]
push esi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x2ec]
push edi
mov edi, dword [esp + 0x2f4]
push 0x10
mov eax, dword [ecx]
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
call dword [eax + 0x18]
test eax, eax
jne 0x10057bb6
mov edx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000015
test edx, edx
je 0x10058500
lea eax, [esi + 0x74c]
push eax
push 0
push ebx
push 0xa0000015
jmp 0x100584fa
push edi
push 0
push 0
push 0
push 0x10
mov ecx, esi
call fcn.1005c4d0
mov eax, dword [esp + 0x2fc]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c0], xmm0
mov edi, 0x2000
movlpd qword [esp + 0x1c8], xmm0
movups xmm0, xmmword [esp + 0x1a0]
lea ebx, [eax + eax]
movups xmmword [esp + 0x1b0], xmm0
nop word [eax + eax]
movups xmm0, xmmword [0x10180d70]
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0
push eax
movups xmmword [esp + 0x4c], xmm0
mov edx, 0x20
lea ecx, [esp + 0x1b4]
movups xmm0, xmmword [0x10180d80]
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x5c], xmm0
call fcn.100c4df0
lea eax, [esp + 0x44]
mov edx, ebx
push eax
mov ecx, ebp
call fcn.100c4df0
add esp, 8
lea edx, [esp + 0x40]
lea ecx, [esp + 0x1b0]
call fcn.100c4ea0
sub edi, 1
jne 0x10057c00
call fcn.100906a0
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x1b0]
call fcn.100c1910
push 0x40
lea eax, [esp + 0x234]
push 0x36
push eax
call fcn.10143f10
push 0x40
lea eax, [esp + 0x280]
push 0x5c
push eax
call fcn.10143f10
add esp, 0x18
xor eax, eax
nop dword [eax]
nop word [eax + eax]
movups xmm2, xmmword [esp + eax + 0x1b0]
movups xmm0, xmmword [esp + eax + 0x230]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [esp + eax + 0x270]
movups xmmword [esp + eax + 0x230], xmm1
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x270], xmm0
add eax, 0x10
cmp eax, 0x20
jl 0x10057cb0
movups xmm0, xmmword [0x10180d70]
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0
push eax
movups xmmword [esp + 0x4c], xmm0
mov edx, 0x40
lea ecx, [esp + 0x234]
movups xmm0, xmmword [0x10180d80]
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x5c], xmm0
call fcn.100c4df0
mov ebp, dword [esp + 0x1c]
add esp, 4
cmp byte [esi + 0x813], 1
mov ebx, dword [esp + 0x1c]
jb 0x10057fbd
xor edi, edi
mov eax, dword [ebp]
lea ecx, [esp + 0x1d0]
push 0x10
push ecx
mov ecx, ebp
call dword [eax + 0x18]
test eax, eax
je 0x10057e73
push ebx
push 0
push 0
push 0
push 0x10
mov ecx, esi
call fcn.1005c4d0
movups xmm0, xmmword [esp + 0x1d0]
lea eax, [esp + 0x40]
mov edx, 0x10
push eax
lea ecx, [esp + 0x1d4]
movups xmmword [esp + 0x2c], xmm0
movups xmmword [esp + 0x214], xmm0
call fcn.100c4df0
lea eax, [esp + 0xac]
lea edx, [esp + 0x1d4]
push eax
mov ecx, edx
call fcn.100c3390
movups xmm1, xmmword [esp + 0x1a8]
add esp, 8
movups xmm0, xmmword [esp + 0x1d0]
pxor xmm1, xmm0
movups xmm0, xmmword [esp + 0x28]
movups xmmword [esp + edi + 0x2b4], xmm1
add edi, 0x10
movups xmmword [esp + 0x1a0], xmm0
cmp edi, 0x30
jl 0x10057d43
lea edx, [esp + 0x40]
lea ecx, [esp + 0x1b0]
call fcn.100c4ea0
movups xmm0, xmmword [0x10180d70]
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0
push eax
movups xmmword [esp + 0x4c], xmm0
mov edx, 0x40
lea ecx, [esp + 0x274]
movups xmm0, xmmword [0x10180d80]
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x5c], xmm0
call fcn.100c4df0
lea eax, [esp + 0x44]
mov edx, 0x20
push eax
lea ecx, [esp + 0x1b8]
call fcn.100c4df0
add esp, 8
lea edx, [esp + 0x40]
lea ecx, [esp + 0x1b0]
call fcn.100c4ea0
mov eax, dword [ebp]
lea ecx, [esp + 0x1d0]
push 0x20
push ecx
mov ecx, ebp
call dword [eax + 0x18]
test eax, eax
jne 0x10057e9f
mov edx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000015
test edx, edx
je 0x10058500
lea eax, [esi + 0x74c]
push eax
push 0
push dword [esp + 0x1c]
push 0xa0000015
jmp 0x100584fa
push ebx
push 0
push 0
push 0
push 0x20
mov ecx, esi
call fcn.1005c4d0
lea ecx, [esp + 0x1b0]
mov edi, 0x1c
lea edx, [esp + 0x1d0]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100580ed
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10057ec2
movups xmm0, xmmword [esp + 0x2b4]
movups xmmword [esp + 0x1a0], xmm0
call fcn.100906a0
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x2c4]
call fcn.100c1910
push 0x40
lea eax, [esp + 0x234]
push 0x36
push eax
call fcn.10143f10
push 0x40
lea eax, [esp + 0x280]
push 0x5c
push eax
call fcn.10143f10
add esp, 0x18
xor eax, eax
nop word [eax + eax]
movups xmm2, xmmword [esp + eax + 0x2c4]
movups xmm0, xmmword [esp + eax + 0x230]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [esp + eax + 0x270]
movups xmmword [esp + eax + 0x230], xmm1
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x270], xmm0
add eax, 0x10
cmp eax, 0x20
jl 0x10057f30
push 0x30
lea eax, [esp + 0x2b8]
push 0
push eax
call fcn.10143f10
movups xmm0, xmmword [0x10180d70]
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], 0
push eax
movups xmmword [esp + 0x58], xmm0
mov edx, 0x40
lea ecx, [esp + 0x240]
movups xmm0, xmmword [0x10180d80]
mov dword [esp + 0x50], 0
movups xmmword [esp + 0x68], xmm0
call fcn.100c4df0
add esp, 0x10
mov eax, dword [ebp]
lea ecx, [esp + 0x3c]
push ecx
push 0x30
lea ecx, [esp + 0x1d8]
push ecx
mov ecx, ebp
call dword [eax + 0x1c]
test eax, eax
je 0x10057e73
push ebx
push 0
push 0
push 0
push dword [esp + 0x4c]
mov ecx, esi
call fcn.1005c4d0
cmp dword [esp + 0x3c], 0x30
jae 0x100581a2
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x30]
test eax, eax
je 0x10057e73
mov al, byte [esi + 0x813]
test al, al
jne 0x10058153
cmp dword [esp + 0x3c], 0x20
jne 0x10058162
mov al, byte [esi + 0x814]
test al, al
jne 0x10058162
lea edi, [esp + 0x1d0]
lea edx, [esp + 0x40]
lea ecx, [esp + 0x1b0]
call fcn.100c4ea0
movups xmm0, xmmword [0x10180d70]
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0
push eax
movups xmmword [esp + 0x4c], xmm0
mov edx, 0x40
lea ecx, [esp + 0x274]
movups xmm0, xmmword [0x10180d80]
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x5c], xmm0
call fcn.100c4df0
lea eax, [esp + 0x44]
mov edx, 0x20
push eax
lea ecx, [esp + 0x1b8]
call fcn.100c4df0
add esp, 8
lea edx, [esp + 0x40]
lea ecx, [esp + 0x1b0]
call fcn.100c4ea0
mov bl, byte [esi + 0x813]
lea edx, [edi + 0x10]
test bl, bl
jne 0x100583fb
movups xmm0, xmmword [edi]
lea ecx, [esp + 0x210]
cmp edx, ecx
lea eax, [esp + 0x1d0]
movups xmmword [esp + 0x210], xmm0
cmovne eax, edx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x220], xmm0
jmp 0x10058463
mov eax, dword [esi + 0x704]
test eax, eax
je 0x10058100
push eax
call fcn.10146720
add esp, 4
mov eax, dword [esi + 0x708]
mov dword [esi + 0x704], 0
test eax, eax
je 0x1005811d
push eax
call fcn.10146720
add esp, 4
mov dword [esi + 0x708], 0
mov edx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000060
test edx, edx
je 0x10058500
lea eax, [esi + 0x74c]
push eax
push 0
push dword [esp + 0x1c]
push 0xa0000060
jmp 0x100584fa
cmp al, 1
jb 0x10058022
cmp dword [esp + 0x3c], 0x21
je 0x1005818e
mov edx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000035
test edx, edx
je 0x10058500
lea eax, [esi + 0x74c]
push eax
push 0
push dword [esp + 0x1c]
push 0xa0000035
jmp 0x100584fa
mov al, byte [esp + 0x1d0]
and al, 0xf
mov byte [esi + 0x814], al
jmp 0x10058028
lea ecx, [esp + 0x200]
xor ebx, ebx
lea edi, [esp + 0x1d0]
nop dword [eax]
nop word [eax + eax]
lea edx, [esp + 0x210]
mov dword [esp + 0x3c], 0
cmp ecx, edx
lea eax, [esp + 0x1d0]
lea edx, [esp + 0x3c]
cmovne eax, ecx
mov ecx, eax
mov eax, dword [ebp]
push edx
push 0x10
mov dword [esp + 0x20], ecx
push ecx
mov ecx, ebp
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x3c]
add ebx, ecx
mov dword [esp + 0x24], ebx
cmp ebx, 0x1000
jg 0x10058210
cmp ecx, 0x10
jb 0x10058210
lea ebx, [esi + 0x74c]
jmp 0x10058244
push dword [esp + 0x1c]
mov eax, ebx
mov ecx, esi
push 0
push 0
cdq
push edx
push eax
call fcn.1005c4d0
mov eax, dword [esi + 0x748]
lea ebx, [esi + 0x74c]
or eax, dword [ebx]
mov dword [esp + 0x24], 0
jne 0x10058513
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jae 0x100582cd
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x30]
test eax, eax
je 0x100583cf
mov al, byte [esi + 0x813]
mov ecx, dword [esp + 0x3c]
test al, al
jne 0x1005829b
test ecx, ecx
je 0x100582c5
mov ecx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000035
test ecx, ecx
je 0x10058500
mov eax, dword [ecx]
push ebx
push 0
push dword [esp + 0x1c]
push 0xa0000035
push ecx
call dword [eax + 0x14]
jmp 0x10058500
cmp al, 1
jb 0x100582c5
cmp ecx, 1
jne 0x1005826f
lea eax, [edi + 0x10]
lea edx, [esp + 0x210]
cmp eax, edx
jae 0x100582b6
mov al, byte [eax]
jmp 0x100582bd
mov al, byte [esp + 0x1d0]
and al, 0xf
mov byte [esi + 0x814], al
mov dword [esp + 0x20], 1
test ecx, ecx
jne 0x100582df
cmp byte [esi + 0x813], cl
jne 0x100583b7
jmp 0x100582e4
add dword [esp + 0x18], 0x10
movups xmm0, xmmword [edi]
lea eax, [esp + 0x40]
mov edx, 0x10
push eax
mov ecx, edi
movups xmmword [esp + 0x2c], xmm0
movups xmmword [esp + 0x214], xmm0
call fcn.100c4df0
lea eax, [esp + 0xac]
mov edx, edi
push eax
mov ecx, edi
call fcn.100c3390
lea ecx, [esp + 0x1b7]
add esp, 8
lea eax, [edi + 0xf]
cmp edi, ecx
ja 0x10058352
lea ecx, [esp + 0x1a0]
cmp eax, ecx
jb 0x10058352
lea ebx, [esp + 0x1a0]
mov ecx, edi
sub ebx, edi
mov edx, 0x10
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x10058342
jmp 0x10058364
movups xmm0, xmmword [edi]
movups xmm1, xmmword [esp + 0x1a0]
pxor xmm1, xmm0
movups xmmword [edi], xmm1
cmp dword [esp + 0x20], 0
movups xmm0, xmmword [esp + 0x28]
movups xmmword [esp + 0x1a0], xmm0
je 0x10058385
mov al, byte [esi + 0x814]
movzx ecx, al
test al, al
jne 0x1005838a
mov ecx, 0x10
mov ebx, dword [esp + 0x1c]
push ecx
push edi
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
je 0x1005849e
add edi, 0x10
lea ecx, [esp + 0x210]
cmp edi, ecx
lea eax, [esp + 0x1d0]
cmovne eax, edi
mov edi, eax
cmp dword [esp + 0x20], 0
jne 0x10058037
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
jmp 0x100581c0
mov ecx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000015
test ecx, ecx
je 0x10058500
mov eax, dword [ecx]
push ebx
push 0
push dword [esp + 0x1c]
push 0xa0000015
push ecx
call dword [eax + 0x14]
jmp 0x10058500
mov eax, dword [edi + 9]
lea ecx, [esp + 0x1d0]
movq xmm0, qword [edi + 1]
mov dword [esp + 0x218], eax
mov ax, word [edi + 0xd]
mov word [esp + 0x21c], ax
movzx eax, byte [edi + 0xf]
mov byte [esp + 0x21e], al
lea eax, [esp + 0x210]
cmp edx, eax
movq qword [esp + 0x210], xmm0
cmovne ecx, edx
mov edx, eax
lea eax, [esp + 0x1d0]
movups xmm0, xmmword [ecx]
add ecx, 0x10
cmp ecx, edx
movups xmmword [esp + 0x21f], xmm0
cmovne eax, ecx
movzx eax, byte [eax]
mov byte [esp + 0x22f], al
lea ecx, [esp + 0x1b0]
mov edi, 0x1c
lea edx, [esp + 0x210]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10058491
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10058476
mov eax, 1
jmp 0x10058515
test bl, bl
jne 0x10058127
jmp 0x100580ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
test eax, eax
jne 0x10058513
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov edx, dword [esi + 4]
cmp eax, 0x70
jne 0x100584da
mov dword [esi + 0x744], 0xa0000054
test edx, edx
je 0x10058500
lea eax, [esi + 0x74c]
push eax
push 0
push dword [esp + 0x1c]
push 0xa0000054
jmp 0x100584fa
mov dword [esi + 0x744], 0xa0000030
test edx, edx
je 0x10058500
lea eax, [esi + 0x74c]
push eax
push 0
push dword [esp + 0x1c]
push 0xa0000030
mov ecx, dword [edx]
push edx
call dword [ecx + 0x14]
cmp dword [esi + 0x73c], 0
je 0x10058513
mov dword [esi + 0x740], 1
xor eax, eax
mov ecx, dword [esp + 0x2e4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10142783
add esp, 0x2d8
ret 0x14