Function at 0x1007fee5
Capabilities:
Authenticate hmac

Disassembly:
sub esp, 4
xchg dword [esp], ebp
xor ebp, ebp
sub ebp, 0xffffffff
neg ebp
sub esp, 0x46
and ebp, dword [esp + 0x46]
add esp, 0x4a
sub esp, 4
mov ebp, esp
sub esp, 0x990
sub esp, 0x60
mov dword [esp + 0x5c], edi
add esp, 0x5c
sub esp, 4
mov dword [esp], esi
sub esp, 0x36
xor dword [esp + 0x32], ebx
xor ebx, dword [esp + 0x32]
xor dword [esp + 0x32], ebx
mov ebx, dword [esp + 0x32]
add esp, 0x32
add esp, 0xfffffffc
mov dword [esp], ecx
push edx
push dword [ebp + 8]
call fcn.10074c23
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.1007f80e
cmp eax, 1
je 0x1008006e
push dword [ebp + 8]
call fcn.1007f747
cmp eax, 0
jne 0x1008006e
xor eax, edx
push dword [ebp + 0xc]
lea eax, [eax]
and eax, 0
xor eax, dword [esp]
add esp, 4
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x88c], 0
mov dword [ebp - 8], 0
lea ebx, [ebp - 0x67c]
push 0xffffffffffffffff
and dword [esp], ecx
mov ecx, 0xf5b161a3
xor ecx, 0x75b161a3
xchg dword [esp], ecx
push 0
xor dword [esp], ebx
push dword [ebp + 8]
call fcn.10079c84
cmp eax, 0
je 0x10080013
push 0
or dword [esp], ebx
call fcn.1007f2e6
cmp eax, 0xfc
jae 0x10080081
push ebx
call fcn.1007f6de
cmp eax, 0
je 0x10080013
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x990]
push eax
push 0xffffffffffffffff
and dword [esp], ebx
call fcn.1007f3d5
cmp eax, 0
je 0x10080013
cmp dword [ebp - 0x10], 1
je 0x100803d5
cmp dword [ebp - 0x10], 2
je 0x100806d1
lea eax, [ebp - 0x67c]
push 0xffffffffffffffff
add esp, 0xfffffffc
mov dword [esp], eax
call fcn.1007a2c0
lea eax, [ebp - 0x990]
cmp dword [eax], 0
je 0x10080047
push eax
push 0x56011b4
xor dword [esp], 0x8490e16b
call fcn.10079552
mov eax, 0
xor edx, edx
xor edx, 0xffffffff
and edx, dword [esp]
add esp, 4
pop ecx
mov ebx, dword [esp]
add esp, 4
mov esi, dword [esp]
add esp, 4
pop edi
leave
ret 8
shr eax, 5
shr eax, 0x1b
add eax, 0
jmp 0x1008004c
lea eax, [ebp - 0x67c]
push 0xffffffffffffffff
push 0
add dword [esp], eax
call fcn.1007a2c0
lea eax, [2]
jmp 0x1008004c
cmp dword [ebp - 8], 1
jne 0x100800ae
dec dword [0x7fe45c57]
mov edi, dword [ebx + 8]
add edi, dword [ebx + 0xc]
sub edi, 0x201
lea esp, [esp - 0x30]
mov dword [esp + 0x2c], 0x200
lea esp, [esp + 0x2c]
lea esp, [esp - 4]
mov dword [esp], edi
call fcn.100741a2
mov ah, 0xfc
and al, 0xfc
sub ah, al
add byte [edi + 0x1ff], ah
push dword [ebx + 0xc]
push ebx
call fcn.1007a2c0
lea ebx, [ebp - 0x88c]
push 0xffffffffffffffff
and dword [esp], ebx
call fcn.1007f5e3
push 3
sub esp, 4
xchg dword [esp], ebx
mov ebx, dword [esp]
push dword [ebp + 8]
lea esp, [esp - 4]
mov dword [esp], 0x3a7a7478
call fcn.10079552
cmp eax, 0
je 0x1008015d
lea esp, [esp - 4]
xchg dword [esp], edx
lea edx, [esi + edi*8 + 0x7f7a4aff]
or edx, 0xffffffff
inc edx
or edx, dword [esp]
add esp, 4
lea esp, [esp - 4]
mov edx, 0x4f0e5f25
add edx, 0xc3892207
xchg dword [esp], edx
call fcn.10079552
cmp eax, 5
jne 0x1008021f
lea esi, [ebp - 0x788]
sub esp, 4
mov dword [esp], esi
push 0x104
lea esp, [esp - 4]
mov dword [esp], 0xc80715ce
call fcn.10079552
cmp eax, 0
je 0x100801a7
or ecx, 0xffffffff
inc ecx
not ecx
and ecx, 0xf4
inc esi
cmp byte [esi], 0x3a
je 0x10080376
dec ecx
jne 0x10080196
push 0xffffffffffffffff
call fcn.1007485c
and eax, 0xf0f0f0f
add eax, 0x61616161
mov dword [ebx], eax
mov dword [ebx + 4], 0
push 3
lea esp, [esp - 0x1d]
mov dword [esp + 0x19], ebx
lea esp, [esp + 0x19]
push dword [ebp + 8]
lea esp, [esp - 4]
mov dword [esp], edi
push 0
add dword [esp], edx
or edx, 0xffffffff
inc edx
xor edx, 0xd29b8ec3
xchg dword [esp], edx
push 0
sub esp, 0x63
mov edi, dword [esp + 0x63]
add esp, 0x67
add edi, esp
sub edi, 0x30
mov edi, dword [edi + 0x1f]
or edi, 0xffffffff
inc edi
xor edi, dword [esp]
add esp, 4
sub edi, 0x98211a4b
xchg dword [esp], edi
call fcn.10079552
lea eax, [ebp - 0x990]
push 3
push dword [ebp + 8]
push eax
push 0x3a7a7478
call fcn.10079552
lea esp, [esp - 4]
xchg dword [esp], edi
mov edi, dword [esp]
sub edi, edi
sub edi, 0xa25e6e5d
neg edi
sub edi, 0xa25e6d5b
xchg dword [esp], edi
lea esp, [esp - 4]
xchg dword [esp], ebx
lea esp, [esp - 0x25]
xchg dword [esp + 0x25], ebx
mov dword [esp + 0x25], ebx
lea esp, [esp + 0x29]
lea esp, [esp - 4]
lea esp, [esp - 4]
mov dword [esp], 0x4d5587b7
call fcn.10079552
cmp eax, 0
je 0x10080291
push ebx
push 0x81f0f0df
call fcn.10079552
lea esi, [ebp - 0x67c]
lea esp, [esp - 0x45]
xchg dword [esp + 0x41], esi
mov esi, dword [esp + 0x41]
lea esp, [esp + 0x41]
or esi, 0xffffffff
inc esi
xor esi, 0x2a015c9b
add esi, 0xd5fea3e5
xchg dword [esp], esi
push dword [ebp + 8]
sub esp, 4
mov dword [esp], 0x4d5587b7
call fcn.10079552
cmp eax, 0
je 0x1008036b
push 0
push 0x80
push 3
push 0
push 0
push 0xffffffffffffffff
and dword [esp], ebx
shl ebx, 3
shl ebx, 0x1d
xor ebx, 0x180
xchg dword [esp], ebx
push dword [ebp + 8]
push 0x8f8
push 0xf114
call fcn.10079552
cmp eax, 0xffffffff
je 0x1008035b
push 0
xor edi, ecx
shr edi, 1
shr edi, 0x1f
or edi, dword [esp]
add esp, 4
or edi, eax
lea eax, [esi + 0x5c]
lea edx, [esi + 0x64]
lea ecx, [esi + 0x6c]
push ecx
push edx
push eax
push edi
push 0xae17c571
call fcn.10079552
sub esp, 4
xor dword [esp], edi
xor edi, dword [esp]
xor dword [esp], edi
mov edi, dword [esp]
push 0x855ded84
xor dword [esp], 0xf7635d51
call fcn.10079552
push dword [esi + 0x58]
push dword [ebp + 8]
push 0x4d5587b7
call fcn.10079552
lea eax, [1]
jmp 0x1008004c
mov dword [esi + 2], 0x79636552
mov dword [esi + 6], 0x64656c63
mov dword [esi + 0xa], 0
lea esi, [ebp - 0x788]
lea esp, [esp - 0x2e]
xchg dword [esp + 0x2a], ebx
mov ebx, dword [esp + 0x2a]
lea esp, [esp + 0x2a]
push 0
push 0
sub esp, 0x1e
mov dword [esp + 0x1a], esi
add esp, 0x1a
push 0xfa4f502
call fcn.10079552
cmp eax, 0
jne 0x100801c3
or eax, 0xffffffff
not eax
xor eax, 0
jmp 0x1008004c
xor eax, eax
xor eax, 0x7fe342d5
push ebx
lea esp, [esp - 0x4b]
mov dword [esp + 0x47], 0x60edb7a5
lea esp, [esp + 0x47]
xor dword [esp], 0x60edb781
add ebx, dword [esp]
lea esp, [esp + 4]
mov ecx, dword [ebx]
pop ebx
cmp word [ecx + 0x5c], 1
jne 0x10080435
mov eax, 0x7fe3449c
mov dword [ebp - 8], 1
cmp dword [0x7fe45c57], 0
je 0x10080013
cmp dword [ebp - 4], 0xc5d89562
jne 0x10080435
mov eax, 0x7fe34c38
sub eax, 0x7fe3134b
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1f0]
push 0
push 0
add dword [esp], eax
push 0xffffffffffffffff
and dword [esp], ebx
call fcn.1007eed8
cmp eax, 0
je 0x10080013
push dword [ebp - 0x1ec]
push dword [ebx + 8]
call fcn.1007a897
shr eax, 0xf
add eax, 0xa
cmp eax, 0xc0
jbe 0x1008048b
or eax, 0xffffffff
not eax
or eax, 0xc0
and dword [ebp - 0x20], eax
or dword [ebp - 0x20], eax
push 0x65
call fcn.1007485c
cmp eax, 0x32
shr eax, 7
shr eax, 0x19
or eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x684]
push 0x20
sub esp, 4
xchg dword [esp], ecx
lea esp, [esp - 0x4f]
mov ecx, dword [esp + 0x4f]
lea esp, [esp + 0x53]
sub esp, 4
push dword [ebp - 0x1ec]
push 0xffffffffffffffff
and dword [esp], ebx
push dword [ebp - 0x1d4]
call fcn.1007f91c
cmp eax, 0
je 0x1008050f
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x1e4]
lea esp, [esp - 4]
xchg dword [esp], edx
mov edx, dword [esp]
push dword [ebp - 0x14]
push eax
push ebx
call fcn.1007f1ea
mov dword [ebp - 0x14], eax
dec dword [ebp - 0x20]
jne 0x100804aa
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1e0]
je 0x100805e4
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xffffffff
push dword [ebp - 0x1e0]
call fcn.1007ee5a
cmp dword [ebp - 8], 1
jne 0x10080558
mov eax, dword [ebp - 0x1f0]
or dword [eax + 0x24], 0xa8000000
jmp 0x100805d3
jmp 0x100805c4
lea eax, [ebp - 0x1f0]
mov eax, dword [eax]
or dword [eax + 0x24], 0x20000000
jmp 0x1008009e
jmp 0x10080013
jmp 0x10080013