Function at 0x10042e4b
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.10037b89
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.10042774
cmp eax, 1
je 0x10042fd4
push dword [ebp + 8]
call fcn.100426ad
cmp eax, 0
jne 0x10042fd4
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.1003cbea
cmp eax, 0
je 0x10042f79
push 0
or dword [esp], ebx
call fcn.1004224c
cmp eax, 0xfc
jae 0x10042fe7
push ebx
call fcn.10042644
cmp eax, 0
je 0x10042f79
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x990]
push eax
push 0xffffffffffffffff
and dword [esp], ebx
call fcn.1004233b
cmp eax, 0
je 0x10042f79
cmp dword [ebp - 0x10], 1
je 0x1004333b
cmp dword [ebp - 0x10], 2
je 0x10043637
lea eax, [ebp - 0x67c]
push 0xffffffffffffffff
add esp, 0xfffffffc
mov dword [esp], eax
call fcn.1003d226
lea eax, [ebp - 0x990]
cmp dword [eax], 0
je 0x10042fad
push eax
push 0x56011b4
xor dword [esp], 0x8490e16b
call fcn.1003c4b8
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 0x10042fb2
lea eax, [ebp - 0x67c]
push 0xffffffffffffffff
push 0
add dword [esp], eax
call fcn.1003d226
lea eax, [2]
jmp 0x10042fb2
cmp dword [ebp - 8], 1
jne 0x10043014
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.10037108
mov ah, 0xfc
and al, 0xfc
sub ah, al
add byte [edi + 0x1ff], ah
push dword [ebx + 0xc]
push ebx
call fcn.1003d226
lea ebx, [ebp - 0x88c]
push 0xffffffffffffffff
and dword [esp], ebx
call fcn.10042549
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.1003c4b8
cmp eax, 0
je 0x100430c3
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.1003c4b8
cmp eax, 5
jne 0x10043185
lea esi, [ebp - 0x788]
sub esp, 4
mov dword [esp], esi
push 0x104
lea esp, [esp - 4]
mov dword [esp], 0xc80715ce
call fcn.1003c4b8
cmp eax, 0
je 0x1004310d
or ecx, 0xffffffff
inc ecx
not ecx
and ecx, 0xf4
inc esi
cmp byte [esi], 0x3a
je 0x100432dc
dec ecx
jne 0x100430fc
push 0xffffffffffffffff
call fcn.100377c2
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.1003c4b8
lea eax, [ebp - 0x990]
push 3
push dword [ebp + 8]
push eax
push 0x3a7a7478
call fcn.1003c4b8
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.1003c4b8
cmp eax, 0
je 0x100431f7
push ebx
push 0x81f0f0df
call fcn.1003c4b8
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.1003c4b8
cmp eax, 0
je 0x100432d1
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.1003c4b8
cmp eax, 0xffffffff
je 0x100432c1
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.1003c4b8
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.1003c4b8
push dword [esi + 0x58]
push dword [ebp + 8]
push 0x4d5587b7
call fcn.1003c4b8
lea eax, [1]
jmp 0x10042fb2
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.1003c4b8
cmp eax, 0
jne 0x10043129
or eax, 0xffffffff
not eax
xor eax, 0
jmp 0x10042fb2
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 0x1004339b
mov eax, 0x7fe3449c
mov dword [ebp - 8], 1
cmp dword [0x7fe45c57], 0
je 0x10042f79
cmp dword [ebp - 4], 0xc5d89562
jne 0x1004339b
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.10041e3e
cmp eax, 0
je 0x10042f79
push dword [ebp - 0x1ec]
push dword [ebx + 8]
call fcn.1003d7fd
shr eax, 0xf
add eax, 0xa
cmp eax, 0xc0
jbe 0x100433f1
or eax, 0xffffffff
not eax
or eax, 0xc0
and dword [ebp - 0x20], eax
or dword [ebp - 0x20], eax
push 0x65
call fcn.100377c2
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.10042882
cmp eax, 0
je 0x10043475
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.10042150
mov dword [ebp - 0x14], eax
dec dword [ebp - 0x20]
jne 0x10043410
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1e0]
je 0x1004354a
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xffffffff
push dword [ebp - 0x1e0]
call fcn.10041dc0
cmp dword [ebp - 8], 1
jne 0x100434be
mov eax, dword [ebp - 0x1f0]
or dword [eax + 0x24], 0xa8000000
jmp 0x10043539
jmp 0x1004352a
lea eax, [ebp - 0x1f0]
mov eax, dword [eax]
or dword [eax + 0x24], 0x20000000
jmp 0x10043004
jmp 0x10042f79
jmp 0x10042f79