Function at 0x6f338c
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 0x6f34cc
mov eax, dword [esp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x6f33d1
mov eax, dword [esp + 0xc]
mov byte [edi], al
jmp 0x6f33d1
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 0x6f34cc
mov dword [esp + 8], edx
mov ecx, 0xa
jmp 0x6f3427
mov dword [esp + 8], edx
mov ecx, ebp
jmp 0x6f3427
mov dword [esp + 8], edx
xor ecx, ecx
jmp 0x6f3427
mov dword [esp + 8], edx
mov ecx, 8
jmp 0x6f3427
mov dword [esp + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
sar edx, 0x1f
jmp 0x6f3474
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.006f3dd8
add esp, 0x20
mov ecx, dword [esp + 0x28]
test ecx, ecx
js 0x6f3cf4
je case.0x6f3518.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 0x6f34cc
mov edi, dword [esp + 0x1c]
mov edi, dword [edi]
test al, 8
jne 0x6f33b7
test al, 4
jne 0x6f34b7
test al, 0x40
jne 0x6f33c2
test al, 2
jne 0x6f33ca
mov eax, dword [esp + 0xc]
mov dword [edi], eax
jmp 0x6f33d1
mov edx, dword [esp + 8]
jmp 0x6f3c3c
test al, al
js case.0x6f3518.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 + 0x7257bc]
add ecx, 0xfffffffe
cmp ecx, 0x16
ja case.0x6f3518.3
jmp dword [ecx*4 + 0x6f3d5c]
movzx eax, byte [esi - 1]
mov ecx, eax
add cl, 0xcf
cmp cl, 7
ja case.0x6f3530.206
movzx ecx, cl
jmp dword [ecx*4 + 0x6f3db8]
cmp byte [esi], 0x36
jne 0x6f34fc
mov eax, dword [esp + 4]
and eax, 0xffffffb1
or eax, 2
jmp 0x6f357b
cmp byte [esi], 0x32
jne 0x6f34fc
mov eax, dword [esp + 4]
and eax, 0xffffffb1
or eax, 4
jmp 0x6f357b
cmp byte [esi], 0x34
jne 0x6f34fc
mov eax, dword [esp + 4]
and eax, 0xffffffb1
or eax, 8
mov dword [esp + 4], eax
inc esi
jmp 0x6f361a
dec esi
jmp 0x6f361d
mov eax, dword [esp + 4]
and eax, 0xffffffb1
or eax, 0x40
mov dword [esp + 4], eax
jmp 0x6f361a
or dword [esp + 4], 1
jmp 0x6f3619
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 0x6f3619
mov eax, dword [esp + 4]
and eax, 0xfffffff3
or eax, 8
mov dword [esp + 4], eax
jmp 0x6f3619
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 0x6f3619
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 0x6f361d
and dword [esp + 4], 0xffffffdf
jmp 0x6f3619
or dword [esp + 4], 0x20
dec esi
movzx eax, byte [esi]
inc esi
test al, al
jns 0x6f34fc
jmp case.0x6f3518.2
mov dword [esp + 0x24], 1
mov ebx, dword [esp + 4]
test bl, 4
jne 0x6f364f
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 0x6f3669
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 0x6f3701
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 0x6f3cf4
cmp dword [esp + 4], 0
jne 0x6f36f5
cmp dword [esp + 0x24], 0
je 0x6f36ea
mov dword [esp + 8], edx
sub esp, 4
push dword [0x725e88]
mov ebx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x2e]
push eax
call fcn.006fb0e0
add esp, 0x10
test eax, eax
jle 0x6f36e2
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 0x6f36f7
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 0x6f3682
dec esi
mov eax, dword [esp + 4]
xor eax, 1
add dword [esp + 0x10], eax
jmp 0x6f3c3c
mov dword [esp + 8], 1
mov ecx, dword [esp + 4]
test cl, 4
jne 0x6f3734
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 0x6f3cf4
movsx eax, cl
test al, al
js 0x6f376b
and eax, 0x7f
cmp byte [eax + 0x7257bc], 1
je 0x6f3735
mov edx, dword [esp + 4]
test dl, 1
jne 0x6f3789
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 0x6f37f5
cmp dword [esp + 8], 0
je 0x6f37e4
mov word [esp + 0x2e], 0
mov byte [esp + 0x2e], cl
sub esp, 4
push dword [0x725e88]
push edi
lea eax, [esp + 0x2e]
push eax
call fcn.006fb0e0
add esp, 0x10
test eax, eax
jle 0x6f37f1
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
add ecx, 2
mov dword [esp + 0x14], ecx
jmp 0x6f37f5
mov eax, dword [esp + 0x14]
mov byte [eax], cl
inc eax
mov dword [esp + 0x14], eax
jmp 0x6f37f5
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 0x6f3ac9
test cl, cl
mov edx, dword [esp + 4]
je 0x6f3ad2
movsx eax, cl
test al, al
js 0x6f383b
and eax, 0x7f
cmp byte [eax + 0x7257bc], 1
je 0x6f3ad2
mov eax, ebx
dec eax
mov ebx, eax
cmp eax, 1
jg 0x6f379d
jmp 0x6f3ad2
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.006fbeb0
add esp, 0x20
mov eax, dword [esp + 0x28]
test eax, eax
js 0x6f3cf4
je case.0x6f3518.2
mov eax, dword [esp + 4]
test al, 1
jne 0x6f3a06
sub esp, 4
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
lea eax, [esp + 0x5e]
push eax
call fcn.006fbeb6
add esp, 0x10
jmp 0x6f3b99
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 0x6f391f
mov cl, byte [esi]
inc esi
mov dword [esp + 0x24], 1
test cl, cl
je case.0x6f3518.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 0x6f3963
cmp dl, 0x5d
je 0x6f3a10
mov edi, esi
jmp 0x6f39b0
mov dl, byte [esi]
cmp ch, dl
mov cl, 0x2d
jge 0x6f392b
cmp dl, 0x5d
je 0x6f392b
add edi, 2
mov cl, ch
inc cl
cmp cl, dl
jge 0x6f39b0
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 0x6f398c
test dl, dl
mov ecx, edx
mov esi, edi
jne 0x6f392b
jmp case.0x6f3518.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.006f3dd8
add esp, 0x20
cmp dword [esp + 0x28], 0
jle case.0x6f3518.2
test byte [esp + 4], 1
je 0x6f3b91
dec esi
mov ecx, ebp
mov edx, ebx
jmp 0x6f3c3c
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 0x6f3a3b
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 0x6f3b83
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 0x6f3b21
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 0x6f3b28
test byte [esp + 4], 1
jne 0x6f3ab2
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 0x6f3a50
neg ebx
jmp 0x6f3b50
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 0x6f3c3c
cmp dword [esp + 8], 0
je 0x6f3b15
mov eax, dword [esp + 0x14]
mov word [eax], 0
jmp 0x6f3c3c
mov eax, dword [esp + 0x14]
mov byte [eax], 0
jmp 0x6f3c3c
mov eax, 0xffffffff
jmp 0x6f3b2c
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 0x6f3b7f
and edx, 1
mov edx, dword [esp + 8]
jne 0x6f3b83
mov byte [eax], 0
inc eax
mov dword [esp + 0x14], eax
inc dword [esp + 0x10]
cmp edx, 0xffffffff
jne 0x6f3c3c
jmp 0x6f3cf4
mov edx, dword [esp + 8]
cmp edx, 0xffffffff
jne 0x6f3c3c
jmp 0x6f3cf4
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [ecx], eax
add dword [esp + 0x1c], 4
inc dword [esp + 0x10]
jmp 0x6f3a06
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 0x6f3c3c
movsx eax, dl
cmp eax, edi
mov ecx, ebp
jne 0x6f3d19
movzx eax, dl
test byte [eax + 0x730ba9], 4
je 0x6f3c3c
cmp byte [esi], 0
je 0x6f3c3c
sub esp, 0xc
push dword [esp + 0x84]
call dword [esp + 0x80]
add esp, 0x10
mov edx, eax
cmp edx, 0xffffffff
je 0x6f3cf4
movsx eax, dl
movsx ecx, byte [esi]
cmp eax, ecx
jne 0x6f3d3a
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 0x6f3c5c
test bl, bl
mov ecx, dword [esp + 0x70]
je case.0x6f3518.2
inc esi
jmp 0x6f3c70
mov al, byte [esi + 1]
add esi, 2
mov bl, 0x25
cmp al, 0x25
mov ecx, dword [esp + 0x70]
jne 0x6f34d5
inc dword [esp + 0x18]
sub esp, 0xc
push dword [esp + 0x84]
call ecx
add esp, 0x10
mov edx, eax
cmp edx, 0xffffffff
je 0x6f3cf4
movsx edi, bl
test bl, bl
js 0x6f3bdc
mov eax, edi
and eax, 0x7f
cmp byte [eax + 0x7257bc], 1
jne 0x6f3bdc
movsx eax, dl
test al, al
mov edi, dword [esp + 0x70]
js 0x6f3bac
nop word [eax + eax]
mov ecx, eax
and ecx, 0x7f
cmp byte [ecx + 0x7257bc], 1
jne 0x6f3bac
inc dword [esp + 0x18]
sub esp, 0xc
push dword [esp + 0x84]
call edi
add esp, 0x10
mov edx, eax
cmp edx, 0xffffffff
je 0x6f3cf4
movsx eax, dl
test al, al
jns 0x6f3cbc
jmp 0x6f3bac
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 0x6f3d32
mov eax, 0xffffffff
jmp 0x6f3d32
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 0x6f3d2b