Function at 0x56956c
Capabilities:
Authenticate hmac

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
jmp 0x5696ac
mov eax, dword [esp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x5695b1
mov eax, dword [esp + 0xc]
mov byte [edi], al
jmp 0x5695b1
mov eax, dword [esp + 0xc]
mov word [edi], ax
add dword [esp + 0x1c], 4
xor eax, eax
cmp bl, 0x6e
setne al
add dword [esp + 0x10], eax
jmp 0x5696ac
mov dword [esp + 8], edx
mov ecx, 0xa
jmp 0x569607
mov dword [esp + 8], edx
mov ecx, ebp
jmp 0x569607
mov dword [esp + 8], edx
xor ecx, ecx
jmp 0x569607
mov dword [esp + 8], edx
mov ecx, 8
jmp 0x569607
mov dword [esp + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
sar edx, 0x1f
jmp 0x569654
mov dword [esp + 8], edx
mov ecx, 0x10
mov edx, dword [esp + 0xc]
and edx, 0x7fff
push 1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push edx
mov ebp, ecx
push ecx
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.0056a2f0
add esp, 0x20
mov ecx, dword [esp + 0x28]
test ecx, ecx
js 0x569ed4
je case.0x5696f8.2
mov dword [esp + 0xc], eax
mov ecx, ebx
add cl, 0xbf
mov edi, dword [esp + 4]
mov eax, edi
or eax, 4
cmp cl, 0x19
cmova eax, edi
cmp bl, 0x58
cmove eax, edi
dec esi
test al, 1
mov ecx, ebp
jne 0x5696ac
mov edi, dword [esp + 0x1c]
mov edi, dword [edi]
test al, 8
jne 0x569597
test al, 4
jne 0x569697
test al, 0x40
jne 0x5695a2
test al, 2
jne 0x5695aa
mov eax, dword [esp + 0xc]
mov dword [edi], eax
jmp 0x5695b1
mov edx, dword [esp + 8]
jmp 0x569e1c
test al, al
js case.0x5696f8.2
mov dword [esp + 4], 0x20
mov dword [esp + 0xc], 0xffffffff
nop word cs:[eax + eax]
inc esi
movsx ebx, al
mov eax, ebx
and eax, 0x7f
movsx ecx, byte [eax + 0x58ddf0]
add ecx, 0xfffffffe
cmp ecx, 0x16
ja case.0x5696f8.3
jmp dword [ecx*4 + 0x569f3c]
movzx eax, byte [esi - 1]
mov ecx, eax
add cl, 0xcf
cmp cl, 7
ja case.0x569710.206
movzx ecx, cl
jmp dword [ecx*4 + 0x569f98]
cmp byte [esi], 0x36
jne 0x5696dc
mov eax, dword [esp + 4]
and eax, 0xffffffb1
or eax, 2
jmp 0x56975b
cmp byte [esi], 0x32
jne 0x5696dc
mov eax, dword [esp + 4]
and eax, 0xffffffb1
or eax, 4
jmp 0x56975b
cmp byte [esi], 0x34
jne 0x5696dc
mov eax, dword [esp + 4]
and eax, 0xffffffb1
or eax, 8
mov dword [esp + 4], eax
inc esi
jmp 0x5697fa
dec esi
jmp 0x5697fd
mov eax, dword [esp + 4]
and eax, 0xffffffb1
or eax, 0x40
mov dword [esp + 4], eax
jmp 0x5697fa
or dword [esp + 4], 1
jmp 0x5697f9
mov ecx, dword [esp + 0xc]
lea eax, [ecx + ecx]
test ecx, ecx
lea eax, [eax + eax*4]
mov ecx, 0
cmovs eax, ecx
lea eax, [ebx + eax - 0x30]
mov dword [esp + 0xc], eax
jmp 0x5697f9
mov eax, dword [esp + 4]
and eax, 0xfffffff3
or eax, 8
mov dword [esp + 4], eax
jmp 0x5697f9
mov ebx, dword [esp + 4]
test bl, 2
mov eax, 0x40
mov ecx, 2
cmove eax, ecx
or ebx, eax
mov dword [esp + 4], ebx
jmp 0x5697f9
mov ebx, dword [esp + 4]
mov eax, ebx
and eax, 0xfffffff3
or eax, 8
mov ecx, ebx
or ecx, 4
test bl, 0xc
cmovne ecx, eax
dec esi
movzx eax, byte [esi]
mov dword [esp + 4], ecx
jmp 0x5697fd
and dword [esp + 4], 0xffffffdf
jmp 0x5697f9
or dword [esp + 4], 0x20
dec esi
movzx eax, byte [esi]
inc esi
test al, al
jns 0x5696dc
jmp case.0x5696f8.2
mov dword [esp + 0x24], 1
mov ebx, dword [esp + 4]
test bl, 4
jne 0x56982f
mov edi, ebx
and edi, 2
xor eax, 0x43
xor ecx, ecx
or eax, edi
sete cl
mov dword [esp + 0x24], ecx
and ebx, 1
mov dword [esp + 4], ebx
jne 0x569849
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
add ecx, 4
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0xc]
test edi, edi
mov eax, 1
cmovs edi, eax
test edi, edi
mov ecx, ebp
je 0x5698e1
inc edi
inc dword [esp + 0x18]
sub esp, 0xc
push dword [esp + 0x84]
call dword [esp + 0x80]
add esp, 0x10
mov edx, eax
cmp edx, 0xffffffff
je 0x569ed4
cmp dword [esp + 4], 0
jne 0x5698d5
cmp dword [esp + 0x24], 0
je 0x5698ca
mov dword [esp + 8], edx
sub esp, 4
push dword [0x58e418]
mov ebx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x2e]
push eax
call fcn.00570d60
add esp, 0x10
test eax, eax
jle 0x5698c2
movzx eax, byte [esp + 0x22]
mov byte [ebx], al
inc ebx
mov dword [esp + 0x14], ebx
mov ecx, ebp
mov edx, dword [esp + 8]
jmp 0x5698d7
mov eax, dword [esp + 0x14]
mov byte [eax], dl
inc eax
mov dword [esp + 0x14], eax
mov ecx, ebp
mov eax, edi
dec eax
mov edi, eax
cmp eax, 1
jg 0x569862
dec esi
mov eax, dword [esp + 4]
xor eax, 1
add dword [esp + 0x10], eax
jmp 0x569e1c
mov dword [esp + 8], 1
mov ecx, dword [esp + 4]
test cl, 4
jne 0x569914
and ecx, 2
xor eax, 0x53
xor edx, edx
or eax, ecx
sete dl
mov dword [esp + 8], edx
dec esi
inc dword [esp + 0x18]
sub esp, 0xc
push dword [esp + 0x84]
call dword [esp + 0x80]
add esp, 0x10
mov ecx, eax
cmp ecx, 0xffffffff
je 0x569ed4
movsx eax, cl
test al, al
js 0x56994b
and eax, 0x7f
cmp byte [eax + 0x58ddf0], 1
je 0x569915
mov edx, dword [esp + 4]
test dl, 1
jne 0x569969
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
add edi, 4
mov dword [esp + 0x1c], edi
inc dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
cmp ebx, 0xffffffff
mov eax, 0x7fff
cmove ebx, eax
inc ebx
lea edi, [esp + 0x2e]
test dl, 1
jne 0x5699d5
cmp dword [esp + 8], 0
je 0x5699c4
mov word [esp + 0x2e], 0
mov byte [esp + 0x2e], cl
sub esp, 4
push dword [0x58e418]
push edi
lea eax, [esp + 0x2e]
push eax
call fcn.00570d60
add esp, 0x10
test eax, eax
jle 0x5699d1
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
add ecx, 2
mov dword [esp + 0x14], ecx
jmp 0x5699d5
mov eax, dword [esp + 0x14]
mov byte [eax], cl
inc eax
mov dword [esp + 0x14], eax
jmp 0x5699d5
dec dword [esp + 0x18]
inc dword [esp + 0x18]
sub esp, 0xc
push dword [esp + 0x84]
call dword [esp + 0x80]
add esp, 0x10
mov ecx, eax
cmp ecx, 0xffffffff
je 0x569ca9
test cl, cl
mov edx, dword [esp + 4]
je 0x569cb2
movsx eax, cl
test al, al
js 0x569a1b
and eax, 0x7f
cmp byte [eax + 0x58ddf0], 1
je 0x569cb2
mov eax, ebx
dec eax
mov ebx, eax
cmp eax, 1
jg 0x56997d
jmp 0x569cb2
mov ebx, edx
mov ecx, dword [esp + 0xc]
and ecx, 0x7fff
sub esp, 4
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push ecx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
lea eax, [esp + 0x6e]
push eax
call fcn.00571b30
add esp, 0x20
mov eax, dword [esp + 0x28]
test eax, eax
js 0x569ed4
je case.0x5696f8.2
mov eax, dword [esp + 4]
test al, 1
jne 0x569be6
sub esp, 4
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
lea eax, [esp + 0x5e]
push eax
call fcn.00571b36
add esp, 0x10
jmp 0x569d79
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov cl, byte [esi - 1]
mov dword [esp + 0x24], 0
cmp cl, 0x5e
jne 0x569aff
mov cl, byte [esi]
inc esi
mov dword [esp + 0x24], 1
test cl, cl
je case.0x5696f8.2
mov dword [esp + 8], edx
mov edi, esi
mov ch, cl
mov dl, ch
shr dl, 3
and cl, 7
mov esi, 1
shl esi, cl
movzx edx, dl
movzx ebx, byte [esp + edx + 0x30]
or ebx, esi
mov byte [esp + edx + 0x30], bl
lea esi, [edi + 1]
mov dl, byte [edi]
cmp dl, 0x2d
je 0x569b43
cmp dl, 0x5d
je 0x569bf0
mov edi, esi
jmp 0x569b90
mov dl, byte [esi]
cmp ch, dl
mov cl, 0x2d
jge 0x569b0b
cmp dl, 0x5d
je 0x569b0b
add edi, 2
mov cl, ch
inc cl
cmp cl, dl
jge 0x569b90
movsx ebx, ch
inc ebx
mov dh, dl
dec dh
sub dh, ch
nop dword [eax]
mov ecx, ebx
and cl, 7
mov esi, 1
shl esi, cl
mov ecx, ebx
shr ecx, 3
and ecx, 0x1f
movzx eax, byte [esp + ecx + 0x30]
or eax, esi
mov byte [esp + ecx + 0x30], al
inc ebx
dec dh
jne 0x569b6c
test dl, dl
mov ecx, edx
mov esi, edi
jne 0x569b0b
jmp case.0x5696f8.2
mov ebx, edx
push 1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push 8
push 0x10
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.0056a2f0
add esp, 0x20
cmp dword [esp + 0x28], 0
jle case.0x5696f8.2
test byte [esp + 4], 1
je 0x569d71
dec esi
mov ecx, ebp
mov edx, ebx
jmp 0x569e1c
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
mov eax, 0x7fff
cmove ecx, eax
mov edi, ecx
test byte [esp + 4], 1
mov ecx, ebp
jne 0x569c1b
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
add edx, 4
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 8]
test edi, edi
jle 0x569d63
inc edi
xor ebx, ebx
mov edx, edi
mov dword [esp + 0xc], edx
inc dword [esp + 0x18]
sub esp, 0xc
push dword [esp + 0x84]
call dword [esp + 0x80]
add esp, 0x10
cmp eax, 0xffffffff
je 0x569d01
mov ecx, eax
shr ecx, 3
and ecx, 0x1f
movsx edi, byte [esp + ecx + 0x30]
mov dword [esp + 8], eax
mov ecx, eax
and cl, 7
movzx ecx, cl
xor edx, edx
bt edi, ecx
setb dl
cmp dword [esp + 0x24], edx
je 0x569d08
test byte [esp + 4], 1
jne 0x569c92
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov byte [eax], cl
inc eax
mov dword [esp + 0x14], eax
mov ecx, ebp
mov edx, dword [esp + 0xc]
lea eax, [edx + ebx - 1]
dec ebx
cmp eax, 1
jg 0x569c30
neg ebx
jmp 0x569d30
mov ecx, 0xffffffff
mov edx, dword [esp + 4]
movsx eax, cl
sub esp, 8
push dword [esp + 0x80]
push eax
mov ebx, ecx
mov edi, edx
call dword [esp + 0x84]
mov edx, ebx
add esp, 0x10
dec dword [esp + 0x18]
mov eax, edi
test al, 1
mov ecx, ebp
jne 0x569e1c
cmp dword [esp + 8], 0
je 0x569cf5
mov eax, dword [esp + 0x14]
mov word [eax], 0
jmp 0x569e1c
mov eax, dword [esp + 0x14]
mov byte [eax], 0
jmp 0x569e1c
mov eax, 0xffffffff
jmp 0x569d0c
mov eax, dword [esp + 8]
mov dword [esp + 8], eax
movsx eax, al
sub esp, 8
push dword [esp + 0x80]
push eax
call dword [esp + 0x84]
add esp, 0x10
dec dword [esp + 0x18]
neg ebx
mov ecx, ebp
test ebx, ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 4]
je 0x569d5f
and edx, 1
mov edx, dword [esp + 8]
jne 0x569d63
mov byte [eax], 0
inc eax
mov dword [esp + 0x14], eax
inc dword [esp + 0x10]
cmp edx, 0xffffffff
jne 0x569e1c
jmp 0x569ed4
mov edx, dword [esp + 8]
cmp edx, 0xffffffff
jne 0x569e1c
jmp 0x569ed4
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [ecx], eax
add dword [esp + 0x1c], 4
inc dword [esp + 0x10]
jmp 0x569be6
sub esp, 8
push dword [esp + 0x80]
push eax
mov edi, edx
call dword [esp + 0x84]
mov edx, edi
add esp, 0x10
dec dword [esp + 0x18]
mov ecx, ebp
jmp 0x569e1c
movsx eax, dl
cmp eax, edi
mov ecx, ebp
jne 0x569ef9
movzx eax, dl
test byte [eax + 0x59a975], 4
je 0x569e1c
cmp byte [esi], 0
je 0x569e1c
sub esp, 0xc
push dword [esp + 0x84]
call dword [esp + 0x80]
add esp, 0x10
mov edx, eax
cmp edx, 0xffffffff
je 0x569ed4
movsx eax, dl
movsx ecx, byte [esi]
cmp eax, ecx
jne 0x569f1a
inc esi
inc dword [esp + 0x18]
mov ecx, ebp
nop word cs:[eax + eax]
mov ebp, ecx
mov bl, byte [esi]
cmp bl, 0x25
je 0x569e3c
test bl, bl
mov ecx, dword [esp + 0x70]
je case.0x5696f8.2
inc esi
jmp 0x569e50
mov al, byte [esi + 1]
add esi, 2
mov bl, 0x25
cmp al, 0x25
mov ecx, dword [esp + 0x70]
jne 0x5696b5
inc dword [esp + 0x18]
sub esp, 0xc
push dword [esp + 0x84]
call ecx
add esp, 0x10
mov edx, eax
cmp edx, 0xffffffff
je 0x569ed4
movsx edi, bl
test bl, bl
js 0x569dbc
mov eax, edi
and eax, 0x7f
cmp byte [eax + 0x58ddf0], 1
jne 0x569dbc
movsx eax, dl
test al, al
mov edi, dword [esp + 0x70]
js 0x569d8c
nop word [eax + eax]
mov ecx, eax
and ecx, 0x7f
cmp byte [ecx + 0x58ddf0], 1
jne 0x569d8c
inc dword [esp + 0x18]
sub esp, 0xc
push dword [esp + 0x84]
call edi
add esp, 0x10
mov edx, eax
cmp edx, 0xffffffff
je 0x569ed4
movsx eax, dl
test al, al
jns 0x569e9c
jmp 0x569d8c
sub esp, 8
push dword [esp + 0x80]
push 0xffffffffffffffff
call dword [esp + 0x84]
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x569f12
mov eax, 0xffffffff
jmp 0x569f12
sub esp, 8
push dword [esp + 0x80]
push eax
call dword [esp + 0x84]
add esp, 0x10
mov eax, dword [esp + 0x10]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 8
mov ecx, dword [esp + 0x80]
mov ebx, ecx
push ebx
push eax
mov eax, dword [esp + 0x84]
mov esi, eax
call esi
add esp, 8
push ebx
push edi
call esi
jmp 0x569f0b