Function at 0x1007fa30
Capabilities:
Authenticate hmac

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab355
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
cmp dword [esi + 0x34], 0
jl 0x10080051
xorps xmm0, xmm0
mov word [ebp - 0x38], 0x7b
lea ecx, [ebp - 0x37]
mov byte [ebp - 0x37], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007faa2
sub ecx, edx
lea eax, [ebp - 0x37]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002620
mov dword [ebp - 4], 0
mov eax, 0xc22e4507
mov edi, dword [esi + 0x34]
imul edi
add edx, edi
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
call fcn.1004da20
call fcn.100a7d80
mov esi, eax
mov edx, edi
imul ecx, esi, 0x15180
mov eax, 0x91a2b3c5
mov dword [ebp - 0x38], esi
sub edx, ecx
mov ecx, 0x18
mul edx
shr edx, 0xb
mov eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.1004da60
call fcn.100a7d80
lea ecx, [esi + esi*2]
mov dword [ebp - 0x40], eax
mov edx, edi
lea esi, [eax + ecx*8]
mov eax, 0x88888889
imul ecx, esi, 0xe10
sub edx, ecx
mov ecx, 0x3c
mul edx
shr edx, 5
mov eax, edx
xor edx, edx
div ecx
mov ecx, edx
call fcn.1004da60
call fcn.100a7d80
mov ecx, esi
mov dword [ebp - 0x44], eax
shl ecx, 4
sub ecx, esi
lea ecx, [eax + ecx*4]
mov edx, ecx
shl edx, 4
sub edx, ecx
mov ecx, 0x3c
shl edx, 2
sub edi, edx
xor edx, edx
mov eax, edi
div ecx
mov ecx, edx
call fcn.1004da60
call fcn.100a7d80
mov edi, eax
mov esi, 0x100beb9c
mov eax, dword [ebp - 0x38]
mov edx, 0x100b68a3
test eax, eax
je 0x1007fc5e
cmp eax, 0xa
mov byte [ebp - 0x2e], 0
push eax
mov ecx, esi
mov byte [ebp - 0x2e], 0
cmovae ecx, edx
mov al, 0xc
push ecx
mov dh, 0x29
mov dl, al
mov cl, 0x5a
mov byte [ebp - 0x34], dh
mov ah, 0x5c
mov ch, 0x13
xor al, dh
xor cl, dh
xor ah, dh
mov byte [ebp - 0x32], cl
xor ch, dh
mov byte [ebp - 0x33], al
xor dl, dh
mov byte [ebp - 0x2f], ch
sub esp, 0x18
mov byte [ebp - 0x31], dl
mov edx, esp
mov byte [ebp - 0x30], ah
lea ecx, [ebp - 0x33]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x38], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007fbe6
sub ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x60]
push eax
call fcn.10005dd0
add esp, 0x24
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1007fc17
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1007fc59
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007fc4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008008b
push ecx
push edx
call fcn.100859f6
add esp, 8
mov edx, 0x100b68a3
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x1007fd3a
cmp ecx, 0xa
mov byte [ebp - 0x2e], 0
push ecx
mov eax, esi
mov byte [ebp - 0x2e], 0
cmovae eax, edx
mov cl, 0x79
push eax
mov dh, 0xa
mov al, 0x2f
mov dl, al
mov byte [ebp - 0x34], dh
mov ah, 0x7f
mov ch, 0x30
xor al, dh
xor cl, dh
xor ah, dh
mov byte [ebp - 0x32], cl
xor ch, dh
mov byte [ebp - 0x33], al
xor dl, dh
mov byte [ebp - 0x2f], ch
sub esp, 0x18
mov byte [ebp - 0x31], dl
mov edx, esp
mov byte [ebp - 0x30], ah
lea ecx, [ebp - 0x33]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007fcc5
sub ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x60]
push eax
call fcn.10005dd0
add esp, 0x24
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1007fcf6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1007fd49
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007fd2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10080090
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1007fd49
push 3
push 0x100beba0
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1007fe2a
push ecx
cmp ecx, 0xa
mov byte [ebp - 0x2e], 0
mov ecx, 0x100b68a3
mov byte [ebp - 0x2e], 0
mov eax, esi
mov dh, 0xe
cmovae eax, ecx
mov byte [ebp - 0x34], dh
push eax
mov al, 0x2b
mov cl, 0x7d
mov dl, al
mov ah, 0x7b
mov ch, 0x34
xor al, dh
xor cl, dh
mov byte [ebp - 0x33], al
xor ah, dh
mov byte [ebp - 0x32], cl
xor ch, dh
mov byte [ebp - 0x30], ah
xor dl, dh
mov byte [ebp - 0x2f], ch
sub esp, 0x18
mov byte [ebp - 0x31], dl
mov edx, esp
lea ecx, [ebp - 0x33]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x44], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007fdb5
sub ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x60]
push eax
call fcn.10005dd0
add esp, 0x24
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1007fde6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1007fe39
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007fe1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10080095
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1007fe39
push 3
push 0x100beba0
lea ecx, [ebp - 0x2c]
call fcn.1000b210
test edi, edi
je 0x1007ff0a
cmp edi, 0xa
mov byte [ebp - 0x3b], 0
mov eax, 0x100b68a3
mov byte [ebp - 0x3b], 0
cmovae esi, eax
mov ch, 0x45
mov al, 0x60
mov byte [ebp - 0x40], ch
push edi
mov dl, al
mov cl, 0x36
xor dl, ch
mov ah, 0x30
push esi
xor al, ch
mov byte [ebp - 0x3d], dl
xor cl, ch
mov byte [ebp - 0x3f], al
xor ah, ch
mov byte [ebp - 0x3e], cl
sub esp, 0x18
mov byte [ebp - 0x3c], ah
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007fe96
sub ecx, esi
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x60]
push eax
call fcn.10005dd0
add esp, 0x24
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1007fec6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000b210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1007ff19
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007fefe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008009a
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1007ff19
push 2
push 0x100beba4
lea ecx, [ebp - 0x2c]
call fcn.1000b210
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
cmova edx, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007ff40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.10002620
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x60]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1007ffec
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007ffec
cmp dword [ebp - 0x4c], 0xf
lea ecx, [ebp - 0x60]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007ff85
sub ecx, edx
mov dword [ebp - 0x38], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10087b80
add esp, 0xc
lea edx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x60]
push dword [ebp - 0x38]
push edx
push esi
call fcn.10087600
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100bd660]
push edi
call fcn.10085d1e
mov esi, dword [ebp - 0x60]
add esp, 4
mov eax, dword [ebp - 0x4c]
cmp eax, 0xf
jbe 0x1008001f
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10080015
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008009f
push ecx
push esi
call fcn.100859f6
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1008006d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10080045
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008009f
push ecx
push edx
call fcn.100859f6
add esp, 8
jmp 0x1008006d
mov esi, dword [esi]
test esi, esi
je 0x1008006d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1008006d
push eax
mov ecx, esi
call dword [0x100bd600]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
call fcn.1008ac0f
int3